Appboy / appboy-android-sdk

Public repo for the Braze Android SDK
https://www.braze.com
Other
152 stars 102 forks source link

[Bug]: getRegisteredPushToken() and setRegisteredPushToken() don't exist #249

Closed Odaym closed 2 years ago

Odaym commented 2 years ago

Braze Android SDK Version

23.3.0

Steps To Reproduce

Using Braze SDK (ui) 23.3.0, try to use Braze.setRegisteredPushToken() or Braze.getRegisteredPushToken(), these methods do not exist and they should exist based on the changelog for Braze SDK version 22.0.0 .\

They are supposed to replace AppBoy.getInstance().registerAppboyPushMessages() but they do not exist at all, only the property Braze. registeredPushToken exists.

Expected Behavior

These methods don't exist, not in 23.3.0 nor in 22.0.0 where the change was supposedly introduced.

Actual Incorrect Behavior

These methods should exist.

Verbose Logs

No response

Additional Information

No response

Bucimis commented 2 years ago

@Odaym are you using Kotlin? If so, use the property Braze.registeredPushToken (https://github.com/Appboy/appboy-android-sdk/blob/master/CHANGELOG.md#breaking-1)