react-native-maps 1.21.0-alpha.108 → 1.21.0-alpha.109

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.
@@ -58,7 +58,7 @@ android {
58
58
 
59
59
  defaultConfig {
60
60
  minSdkVersion safeExtGet('minSdkVersion', 21)
61
- targetSdkVersion safeExtGet('targetSdkVersion', 35)
61
+ targetSdkVersion safeExtGet('targetSdkVersion', 34)
62
62
 
63
63
  buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
64
64
 
@@ -1,5 +1,5 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
4
4
  zipStoreBase=GRADLE_USER_HOME
5
5
  zipStorePath=wrapper/dists
@@ -20,13 +20,8 @@
20
20
  if (!existingClass) {
21
21
  // If the class does not exist, create a new class that is a subclass of NSObject
22
22
  Class newClass = objc_allocateClassPair([NSObject class], className, 0);
23
-
24
23
  // Register the new class with the runtime
25
24
  objc_registerClassPair(newClass);
26
-
27
- NSLog(@"Class %s created successfully.", className);
28
- } else {
29
- NSLog(@"Class %s already exists.", className);
30
25
  }
31
26
  }
32
27
 
package/lib/MapView.js CHANGED
@@ -52,7 +52,7 @@ exports.MAP_TYPES = {
52
52
  class MapView extends React.Component {
53
53
  static Animated;
54
54
  map;
55
- fabricMap;
55
+ fabricMap = React.createRef();
56
56
  constructor(props) {
57
57
  super(props);
58
58
  this.map = React.createRef();
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": "1.21.0-alpha.108",
8
+ "version": "1.21.0-alpha.109",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "lint": "eslint . --max-warnings 0",
@@ -46,8 +46,8 @@
46
46
  "mapkit"
47
47
  ],
48
48
  "peerDependencies": {
49
- "react": ">= 19.0.0",
50
- "react-native": ">= 0.78.0",
49
+ "react": ">= 18.3.1",
50
+ "react-native": ">= 0.77.1",
51
51
  "react-native-web": ">= 0.11"
52
52
  },
53
53
  "peerDependenciesMeta": {
@@ -62,23 +62,23 @@
62
62
  "@commitlint/cli": "17.6.1",
63
63
  "@commitlint/config-conventional": "17.6.1",
64
64
  "@react-native-community/cli": "15.1.3",
65
- "@react-native/babel-preset": "0.78.0",
66
- "@react-native/eslint-config": "0.78.0",
67
- "@react-native/metro-config": "0.78.0",
68
- "@react-native/typescript-config": "0.78.0",
65
+ "@react-native/babel-preset": "0.77.1",
66
+ "@react-native/eslint-config": "0.77.1",
67
+ "@react-native/metro-config": "0.77.1",
68
+ "@react-native/typescript-config": "0.77.1",
69
69
  "@semantic-release/changelog": "6.0.3",
70
70
  "@semantic-release/git": "10.0.1",
71
71
  "@types/jest": "29.5.14",
72
- "@types/react": "^19.0.10",
72
+ "@types/react": "^18.2.6",
73
73
  "@types/react-native": "0.73.0",
74
- "@types/react-test-renderer": "^19.0.0",
74
+ "@types/react-test-renderer": "^18.0.0",
75
75
  "eslint": "^8.19.0",
76
76
  "husky": "8.0.3",
77
77
  "jest": "^29.6.3",
78
78
  "prettier": "2.8.8",
79
- "react": "^19.0.0",
80
- "react-native": "^0.78.0",
81
- "react-test-renderer": "19.0.0",
79
+ "react": "^18.3.1",
80
+ "react-native": "^0.77.1",
81
+ "react-test-renderer": "18.3.1",
82
82
  "semantic-release": "24.2.0",
83
83
  "typescript": "5.0.4"
84
84
  },