Skip to content

Commit 1af417d

Browse files
authored
Merge pull request #77 from MindscapeHQ/js/update-gradle
Prepare version 1.3.0
2 parents 2d1dcc2 + fc49fe5 commit 1af417d

File tree

9 files changed

+82
-29
lines changed

9 files changed

+82
-29
lines changed

.gitignore

Lines changed: 67 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,74 @@
11
#-----------------------------------------#
22

3-
#.npmrc
4-
#dist/
5-
#example/
6-
#node_modules/
7-
#android/.idea/
8-
#android/.gradle
9-
#android/build/
10-
#android/libs/
11-
#android/*.iml
12-
#android/local.properties
13-
#android/.settings
14-
#android/.project
15-
#android/.classpath
16-
#demo/android/app/build/
17-
#demo/android/.gradle/
18-
19-
#package-lock.json
3+
# OSX
4+
#
5+
.DS_Store
6+
7+
# Xcode
8+
#
9+
build/
10+
*.pbxuser
11+
!default.pbxuser
12+
*.mode1v3
13+
!default.mode1v3
14+
*.mode2v3
15+
!default.mode2v3
16+
*.perspectivev3
17+
!default.perspectivev3
18+
xcuserdata
19+
*.xccheckout
20+
*.moved-aside
21+
DerivedData
22+
*.hmap
23+
*.ipa
24+
*.xcuserstate
25+
ios/.xcode.env.local
26+
27+
# Android/IntelliJ
28+
#
29+
build/
30+
.idea
31+
.gradle
32+
local.properties
33+
*.iml
34+
*.hprof
35+
.cxx/
36+
*.keystore
37+
!debug.keystore
38+
39+
# node.js
40+
#
41+
node_modules/
42+
npm-debug.log
43+
yarn-error.log
44+
45+
# fastlane
46+
#
47+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
48+
# screenshots whenever they are needed.
49+
# For more information about the recommended setup visit:
50+
# https://docs.fastlane.tools/best-practices/source-control/
51+
52+
**/fastlane/report.xml
53+
**/fastlane/Preview.html
54+
**/fastlane/screenshots
55+
**/fastlane/test_output
56+
57+
# Bundle artifact
58+
*.jsbundle
59+
60+
# Ruby / CocoaPods
61+
/ios/Pods/
62+
/vendor/bundle/
63+
64+
# Temporary files created by Metro to check the health of the file watcher
65+
.metro-health-check*
66+
67+
# testing
68+
/coverage
2069

2170
#-----------------------------------------#
71+
2272
/demo/
2373
/sdk/dist/
2474
/sdk/node_modules/

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
1111
},
1212
"dependencies": {
13-
"@react-native-async-storage/async-storage": "^1.13.3",
13+
"@react-native-async-storage/async-storage": "1.13.3",
1414
"@react-native-community/checkbox": "^0.5.7",
1515
"@react-navigation/bottom-tabs": "^5.11.7",
1616
"@react-navigation/native": "^5.9.2",

sdk/android/build.gradle

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// - https://github.com/facebook/react-native/blob/0.58-stable/local-cli/templates/HelloWorld/android/app/build.gradle
1212

1313
def DEFAULT_COMPILE_SDK_VERSION = 28
14-
def DEFAULT_BUILD_TOOLS_VERSION = '28.0.3'
14+
def DEFAULT_BUILD_TOOLS_VERSION = '30.0.3'
1515
def DEFAULT_MIN_SDK_VERSION = 19
1616
def DEFAULT_TARGET_SDK_VERSION = 28
1717

@@ -33,7 +33,7 @@ buildscript {
3333
mavenCentral()
3434
}
3535
dependencies {
36-
classpath 'com.android.tools.build:gradle:3.4.1'
36+
classpath 'com.android.tools.build:gradle:7.4.2'
3737
}
3838
}
3939
}
@@ -42,7 +42,6 @@ apply plugin: 'com.android.library'
4242
apply plugin: 'maven-publish'
4343

4444
android {
45-
namespace 'com.raygun.react'
4645
compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
4746
buildToolsVersion safeExtGet('buildToolsVersion', DEFAULT_BUILD_TOOLS_VERSION)
4847
defaultConfig {
@@ -114,7 +113,7 @@ afterEvaluate { project ->
114113
version packageJson.version
115114

116115
pom {
117-
name = packageJson.title
116+
name = packageJson.title
118117
group = "com.raygun.react"
119118
description = packageJson.description
120119
url = packageJson.repository.baseUrl

sdk/android/gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Enable use of AndroidX dependencies
2+
android.useAndroidX=true
3+
# Enable Jetifier to automatically convert existing third-party libraries to use AndroidX
4+
android.enableJetifier=true
-57.8 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<manifest package="com.raygun.react"></manifest>

sdk/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
"license": "MIT",
4545
"licenseFilename": "LICENSE",
4646
"readmeFilename": "README.md",
47+
"dependencies": {
48+
"@react-native-async-storage/async-storage": "^1.13.4"
49+
},
4750
"peerDependencies": {
4851
"@react-native-async-storage/async-storage": "^1.13.3"
4952
},
@@ -73,8 +76,5 @@
7376
"run-script-os": "^1.1.5",
7477
"ts-jest": "^26.4.0",
7578
"typescript": "^3.9.7"
76-
},
77-
"dependencies": {
78-
"@react-native-async-storage/async-storage": "^1.13.4"
7979
}
8080
}

sdk/raygun4reactnative.podspec

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,13 @@ Pod::Spec.new do |s|
1515
# optional - use expanded license entry instead:
1616
# s.license = { :type => "MIT", :file => "LICENSE" }
1717
s.authors = { "MindscapeHQ" => "hello@raygun.io" }
18-
s.platforms = { :ios => "12.0" }
18+
s.platforms = { :ios => "10.0" }
1919
s.source = { :git => "https://github.com/hunteva/raygun4reactnative.git", :branch => "kerwin/refactory/storage" }
2020

2121
s.source_files = "ios/**/*.{h,c,m,swift}"
2222
s.requires_arc = true
2323

2424
s.dependency "React-Core"
25-
s.dependency "raygun4apple", '~> 2.0.0'
25+
s.dependency "raygun4apple", '~> 1.5.1'
2626

2727
end
28-

0 commit comments

Comments
 (0)