GoCarrot / teak-android

Carrot SDK for Android
Apache License 2.0
0 stars 0 forks source link

Add pushToken to getDeviceConfiguration() response #104

Closed AlexSc closed 1 year ago

AlexSc commented 2 years ago

See https://github.com/GoCarrot/teak-android/blob/a6a76f3959226a4706e3a5e8d6dc95c7e2f03b36/src/main/java/io/teak/sdk/Teak.java#L565

This is a bit tricky because the deviceConfiguration stores the push token in a Map in pushRegistration which will have either a gcm_push_key value or an adm_push_key value depending on push provider.