Skip to content

Commit

Permalink
Merge pull request #134 from newrelic/fix_for_missing_compilesdk
Browse files Browse the repository at this point in the history
fix: addressed an issue that prevented app building due to missing co…
  • Loading branch information
ndesai-newrelic committed Sep 26, 2023
2 parents b20d08e + 919d9e2 commit f89dfdb
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.3.3

### New in this release
* Updated the native Android agent to version 7.1.0.
* Addressed an issue that prevented app building due to missing compilesdk.

## 1.3.2

### New in this release
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ AppToken is platform-specific. You need to generate the seprate token for Androi
}
dependencies {
...
classpath "com.newrelic.agent.android:agent-gradle-plugin:7.0.0"
classpath "com.newrelic.agent.android:agent-gradle-plugin:7.1.0"
}
}
```
Expand Down
17 changes: 10 additions & 7 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ import io.invertase.gradle.common.PackageJson


buildscript {

repositories {
mavenCentral()
google()
}

dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
if (project == rootProject) {
repositories {
mavenCentral()
google()
}

dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'

}
}

}
Expand Down Expand Up @@ -56,6 +58,7 @@ android {
namespace "com.NewRelic"
}

compileSdkVersion 33

defaultConfig {
minSdkVersion 21
Expand Down
3 changes: 2 additions & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Tue Sep 26 08:49:14 CDT 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "newrelic-react-native-agent",
"version": "1.3.2",
"version": "1.3.3",
"description": "A New Relic Mobile Agent for React Native",
"main": "./index.js",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -95,7 +95,7 @@
"newrelic": "7.4.6"
},
"android": {
"newrelic": "7.0.0",
"newrelic": "7.1.0",
"ndk": "1.0.3"
}
}
Expand Down

0 comments on commit f89dfdb

Please sign in to comment.