Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

bootstrap the lib and example #3

Merged
merged 2 commits into from Jun 11, 2019
Merged

bootstrap the lib and example #3

merged 2 commits into from Jun 11, 2019

Conversation

vonovak
Copy link
Contributor

@vonovak vonovak commented Jun 10, 2019

motivation is to have some code we can start working with. This PR add the native module files and an example project that can be used for development.

so far, only very simple auth flow is implemented

to run this, you need the beta of xcode 11 (that includes iOS 13), and an ios dev account, apple sign in entitlements and corresponding provisioning profile (xcode generated it for me)

  • the code is bootstrapped using react-native-create-library
  • the native module (in <repo-root>/ios/) is linked into the example project
  • metro finds the JS code of the native module through modified watchFolders in example/metro.config.js

only ios native module is included, as from what I understand, platforms other than ios will need to use the JS api.

@matt-oakes matt-oakes merged commit f33deb1 into rnc-archive:master Jun 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants