Future Feature - regarding push notifications

That’s a little bit of a project to add. What type of notifications are you looking for?

I’d like to use text notifications, like when using Facebook on Chrome, so it will display a little window of new posts, shares, comments etc. For some chat or calendar based apps push notification is key. I think an action like “send email” would be fine.
Installations options are SDK (uses an user key and 3 files on root of domain) or Server API.

It would be great to be added to the roadmap ;D

That’s typically what we’d do on a sponsored basis.

1 Like

I willing for it. I’ll start a private beta in next 30 days for one app, hoping to land some deal the 2nd semester.

Could you not just add push notification script from a third-party to the page? See https://pusher.com/tutorials/realtime-notifications for an example. From what I can tell the script elements could be added to the header and body. If I am wrong, please let me know as HTML5 push notification is important.

1 Like

I think you can program that natively within Bubble.

Unless that notification will pop up overtop a completely unrelated mobile website and tell you what’s going on at a different site (which would be sweet)

But if the notification is visible only internal (the bubble app) - then you can program that with bubble.

  • using a bit of what was said in this forum post.

You do a search for a data change > then relay the information to all relevant users > then show a group that has been designed like a notif (only visible to certain users)

1 Like

Chrome push notifications is certainly something I’m looking forward to.

1 Like

How about native chrome push using https://pushbots.com/

1 Like

I have created a request for One Signal on FeatureSeed. It is currently waiting approval from Bubble (@emmanuel), but hopefully we can get it crowdfunded.

Integration with One Signal for push notifications

3 Likes

What’s feature seed? Did you created it using Bubble??

Yes, I built it on Bubble. You can learn more about it here FeatureSeed needs beta testers

1 Like

I missed that one…
Would you want to use the Trello Unofficial Bubble Roadmap too? You can set links to your app.

Click here to get access https://trello.com/invite/b/7PHmUl5B/8b2aa48c5e12c1cea289fd1a1470c7ca/bubble-unofficial-roadmap

Hey guys, I got some ideas, FYI I`ve been dormant for a period due to lots of work and wasnt using bubble for anything yet but I love the concept and seeing how it matures with more users requesting features like this.

So to implement push notifications as I see it we need:

FOR MOBILE

  1. Able to inject some cordova push plugin into your bubble app. Im not sure if @emmanuel is very happy that we extract the HTML+CSS+cordova plugins from the IPA/APK but I see this as necessary if we dont receive the precompiled project files themselves. Is there any other native code. After modifying you can re-sign it (I assume), see my #ref in footer of this post for more info.

  2. Ability to call the cordova plugin to request allowance of push notifications and receive the device identifier through JS, then post this to our server (save to current user profile data (deviceId=xxxxxxx).

  3. to be able to send a push request via a PUSH provider. Then we send to the push providers API with either single device id or multiple device ID`s. (You can test this feature alone getting the pusher app and sending push request to their REST api from your bubble app. https://pushover.net/api)

  4. To handle incoming push notifications on opening the notification. By default app would open at default view. You can use custom plugins or modifications of push plugins to listen for a custom payload that the push message contains. Here you could either go to the correct view or call a custom JS function that opens the correct view /overlay / modal.

Resources: (mostly free ones I guess)



https://pushbots.com/features
https://github.com/fechanique/cordova-plugin-fcm (same firebase server as bubble)
https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-cordova-get-started-push/

FOR DESKTOP BROWSERS and mobile browsers

  1. Implement custom JS in bubble

For example:
https://nickersoft.github.io/push.js/
https://goroost.com/



https://gauntface.github.io/simple-push-demo/
http://www.connecto.io/kb/knwbase/web-push-notifications-what-are-they-and-why-you-should-use-them/

2: Type 1 Browser push (Local notification): Locally induced push (from browser via local JS)
Call custom JS function on received new data to pseudo-view

2: Type 2 Remote push: (Will work when not having your webpage up)
Call REST api with browser Unique ID retrieved from JS when requested access to push to browser.

  1. Custom call to local JS code or to REST api of push server

I really have to run now, are there anyone who wants to collaborate and experiment on this to get these things working?
Im excited!

#Ref 1 on re-signing iOS IPA for publish to app store: Re-signing iOS IPA before submit to app store

2 Likes

After doing some more research it seems that the generated app (iOS in this test case), fetches the App JS from server on first run. Possibly caching it, I would assume.

@emmanuel How does it cache/update that JS so the app can be used when internet goes offline?

What I wrote previously on re-signing the code will not work if you add new cordova plugins that need to be compiled in the native code, I was a little tired when writing so just ignore that part. Instead you have to make a custom cordova build that mimics the current one from Bubble.

With the risk of failing hard I will try to put together a basic cordova build with push notification support where you can just change the namespace to your app`s namespace (domain).

1 Like

Has anyone (with Twilio Notify access) attempted to experiment with integration? It looks like a VERY promising solution. I am going to work on integration if anyone is interested in collaborating.

That`s nice. (Depending on the price)
But I am trying to see the case. Could you explain a specific case where this would be really beneficial to you?
Trying to understand if you really need the notify service.

1 Like

Mainly, integrating push notifications to update users of a change in status to their reservations (canceled, updated with additional info, etc…similar in style to UPS My Choice text messaging) is a necessity. If the user isn’t engaging via the native, then my application will switch over to an sms notification.

I suppose I could do without the SMS notifications, but the push notification is essential across android and iOS.

I just got accepted for the Twilio notify program today, but they dont have any Cordova implementations yet, so unless you are planning to do native apps it won`t bear any worthy fruits. You could instead program that logic in bubble if notification not seen / opened within a timeframe, and then send sms instead.

1 Like

This problem was also on my iPhone, Then I found an in Google I a thread that had Solution, How to Access Notifications Center

The best choice for me is the ZetPush https://zetpush.com/.