Problems registering channels on android devices

Good morning.
We have a problem registering channels on Android. When registering, the method returns channel ID but when verifying the 
resulting json it appears with incomplete fields such as "push_address" : null with which the push notifications do
not reach the device. Example of the misregistered json.
The "push_address" field is empty
{ "ok": true, "channel": { "channel_id": "ecd7e07c-d667-4850-b439-79e4b0c46af9", "device_type": "android", "installed": true, "background": false, "push_address": null, "named_user_id": null, "alias": null, "tags": [], "tag_groups": { "ua_background_enabled": [ "false" ], "ua_mobile_platform": [ android ], "ua_opt_in": [ "false" ] }, "device_attributes": {}, "attributes": {}, "created": "2022-03-07T22:02:37", "opt_in": false, "last_registration": "2022-03-07T22:04:12" } } please could you help me? Thanks a lot

Didn't find what you were looking for?

New post

Comments

2 comments

  • Hi Nicolas,

    Thanks for reaching out to Airship Technical Support! Could you please share the following information in order for us to troubleshoot this issue further? 

     
    Please compare the code within your app's integration with our Airship SDK, to the one we have in our sample app. That should be a great way to start and make sure that everything is set up correctly.

    Comment actions Permalink
  • Common Problems with Registering Channels on Android Devices

    1. App Compatibility Issues

      • Some apps may not be compatible with certain Android versions or devices, preventing successful channel registration.
      • Solution: Ensure the app is updated to the latest version and that your Android device meets the app's minimum system requirements.
    2. Permission Restrictions

      • Apps may require permissions like notifications or access to certain services to register channels properly. If permissions are denied, registration may fail.
      • Solution: Go to Settings > Apps > [App Name] > Permissions and enable the required permissions.
    3. Network Connectivity Problems

      • Poor or unstable internet connectivity can interrupt the channel registration process.
      • Solution: Check your Wi-Fi or mobile data connection, and try registering again after stabilizing the network.
    4. Incorrect Login Credentials

      • Channels linked to accounts often require correct credentials. Errors in login information can cause registration issues.
      • Solution: Double-check your login details and nbi clearance login like reset passwords if necessary.
    Comment actions Permalink
    0

Please sign in to leave a comment.