Forum Documentation Showcase Pricing Learn more

Native MOBILE app - like cheap or FREE 📱 with FREE & Unlimited PUSH notifications! 📬


#61

Hey @udayrana10
First of all, please note that Android Studio has been updated to 3. It’s a major update (Major Update I salute you - How I met your mother inside jokes…anyone? haha) and the tutorial from onesignal’s SDK MIGHT not fit until updated. I will ask them. I don’t code that much either.
Now, I will try to understand what you are trying to do and get back to you in a bit.
L.E. well you have an error saying that you miss android-26. And you have a blue text saying install missing platform(s). and sync product. Just do that. For now, and test please.
L.E.2.

  1. You should create your onesignal account and get the info so you can do the push notification part on your bubble app. Then setup the Android and iOS apps and test it under two different accounts OR delete the assigned onesignal ID in the database. If you login with Android or iOS first and the other later, it will have individual OneSignal IDs BUT you already assined the first one to THAT email address that you are connecting with. So you could just use another account for the second mobile platform test.
  2. You have an example file on github. You can download that one. Just be sure to match the version of your Android Studio.
  3. As I mentioned above in L.E. just click on the blue text ‘Install missing platform(s) and sync product’
  4. I think the answer for question #2 covers this

You can always buy the SuperView (or any other web view templates for iOS and Android, JUST make sure they have OneSignal integrated); or you could get a free webview from github, not sure if you’ll find one already integrated with OneSignal.

As mentioned in one of the previous posts, I will make a platform where you will just provide your bubble’s app URL and give some extra info in a form, and the result within minutes will be ipa and apk OR published under my developer account directly. But this will not happen anytime soon, not sooner than 1 month from now. At least. I need to get some free time to finish my app and unfortunately people don’t offer to help for free and not even paid as I can see… I found a great bubble partner/developer - @DotStudios (the work they’re doing is … exceeding my expectations and that is really RARE) that will help me finish and then I will start working on this 100% automated system that publishes mobile apps with OneSignal push notifications integrated.


#62

Important update:

I have seen a lot of complains here about the onesignal plugin not working, and that’s unfortunate.
My app is almost done and I really need push notifications.
I did the only thing that I could: I’ve made the plugin myself (well I paid a freelancer, a very talented freelancer actually). And for me, on iOS it works like a charm! It also has badges, so on iOS you can increase the number, decrease it, remove it, whatever you desire.
You can also send mass messages, segmented messages, individual ones, whatever your heart desires :slight_smile:
I will officially launch it in less than 24 hours. Still need to complete the tutorial/documentation and to test it on Android (should work just fine, but still).

Is there anyone that want to help me test it in private before that?
Just give me your bubble app name (subdomain basically) and I will add you in 8-10 hours.

Thank you!

The plugin will be free forever


OneSignal FREE plugin for FREE and UNLIMITED Push Notifications 📱
#63

I’ll test it! My App id: livechatplayapp


#64

added, thanks!


#65

Let me know when a video documentation is available, also text documentation would be good aswel! I have had problems with not receiving the plugin for the premium version that Codurly made so that’s why I’m happy that you’ve made this!


#66

The documentation will be ready in 10 hours approximately I need to go now and then when I’ll be back I will continue on it.
For installation you can use the tutorial I made at the beginning of this post.
If you still need help then, that’s okay, I will help but when I will get back.
Yes, I made the plugin for the same reason…I needed it for my app and couldn’t wait any longer after Codurly.
Anyway, the mobile app idea was mine so I am not stealing anyone’s idea, if any it’s mine haha.


#67

This is a great resource @mvandrei, thanks!

I have been diving in head first to see if it would be easy to publish my app. So far so good, but the thing I’m running into at the moment is app navigation.

I have the external app on one page but use groups to navigate from one ‘page’ to another. They are set with a condition on a container group: when 'container-group’s show is ‘documents’ > this group is visible.

Is it possible to use the arrows in the device to navigate this way?

So basically this is not about the webviewclient as it is to find a solution to set an elements state using the mobile device’s navigation button… the search continues :smiley:


#68

I’m facing the same issue. Everything loads perfectly, except the dynamic data. Did you hear back from the creator or find a solution?

I’ve only tested the SuperView for Android one.


#69

@vincent56 there’s a fix for dynamic content.

Find this line in MainActivity file and remove it:

webSettings.setUserAgentString(“Android”);

Or comment it out.


IOS App functional but Android App non usable
#70

@vincent56 and @everyone I am facing some issues myself and the creator is slow in response, I hate that.
So, as I decided to do the OneSignal plugin myself, I will be launching it in the next two hours, to resume on the documentation so I can finish it; I also decided to make my own web views and something extra.
It will not be here for at least two weeks, but that extra something will make you wish you had an appointment to the doctor, 'cause your jaw will hit the floor!
I am not one to brag, but it’s SO cool, SO SO SO SO cool you can’t even imagine what it will do. SO excited! :slight_smile:


#71

Awesome this worked!

Looking forward to the plugin.


#72

@everyone It’s finally here OneSignal FREE plugin for FREE and UNLIMITED Push Notifications 📱 :tada:
enjoy!


#73

Wow! congrats! :heart:


#74

thank you! :slight_smile:
Enjoy!


#75

thanks a lot for your generosity :slight_smile:
so great !


#76

Hi,
I’ve followed the instructions exactly as stated and my user still does not get a playerID. When I check Bubble’s preview inspector, it says that the JavascripttoBubble A’s value is empty after the JavaScript (https://pastebin.com/FxMdzAZW) is run. The JavaScript works for web push notifications, right? Any idea what could be wrong?

Thanks in advance!


#77

as answered to the other post you made, this only works with mobile. I will make it work with web (for individual push not). For now it works for general./mass message on web and individual for mobile wrappers.


#78

Thank you for all your help!


#79

@khabazkameel please use this code (replace anything in JavaScript code with this)

//--------- Web ---------

OneSignal.push(function() {
OneSignal.getUserId(function(userId) {
console.log(“OneSignal User ID:”, userId);
// (Output) OneSignal User ID: 270a35cd-4dda-4b3f-b04e-41d7463a2316
bubble_fn_1(userId)
});
});

//--------- Web ---------

for web ONLY.
I have tested now and I can successfully register both IDs, but when I am registering the second one it will delete the first and I need to investigate this. Again, I need some time off so this should help you use it for web ONLY.
I will fix it …this year :slight_smile: so it can use both mobile and web.


#80

Update:

We can register both mobile and web (desktop) users, I still need to find a way to send individual push notifications for both mobile and web (to the same current user that has two PlayerIDs now).
I will get back to it after Christmas.
So what we need to do is very simple: we need to create a duplicate for everything you’ve done:

  1. JavascripToBubble - JavascriptToBubbleA (mobile); JavascriptToBubbleB (web). You need to change the suffix to 2 on JavascriptToBubbleB (web).
  2. Workflows - the one for web will use the code from above, my previous post;
  3. Database fields: we will have PlayerID_mobile and PlayerID_web in our data base. (just rename the existing one to _mobile).

![12|690x422]((upload://loGPYzj4kBK9HBaq6KonYZx3Irn.png)

There will be a start to finish video tutorial and text with images tutorial, but again, can’t do it now. Thank you for your understanding!

Happy Holidays!
If you have any other suggestions or bug reports please feel free to comment. Thank you!