Skip to content

Commit

Permalink
fix: use react-native gradle dependency instead of react-android to w…
Browse files Browse the repository at this point in the history
…ork with older versions of RN
  • Loading branch information
cjsmith committed Jan 30, 2024
1 parent 974ec68 commit 0b65ac9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ android {

sourceSets {
main {
manifest.srcFile "src/main/AndroidManifestNew.xml"
manifest.srcFile "src/main/AndroidManifest.xml"
}
}
}
Expand Down Expand Up @@ -88,7 +88,7 @@ dependencies {
// For < 0.71, this will be from the local maven repo
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-android:+"
implementation "com.facebook.react:react-native:+"
implementation "com.garmin.connectiq:ciq-companion-app-sdk:2.0.2@aar"
}

Expand Down
3 changes: 1 addition & 2 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.connectiqmobilesdk">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.connectiqmobilesdk">
</manifest>
2 changes: 0 additions & 2 deletions android/src/main/AndroidManifestNew.xml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-connect-iq-mobile-sdk",
"version": "0.2.3",
"version": "0.2.4",
"description": "This package provides a React Native wrapper around the Android and iOS Garmin Connect IQ Mobile SDKs",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit 0b65ac9

Please sign in to comment.