-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
155 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
README | ||
====== | ||
|
||
If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: | ||
|
||
1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed | ||
2. Be sure to have a `local.properties` file in this folder that points to the Android SDK and NDK | ||
``` | ||
ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle | ||
sdk.dir=/Users/{username}/Library/Android/sdk | ||
``` | ||
3. Delete the `maven` folder | ||
4. Run `./gradlew installArchives` | ||
5. Verify that latest set of generated files is in the maven folder with the correct version number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,18 +9,20 @@ Pod::Spec.new do |s| | |
s.description = <<-DESC | ||
react-native-compass-heading | ||
DESC | ||
s.homepage = "https://github.com/firofame/react-native-compass-heading" | ||
s.homepage = "https://github.com/firofame/react-native-compass-heading" | ||
# brief license entry: | ||
s.license = "MIT" | ||
# s.license = { :type => "MIT", :file => "FILE_LICENSE" } | ||
# optional - use expanded license entry instead: | ||
# s.license = { :type => "MIT", :file => "LICENSE" } | ||
s.authors = { "Your Name" => "[email protected]" } | ||
s.platform = :ios, "7.0" | ||
s.platforms = { :ios => "9.0" } | ||
s.source = { :git => "https://github.com/firofame/react-native-compass-heading.git", :tag => "#{s.version}" } | ||
|
||
s.source_files = "ios/**/*.{h,m,swift}" | ||
s.requires_arc = true | ||
|
||
s.dependency "React" | ||
# ... | ||
# s.dependency "..." | ||
end | ||
|