Note : This project nolonger maintained
A WebView based Android application which will embed your flarum forum inside an application.This application is based on https://github.com/SurfEdge/ 's code.
-
Clone the repo
-
Open the project in Android Studio - Wait till all the processes complete
-
In the MainActivity.java
private static final String url = "https://discuss.flarum.org/";
Edit the url to yours.
-
Do any changes to the code - Change colors, Package names, Add splash screens ,Change Error screen etc..
-
It is recommended to enter your own Firebase
google-services.json
file, which you'll be able to get from Google Firebase itself, once you've logged in create a new project then go through the setup process (Make sure to use Android as your choice of Mobile project for this app example as well as the Package name you're using for the app at this time.) -
Good to go :)
Download and upload google-services.json config file to flarum-mobile-android/app folder.
This file contains configuration details such as keys and identifiers, for the services you enabled.
- Login to Firebase Console.
- Create a new project or select existing one.
- Go to Settings >> Project Settings
- From General Settings section download google-services.json file.
https://github.com/jishnurajm/android-app-flarm/blob/master/app/src/photo_2018-07-08_13-22-45.jpg