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.
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.
You have an example file on github. You can download that one. Just be sure to match the version of your Android Studio.
As I mentioned above in L.E. just click on the blue text āInstall missing platform(s) and sync productā
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.
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
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.
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!
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.
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
@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!
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?
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.
@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 so it can use both mobile and web.
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:
JavascripToBubble - JavascriptToBubbleA (mobile); JavascriptToBubbleB (web). You need to change the suffix to 2 on JavascriptToBubbleB (web).
Workflows - the one for web will use the code from above, my previous post;
Database fields: we will have PlayerID_mobile and PlayerID_web in our data base. (just rename the existing one to _mobile).