Please use a physical device or a Google API/Google Play emulator to test them. Note: Push notifications are not supported in all emulators. See our troubleshooting documentation for more info. If you don't see a push token, there might be an error in the logs describing what happened. You can find your device's token using the debug tool or locating the token Batch posts to the logcat ( see here to know more): I/Batch: Push - Registration ID/Push Token (FCM): You should see the following logs: Batch () is running in dev mode (your API key is a dev one) Installation ID: Your first notification 1. Testing your integrationĬongratulations on finishing the bulk of the integration!Īfter deploying a build to your device or an Google Play enabled simulator, open the Logcat tab of Android Studio. To know when you should request the permission to your users, we recommend you to follow the android best practices. ≥ 1.19.2 This can be done using (context). Since Android 13, your app needs to request for the permission to display notifications. You might need to add the following in your adle: android Requesting the notification permission Using Batch might require you to enable Java 8 support through desugaring in your project. Simply add in your app's adle: implementation ':batch-sdk:1.19+'Įxact version numbers can be found in the changelog. Integrating the SDKīatch is compatible with Android 4.0.3 (API Level 15) and higher. This guide assumes that you've already followed the prerequisites.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |