Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:enable iOS and Android examples #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

code-jenn-or
Copy link

When attempting to setup a patient facing react native app with Medplum I found the react native example did not support iOS and Android.
Through trial and error (and help from Rahul on discord) I was able to get a working authentication setup working on both iOS and Android. After using the medplum.setAccessToken method I could then call other requests or even use features such as medplum.graphql.

  • provides platform file for web to maintain existing functionality of example
  • updates App.js to work on native mobile (iOS and Android) by using get/post methods.

- provides platform file for web to maintain functionailty
- updates App.js to work on native mobile
@joekendal
Copy link

I think we should look at handling this inside the official SDK.

@code-jenn-or
Copy link
Author

I think we should look at handling this inside the official SDK.

Would love for this to be handled in the SDK! This was out of necessity.
If you try to call the auth endpoints it throws errors related to boa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants