2024 - 10 min. to build a free native iOS/Android app šŸ”·

@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

did you figure it out?

Hello @serviluvapp

API EndPoint (renamed BackEnd now) is working fine. Once you finished the configuration, remove ā€œinitializeā€ and version-test in your URL. This is the process to configure only the API entry.

Hello

@JohnMark thank you very much for all this information.

I tried to set up an API BackEnd but it is no longer fonctionnal without ā€œPaid planā€.
We are able to configure one, but it does not work.

I tried the urls :

https://my_app.bubbleapps.io/version-test/api/1.1/wf/jasonelle
https://my_app.bubbleapps.io/api/1.1/wf/jasonelle


{
  "error_class": "Unauthorized",
  "args": {
    "code": "...90054371372..."
  },
  "message": null,
  "translation": "This application does not expose an API. Please upgrade your Bubble subscription for your API calls to run."
}
1 Like

Hi @AlexCottin

Bubble evolve a lot. Yes it take a paid plan now. Welcome to Bubble Lion De Jude.

Thanks

1 Like

An update installation for Android and iOS build from @edtyli9 Ed. :+1:

And yes.

2 Likes