#nocode #builtinpublic #day 1
Goal: Convert my current Bubble app to a native mobile app
Reference post:
I’m currently trying to document every step I made in detail. Hopefully this post can empower the fellow Bubble community to build native apps slightly faster.
Here’s the documentation day #1:
Basic setup
On Bubble
- Create an empty txt file, name it hello.json (the name doesn’t matter). Open the hello.json file with any text editor. Add this JSON text into it. Replace the https://www.yourdomain.com with the url of your app. This will be the onboarding page of your app.
{
"$jason": {
"body": {
"background": {
"type": "html",
"url": "https://www.yourdomain.com",
"style": {
"background": "#ffffff",
"progress" : "rgba(0,0,0,0)"
},
"action": {
"type": "$default"
}
}
}
}
}
- Upload the hello.json file to the root directory of your app. Deploy your app.
For Android
-
Download and install Android Studio: Download Android Studio and SDK tools | Android Developers
-
Download the latest version of jasonette-android.zip: https://github.com/jasonelle/jasonelle/releases
- Open the jasonette-android project with Andriod Studio
- Open the strings.xml file (app > res > values > strings.xml).
- Replace the string “file://hello.json” with the url of the .json file you just uploaded to your bubble app. The url should be something like “https://www.yourdomain.com/hello.json”.
- Now you can try to build the apk or run it on AVD. Remember to install the Android SDK.
This is what I’ve done so far. My next step would be to convert the Bubble app to an IOS native app. I will keep documenting everything and share it here.
Feel free to ask me anything!