does it matter on what screen I place the One Signal component? Does this screen need to be opened at least once for the notifications to appear or is the code for One Signal loaded when the app starts, no matter on what screen the component is?
What I want to do is to is change the subscription status from a settings screen other than Screen1. So, I need to store in a database whether the user wants notifications and then the user needs to open Screen1 again before the settings can take effekt?
Because when the component is on Screen1 I cannot use the block for changing subscription status on another screen.
When user change settings to turn off notifications, store value (device id) to online database, and from one signal manually drop this user from receiving notifications.