opened
RustyRyan98
username_0
Description:

One Signal User ID is returning NSCFString object instead of the value

Environment:

1. im using pod 'OneSignal', '>= 2.11.2', '< 3.0' 
2. I used CocoaPods but im writing the code in python using Kivy's pyobjus framework (There is no SDK for kivy)


Steps to Reproduce Issue:

  Example:

1. Im successfully initialised OneSignal and the Player ID is showing on the OneSignal Dashboard
2. When I type ```onesignal_object.getPermissionSubscriptionState().subscriptionStatus.userId```
3. it returns ```<importlib._bootstrap.__NSCFString object at 0x1293ced10>```
4. Although subscription status is True

I would appreciate any assistance, when I first initialised it returns the result of the OSRegisterUser and it shows success and returns 1 and I can see the userID there as the key "id" but when I try to print the userId it returns  ```<importlib._bootstrap.__NSCFString object at 0x1293ced10>``` and the same for pushToken.
OneSignal User ID is returning <importlib._bootstrap.__NSCFString object at 0x1293ced10> even when the subscribed status is returning True
issue
created
emawby
username_1
comment
closed
emawby
username_1
issue
created
emawby
username_1
Closing for now please let us know if this is still an issue
comment