Looking for some advice.
Here’s the background and what I’d like to achieve.
//–
A user creates an account on my website. We’ll call this person Alice. Alice uses the website to schedule an event with Bob.
Bob also creates an account on the website. This allows him to request and accept events with Alice. Bob also has our Android app. The login used at the website is also used in the app.
Shortly before the scheduled event, Bob receives a push notification on his Android device. Tapping the notification opens the Android app. If he’s not logged in, he’s prompted to do so, and the app launches.
At the same time, Alice receives a web notification. Tapping the notification opens the web URL. If she’s not logged in, she’s prompted to do so.
//—
So obviously, a lot of things happen outside of Bubble.
My initial thought was to use OneSignal. Somehow generate a OneSignal user ID when the web account is created and then use workflows to trigger appropriate push messages via OneSignal at the appropriate time.
However, I created a OneSignal account, followed the setup for OneSignal in the docs, but the setup ends with the OneSignal account setup! (see https://manual.bubble.io/bubble-made-plugins/onesignal-web-notifications.html). There is literally nothing about how to use the plugin within Bubble. I can find nothing about how to actually use the OneSignal plugin (the one actually from OneSignal) once the account is set up.
When I look in Workflows, none of the plugin workflows seem to involve creating a new OneSignal user ID. It’s also utterly unclear as to whether I need to add the script to the page header, or if the plugin takes care of that.
Which brings me to my questions:
- How would you solve for the situation I described?
- If OneSignal is the way, how the heck do I use the plugin to create a user ID?
All suggestions welcome.