Forum Academy Marketplace Showcase Pricing Features

2022 - 10 min. to build a free native iOS/Android app 🔷

Hello Husam

I’m using iPhone devices only. Not sure the plugin is working with Android. I will assumed it will work inside Jasonelle functions. You must ask Telegram Jasonelle forum.

1 Like

Hi all, I am new in bubble and want to try PictureUploader in web app on mobile to get picture. This works (I also tried some other plugins for this) but, I expect that none will allow to preconfigure native camera with resolution and cropping to be launched ready to take picture with such preset values. Is expected that some Jasonelle native access to camera allow this? Or can this by done by Adalo or something else for native mobile frontend, having access to bubble backend at least? Thanks.

2 Likes

Hello @7alken

You have to ask on Jasonelle Forum (Telegram). I will assumed you can with some advanced options.

1 Like

Please keep me updated if you find a solution.

I peeked into Jasonelle legacy docs but found no details about configuring camera. But for my purpose of private internal tool (so not for profit/scale app), I am not interested mainly by purchaseable native app, rather at least working mobile site, where PictureUploader in fact works quite good, as far as camera is preconfigured outside of app by its global statte - that is enough for me - uploader then requires only 3 easy clicks to take 1:1 9mp photo into this default bubble control, with some plugins I can reduce this probably even to 1 click - so, no luck for jasonelle, but I can live with this. thanks

2 Likes

I have found the solution finally for getting the file/image upload to work in android.
Basically when you download Jasonette, download the advanced webview and it has the permissions ready.

4 Likes

@JohnMark Did you look into why i am facing this error?

really need help here
thanks

1 Like

Hello @fuhclifffuhche Clifff,

You probably asked the javascript expert on Jasonelle Telegram (@clsource). Maybe you can hire him to fix this? Is it the same problem on both iOS and Android? Let us know your solution.

I did ask him, He doesn’t seem to know how to fix for now.

About ios, i can’t say for sure cuz I’ve not tested. I have only worked with Android.

1 Like

How would this work in practice to implement in conjunction with say @Jon_Melo 's android studio video? Thanks in advance. Think it would be a game changer for so many people and their apps if we can all work together to finally figure out how to get the file uploader to work on a wrapped app on the android app store.

3 Likes

Hey bud, I didn’t quite get your question.
But if you’re asking how to get that working. The zip file of “jasonette” that you download and open by Android Studio, instead of download the normal Jasonette zip, follow the link I have shared and you can download “Jasonette advanced Web view” which I think some people have added codes to it .
I have tried it and it worked.
My problem now is to get the one signal push notifications working.
I think if we work together we can do it guys.
Let’s do it

3 Likes

If I put the https://mydomain.fr/api/1.1/wf/jasonelle

or https://mydomain.fr/version-test/api/1.1/wf/jasonelle

it still indicates Error : method not allowed

Thanks for you reply anyway.

1 Like

OK thanks I’ll give it a go! I also want to implement One Signal push notifications so I’ll have a look into that once I get the file uploader working

1 Like

Please keep me updated.
I Tried to add the onesignal codes in android studios and always errors come up.
It seems easy but very frustrating.

Hello guys, so after hours of googling and help from jesonelle forum, I have been able to fix the Google aouth problem (403 useragent_disallowed)

So the problem google has with webview apps is security, that is why they block the service.
to solve that we need to assign a user agent.

  1. Update the index.jason file to the following;


    {
    “$jason”: {
    “body”: {
    “background”: {
    “type”: “html”,
    “url”: “https://www.YOUR-DOMAIN.com”,
    “options”: {
    “useragent”: “http.agent”
    },
    “action”: {
    “type”: “$default”
    }
    }
    }
    }
    }

  2. Replace “http.agent” with
    “Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36”

  3. Replace the index file on your bubble app with the new one.

  4. In android studio, Search forJasonAgentService.java. Check to make sure it contains the following lines of code.


    if (options.has(“options”)) {
    // Allows custom user agent for the webview
    if (options.getJSONObject(“options”).has(“useragent”)) {
    Log.d(“Debug”, "Using custom user agent: " + options.getJSONObject(“options”).getString(“useragent”));
    settings.setUserAgentString(options.getJSONObject(“options”).getString(“useragent”));
    }
    }
    That’s it. your google oauth should work now… Happy bubbling

3 Likes

Thanks for this. Seems amazing and I got the simulator working on my phone.

Question: how do general users download the app? Or is this for developers only?

1 Like

Hello @hegartyjonc

You have to open an account with Apple / Play store to download the app. For developers only, you have to registered each device under Xcode/Android.

Hello @jddmrgn

Just renamed com.jasonelle for yourwebsite, ie: com.bubble

image

1 Like

Thanks. After some messing around the Play Store accepted the signed APK Bundle. In review before hopefully being rolled out into production. Look forward to seeing if the file uploader function now works following the efforts above. Will report back how it goes!

1 Like

I cannot get the API to work. It’s still showing Offline!. I’m tying to get android working. But this thread is the best I can find. By “do this the first time” do you mean build the app save it and open it up on your device then go back and remove “initialize” then build the app then download it on device. Also, What do you mean by “set you API in manual mode” ? Any help would be much appreciated.

@solidad72 did you ever get the api endpoint working? Stumped