react-native-maps 2.0.0-beta.1 → 2.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,7 +14,7 @@ See [Setup Instructions for the Included Example Project](docs/examples-setup.md
14
14
 
15
15
  ## Compatibility
16
16
 
17
- `react-native-maps` requires `react-native >= 0.64.3`.
17
+ `react-native-maps` requires `react-native >= 0.69.0`.
18
18
 
19
19
  ## Component API
20
20
 
@@ -12,7 +12,7 @@ buildscript {
12
12
  mavenCentral()
13
13
  }
14
14
  dependencies {
15
- classpath("com.android.tools.build:gradle:4.2.2")
15
+ classpath("com.android.tools.build:gradle:7.1.1")
16
16
  }
17
17
  }
18
18
  }
@@ -29,24 +29,55 @@ android {
29
29
  }
30
30
 
31
31
  repositories {
32
- mavenLocal()
33
- mavenCentral()
34
32
  maven {
35
33
  // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
36
- url "$rootDir/../node_modules/react-native/android"
34
+ url("$rootDir/../node_modules/react-native/android")
37
35
  }
38
36
  maven {
39
37
  // Android JSC is installed from npm
40
- url "$rootDir/../node_modules/jsc-android/dist"
38
+ url("$rootDir/../node_modules/jsc-android/dist")
39
+ }
40
+ mavenCentral {
41
+ // We don't want to fetch react-native from Maven Central as there are
42
+ // older versions over there.
43
+ content {
44
+ excludeGroup "com.facebook.react"
45
+ }
41
46
  }
42
47
  google()
48
+ maven { url 'https://www.jitpack.io' }
43
49
  }
44
50
 
45
51
  dependencies {
46
52
  implementation 'com.facebook.react:react-native:+'
47
- implementation "com.google.android.gms:play-services-base:${safeExtGet('playServicesVersion', '18.1.0')}"
48
- implementation "com.google.android.gms:play-services-maps:${safeExtGet('playServicesVersion', '18.0.2')}"
49
- implementation "com.google.android.gms:play-services-location:20.0.0"
50
- implementation 'com.google.maps.android:android-maps-utils:3.4.0'
51
- implementation "androidx.work:work-runtime:2.7.1"
53
+ implementation('com.google.android.gms:play-services-base') {
54
+ version {
55
+ strictly '[18.0.1, 19.0.0['
56
+ prefer '18.1.0'
57
+ }
58
+ }
59
+ implementation('com.google.android.gms:play-services-maps') {
60
+ version {
61
+ strictly '[18.0.0, 19.0.0['
62
+ prefer '18.0.2'
63
+ }
64
+ }
65
+ implementation('com.google.android.gms:play-services-location') {
66
+ version {
67
+ strictly '[20.0.0, 21.0.0['
68
+ prefer '20.0.0'
69
+ }
70
+ }
71
+ implementation('com.google.maps.android:android-maps-utils') {
72
+ version {
73
+ strictly '[3.0.0, 4.0.0['
74
+ prefer '3.4.0'
75
+ }
76
+ }
77
+ implementation('androidx.work:work-runtime') {
78
+ version {
79
+ strictly '[2.7.1, 3.0.0['
80
+ prefer '2.7.1'
81
+ }
82
+ }
52
83
  }
@@ -1,5 +1,5 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
4
4
  zipStoreBase=GRADLE_USER_HOME
5
5
  zipStorePath=wrapper/dists
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "main": "lib/index.js",
6
6
  "author": "Leland Richardson <leland.m.richardson@gmail.com>",
7
7
  "homepage": "https://github.com/react-native-maps/react-native-maps#readme",
8
- "version": "2.0.0-beta.1",
8
+ "version": "2.0.0-beta.3",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "lint": "eslint . --max-warnings 0",
@@ -45,8 +45,8 @@
45
45
  "mapkit"
46
46
  ],
47
47
  "peerDependencies": {
48
- "react": ">= 17.0.1",
49
- "react-native": ">= 0.64.3",
48
+ "react": ">= 18.0.0",
49
+ "react-native": ">= 0.69.0",
50
50
  "react-native-web": ">= 0.11"
51
51
  },
52
52
  "peerDependenciesMeta": {