Description:
I'm getting pushToken null, when testing on real device in IOS
(your description here)
onIds = async (device) => {
console.log("push token", device.pushToken)
}
push Token is always null inside onIds
Environment
Steps to Reproduce Issue:
Anything else:
(crash stacktraces, as well as any other information here)
When I test the app from the TestFlight, it works correctly
Please reach out to our support channel at OneSignal.com for further assistance
@Luckygirlllll @rgomezp same issue here.. any solution?
@hasgarAOT not yet, @rgomezp just closed my issue without any solution
Try pod deintegrate && pod install
from within your ios directory. Also, can you please include logs? Make sure to run setLogLevel
(onesignal function)
My issue fixed after restarting. Maybe cache problem..i’m using 3.4.2
@hasgarAOT ,
Good to hear.
For others, please note that OneSignal is blocked by Egypt right now, which may contribute to occurrences of this issue.
@rgomezp same issue again.
These are the only warning I can find related onesignal:
[User Defaults] Couldn't read values in CFPrefsPlistSource<0x280fc0c00> (Domain: group.com.yepdesk.ydsaas.onesignal, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
Attempted to send an event (OneSignal-idsAvailable) when no listeners were set.
It was working sometimes. I'm getting userId, but push token is null.
working with test flight builds
tried manual and pods
v3.4.2
Most helpful comment
@rgomezp same issue again.
These are the only warning I can find related onesignal:
It was working sometimes. I'm getting userId, but push token is null.
working with test flight builds
tried manual and pods
v3.4.2