# Make an Android app for your Flarum Forum
A WebView based Android application which will embed your flarum forum inside an application.
## How to setup
1) Clone the repo
2) Open the project in Android Studio - Wait till all the processes complete
3) In the MainActivity.java
`private static final String url = "https://discuss.flarum.org/";`
Edit the url to yours.
4) Do any changes to the code - Change colors, Package names, Add splash screens
5) It is recommended to enter your own Firebase `google-services.json` file, which you'll be able to get from [Google Firebase](https://firebase.google.com/) 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.)
6) Good to go :)
## How to enable Firebase Notifications
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.
### How to download google-services.json file?
1. Login to [Firebase Console](https://console.firebase.google.com).
2. Create a new project or select existing one.
3. Go to Settings >> Project Settings
4. From General Settings section download **google-services.json** file.
## Known Issues
* Facebook login inside app is not working
* ~~File Upload plugin not working~~ - Fixed with Advanced webview
## Screenshots
![Home](https://raw.githubusercontent.com/SurfEdge/flarum-mobile-android/master/screenshots/scr_home.png)
![Inside](https://raw.githubusercontent.com/SurfEdge/flarum-mobile-android/master/screenshots/scr_inside.png)
## Links
[Flarum Home page](http://flarum.org/)
[Flarum Community](https://discuss.flarum.org/)
[Advanced Web View project](https://github.com/delight-im/Android-AdvancedWebView)
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
网页软件APP套壳源码(好萌nicemoe.com).zip (70个子文件)
好萌
gradlew.bat 2KB
gradlew 5KB
gradle.properties 730B
app
google-services.json 5B
proguard-rules.pro 689B
src
main
res
menu
nav_menu.xml 1013B
menu_main.xml 403B
mipmap-xxxhdpi
ic_share.png 3KB
drawable
icon.png 4KB
drawable-xxhdpi
ic_menu.png 235B
ic_done.png 255B
ic_nav_icon.png 14KB
mipmap-hdpi
ic_share.png 844B
values
colors.xml 208B
strings.xml 369B
styles.xml 706B
dimens.xml 253B
mipmap-xxhdpi
ic_share.png 2KB
mipmap-mdpi
ic_share.png 609B
mipmap-xhdpi
ic_share.png 1KB
layout
activity_main.xml 3KB
header_layout.xml 794B
nav_header.xml 988B
values-v21
styles.xml 327B
values-w820dp
dimens.xml 358B
java
org
flarum
nicemoe
MainActivity.java 12KB
util
LogUtil.java 794B
BaseActivity.java 1013B
FCM
MyFirebaseInstanceIDService.java 1KB
MyFirebaseMessagingService.java 3KB
AndroidManifest.xml 1KB
.gitignore 7B
build
gen
android
support
design
R.java 594KB
Manifest.java 388B
v7
appcompat
R.java 594KB
Manifest.java 394B
cardview
R.java 594KB
Manifest.java 393B
recyclerview
R.java 594KB
Manifest.java 397B
transition
R.java 594KB
Manifest.java 392B
de
hdodenhof
circleimageview
R.java 594KB
Manifest.java 394B
com
google
android
gms
tasks
R.java 594KB
Manifest.java 394B
measurement
R.java 594KB
Manifest.java 400B
impl
R.java 594KB
Manifest.java 405B
R.java 594KB
Manifest.java 388B
firebase
messaging
R.java 594KB
Manifest.java 395B
R.java 594KB
Manifest.java 385B
iid
R.java 594KB
Manifest.java 389B
org
flarum
nicemoe
BuildConfig.java 161B
R.java 594KB
Manifest.java 384B
build.gradle 1KB
libs
android-logging-log4j-1.0.3.jar 7KB
log4j-1.2.17.jar 478KB
gradle
wrapper
gradle-wrapper.jar 52KB
gradle-wrapper.properties 230B
.gitignore 124B
README.md 2KB
settings.gradle 15B
build.gradle 598B
共 70 条
- 1
资源评论
盗计
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功