wale
November 1, 2017, 10:28am
3
khaledYusufEG:
we are working on developing a mobile app, and it will be really good if we get all your needs and roadmap, including any points of integration with other systems,so we can cooperate and make sure our solution and system connectors are on the right track.
Hi @khaledYusufEG
Thanks for your interest in developing this. I would suggest you hook up with @revant_one and his team to combine efforts. They’ve done a lot of ground work in this regard
Develop Android Apps using Frappe Authenticator
[image]
Prerequisites:
Add OAuth Client on frappe server
Android - using Volley for jsonrequest (ready ApplicationController, using FrappeServerCallback to get response, ERPNextContactProvider endpoints example UTSL )
Sample App: GitHub - revant/FrappeAuthExample
Check if Frappe Authenticator is installed.
[image]
If one account found, select it, get token and use it
[image]
if multiple accounts found, ask to select one.
…
Android has SyncAdapter to sync data intelligently, Instead of manually syncing the data, If sync adapter is implemented, mobile app just has to create new records locally. pull push and sync is done by the SyncAdapter implementation.
I used CPOrm and SyncManagerAndroid (reference) and implemented basic sync for Note DocType.
There is no visible output for sync yet. I’ve just Logged it in logcat. It works!
I wish to make it into a library which can make it easy to bring doctypes on Android.
…
Please keep us posted with developments. Hopefully the community will benefit from your contributions in the near future
Cheers!
2 Likes