Open MajdSallora opened 6 months ago
Did you init the OneSignal Properly? and if yes, then try to put the id code in a function and then use that function in init of the page where you want to set the id
Every thing work corrctly its not about init its about restricted country The main issue this OneSignal.User.pushSubscription.id Should return null not empty string "" in case there is error
What's on your mind?
Hello some user in restricted country so one signal not working the problem is one i call OneSignal.User.pushSubscription.id it return empty string because the variable defined (String?) i thought it will return null and caused issue to me hope to fix it make it null
Code of Conduct