Comments (6)
I would be more than happy to contribute considering I am using this so much. A bootstrap should be really helpful. GSON is the most popular library for Android. Can be used for Java 7 as well.
from fusionauth-java-client.
Great, I'll add some links to this issue once I get it set up for you to mess with .
from fusionauth-java-client.
In theory we could build a Java 7 version of the client, or probably better named an Android client.
The ZonedDateTime
object is serialized to a long - milliseconds in UTC. So you can make that field type anything you want as long as when you send it across the wire it is milliseconds in UTC.
https://fusionauth.io/docs/v1/tech/reference/data-types - see Instants.
If you're interested in contributing to build an Android client, I can bootstrap it let you hack on it. What does Android provide for JSON support? The current java client uses Jackson heavily.
from fusionauth-java-client.
Let me know when you create the repo. I was free for a couple of days next weekend and it would great working on this.
from fusionauth-java-client.
I've started a stub repo.
https://github.com/FusionAuth/fusionauth-android-client
See if you can follow the instructions from the client builder repo to get started.
https://github.com/FusionAuth/fusionauth-client-builder
Here is the template for the Android client:
https://github.com/FusionAuth/fusionauth-client-builder/blob/master/src/main/client/android.client.ftl
When you run the build command sb build-android
it will use that template to build the client library.
https://github.com/FusionAuth/fusionauth-android-client/blob/master/src/main/java/io/fusionauth/client/FusionAuthClient.java
You can start by cloning the fusionauth-client-builder
and fusionauth-android-client
repos and then start hacking, and then feel free to submit a PR once you've got something working.
The Android template is just a copy from Java, so you'll essentially just need to remove any Java 8 features such as lambdas. I don't know much about the Android SDK, so if you can't use Jackson then you'll need to rip that and replace it with another JSON library.
I would say to start, just copy over a minimal set of domain objects to get it working. (such as User, Application etc). We are working on a way to build out the domain from a JSON DSL, so once that is ready we can use that to build out the Android domain objects so you don't have to do it manually.
You can ask any questions you have here, or feel free to join the slack channel as well. I may have some time to help out as well in the next week or two. Thank you for being willing to contribute!
from fusionauth-java-client.
Closing, moved to feature. FusionAuth/fusionauth-issues#156
from fusionauth-java-client.
Related Issues (11)
- Getting socket failed: EACCES (Permission denied) HOT 1
- Search users using database search engine ? HOT 4
- Create user does not set roles HOT 5
- username in user registration is no use when registering a user HOT 6
- Maven central out of sync with releases and dependencies HOT 2
- failed to retrieve Public Keys by `retrieveJWTPublicKeyByApplicationId` HOT 4
- Publish 1.41.3 to Maven Central HOT 1
- couldn't create RSA key HOT 1
- Ability to create Application level API Key HOT 1
- Create User -> Update User -> Not Found in Elasticsearch query HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fusionauth-java-client.