- Edited
My pleasure.
Flarum.apk [1.9 MB] (No Title Bar, no Firebase enabled)
https://drive.google.com/open?id=0BzolLN2vKwxjOENkR1pObWRtMWc
(Note: Twitter, Facebook, and Github login does not work..yet)
My pleasure.
Flarum.apk [1.9 MB] (No Title Bar, no Firebase enabled)
https://drive.google.com/open?id=0BzolLN2vKwxjOENkR1pObWRtMWc
(Note: Twitter, Facebook, and Github login does not work..yet)
duman Legend27 level ninja edit: https://github.com/dumanpro/Android-App-for-Flarum?files=1 check out my code if you want to add swipe down to reload function. (which is an essential, in my opinion.) Also there's a small but smart boolean magic to disable mid screen loading indicator, don't miss it.
Thanks duman. I like it, gonna use it ?
so this basically just including firebase without do push notification when user mention to other user? or other things?
user engagement is the key for this push notification to works. not all user/people setup their email in its phone.
thanks
@mgilang Someone with extensive Firebase experience might be able to show how to add that.
The issue is that this android app just emulates your flarum website in an android window.
Its not a native android app.
Someone would need to find a way to replace / migrate the current mysql authentication with a firebase authentication. There is some documentation online about how to do this but its way over my current dev abilities.
Ref:
http://marcelpociot.de/blog/2016-06-20-synchronise-laravel-eloquent-models-with-firebase
https://github.com/mpociot/laravel-firebase-sync
https://stackoverflow.com/questions/38425743/migrate-mysql-to-firebase
https://db-engines.com/en/system/Firebase+Realtime+Database%3BMySQL%3BSQLite
For real time notification, Onesignal is the best service option. Apart from the fact that the service is free and unlimited, it can be configured with flarum-notify event to send real time notification.
There's an addon for it Onsignal here but I think it's currently abandoned.
https://discuss.flarum.org/d/4144-onesignal-integration-extension-for-web-push-notifications
0E800 love seeing Marcel Pociot linked here, I've worked with his package before but don't understand why that package would help here. Also for Marcel's package to work we'd need to be on an illuminate version that supports scout, Flarum is stuck at 5.1 at this point.
Could you explain what is necessary to make firebase authentication work? Feel free to create a separate thread about this and link back?
Why are you guys not looking into Onesignal?
It's seems a better option.
Cost effective too!
duman Nice pulldown refresh done. I will try to add that to my own flarum app here. It could be a little bit difficult since I am still using Eclipse for creating it.
where is the problem?
i got error:
Information:Gradle tasks [:app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources, :app:compileDebugSources, :app:compileDebugUnitTestSources, :app:compileDebugAndroidTestSources]
C:\Users\Sanver\Desktop\flarum-mobile-android-master\app\src\main\java\org\flarum\flarum\FCM\MyFirebaseMessagingService.java
Error:(15, 25) error: cannot find symbol class R
Error:(50, 32) error: package R does not exist
Error:(49, 94) error: package R does not exist
C:\Users\Sanver\Desktop\flarum-mobile-android-master\app\src\main\java\org\flarum\flarum\MainActivity.java
Error:(34, 25) error: package R does not exist
Error:(35, 51) error: package R does not exist
Error:(38, 45) error: package R does not exist
Error:(40, 51) error: package R does not exist
Error:(100, 36) error: package R does not exist
Error:(112, 20) error: package R does not exist
Error:(119, 27) error: package R does not exist
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Information:BUILD FAILED
Information:Total time: 2.676 secs
Information:11 errors
Information:0 warnings
Information:See complete output in console
Edit: actually i bypass the problem with make the name of package name "org.flarum.flarum" on developers.google.
You also changed the file folders as well right?
When you download the open source project go into the files org / flarum / flarum
then change them to fit your website domain, then using Android Studios or any coding editor with a Java extension, and search the whole project for code referring to org.flarum.flarum
and change it to fit the folders you just changed, once that is done using Android Studios you should be able to create either a debug.apk
or release.apk
.
sorry, i didnt get it :/
when i extract the project which i downloaded from github, i see the files and folders below :
app Update google-services.json 4 months ago
gradle/wrapper Update gradle-wrapper.properties 4 months ago
screenshots Reduced resolutions 6 months ago
.gitignore Initialize Repo 6 months ago
README.md Update README.md 4 months ago
build.gradle Added Share button 4 months ago
gradle.properties Initialize Repo 6 months ago
gradlew Initialize Repo 6 months ago
gradlew.bat Initialize Repo 6 months ago
settings.gradle Initialize Repo
Felli When you download the open source project go into the files org / flarum / flarum
where are the org / flarum / flarum folders? :/
This is a new Android app.io
sanwhere
Change the org / flarum / flarum
folders to com / your / domain
then search for anything referring to org.flarum.flarum
and change it to com.your.domain
with any code editor (I myself use Atom.io) and that's about it, but just to note that the Gradle will most likely need to be updated sooner or later.