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

React native #49

Draft
wants to merge 39 commits into
base: master
Choose a base branch
from
Draft

React native #49

wants to merge 39 commits into from

Conversation

KhanIAtlas
Copy link

No description provided.

matti-ida and others added 30 commits March 10, 2021 12:41
Add React.Native support using https://github.com/remobile/react-native-cordova
Idea is to keep this in different branch from master Cordova branch, but merging changes should be relatively easy/conflict free.

Basicly setup for existing project should be as easy as adding react-native-indooratlas dep to package.json (pointing to react-native branch in github repo) and to iOS/Android build files.
```
    "react-native-indooratlas": "git+https://github.com/indooratlas/cordova-plugin.git#react-native",
```
then run `yarn install`.

iOS:
add pod deps to Podfile
```
  pod 'RCTCordova', :path => '../node_modules/@remobile/react-native-cordova/ios'
  pod 'RCTIndoorAtlas', :path => '../node_modules/react-native-indooratlas/src/ios'
```
and run `pod install`.

Android:
add projects to settings.gradle:
```
include ':react-native-cordova'
project(':react-native-cordova').projectDir = file('../node_modules/@remobile/react-native-cordova/android')

include ':react-native-indooratlas'
project(':react-native-indooratlas').projectDir = file('../node_modules/react-native-indooratlas/src/android')
```
add react-native-indooratlas dep to app/build.gradle:
```
    implementation project(':react-native-indooratlas') 
```

Probably should marked as "alpha" or "experimental" or something.
* Update to SDK 3.4.7

* Update README
In the react-native branch the leading { of the package.json file is missing.
NOTE! To enable the callbacks, please contact IndoorAtlas support.
@matti-ida matti-ida marked this pull request as draft August 27, 2024 08:13
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.

4 participants