OneSignal Logic Error

when i am using onesignal which logic should i need to use bcoz right now im using this two logic and getting this error

this is the block section

@Saifi_Creation

Bro, it’s not an ONESIGNAL ERROR
it’s Android Version (In string) vs Numeric (13)Error

get the int value of the string first then compare it with the integer

how can i do this get the int value of the string first then compare it with the integer

i saw this tutorial

the logic is ok for newer versions of android but not for old.
try this one

its safe method naah

@Saifi_Creation yes its safe

not working when im using this method its not asking for permission in android 13+

the first error show is that the android version is 8.1.0 thats the error comes.

clear data of the app or uninstall the apk and reinstall and check.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.