2020-12-11 18:39:36.965 14746-14746/your.bundle E/RNFirebaseMsgReceiver: Background messages only work if the message priority is set to ‘high’ This is something you can find in your adb logcat output when sending a push notification (cloud message) and your app is in background. More specifically, the problem is mostly related to the idle status of your device. This … Continue Reading
Category
Programmazione
Exploring Firebase CLI with some Firestore tips
Introduction: Firebase CLI According to the github page of the firebase-tools project, the firebase cli can be used to: Deploy code and assets to your Firebase projects Run a local web server for your Firebase Hosting site Interact with data in your Firebase database Import/Export users into/from Firebase Auth The web console is fine for … Continue Reading
jQuery selects combination and submit
I had to help a friend solving a very common problem for, for example, booking websites. The example is basically the selection of options based on two <select>s elements: number of adults and number of children for a possible booking. So, what we are going to do is to create a very simple HTML with … Continue Reading
Remote Debugging Android Devices with VirtualBox through port forwarding
Introduction If you are developing a brand new project on your VirtualBox instance, it is very useful to use the developer tools and the device toolbar on Chrome (or the Responsive Design Mode on Safari). But is of course much more useful to perform real tests on real devices. The Remote Debugging Android Devices is a great opportunity for … Continue Reading
Setting a different receiver (payee) for PayPal payments using the PayPal PHP SDK with Express Checkout
Magento2 API: get product details by ID or URL key
So, you are using the Magento2 APIs and you need to access a product. The core API forces you to access product by its SKU: GET /V1/products/:sku Sometimes you need to access a product by its ID, or by its URL key. Let’s see how we can create two simple APIs to perform this task. First … Continue Reading