@jacques_gordon/expo-mapbox-navigation 2.0.3 → 2.0.4

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/app.plugin.js CHANGED
@@ -58,19 +58,6 @@ const withMapboxNavigation = (config, options = {}) => {
58
58
  }
59
59
  }
60
60
 
61
- // Add Notifee Maven repo if not already present
62
- // Fixes: "Could not find any matches for app.notifee:core:+"
63
- if (!contents.includes('dl.cloudsmith.io/public/notifee')) {
64
- const notifeeRepo = `
65
- maven { url 'https://dl.cloudsmith.io/public/notifee/notifee/maven/' }`;
66
-
67
- if (contents.includes('allprojects') && contents.includes('repositories')) {
68
- contents = contents.replace(
69
- /allprojects\s*\{[\s\S]*?repositories\s*\{/,
70
- (match) => match + notifeeRepo
71
- );
72
- }
73
- }
74
61
 
75
62
  mod.modResults.contents = contents;
76
63
  return mod;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jacques_gordon/expo-mapbox-navigation",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Expo module for Mapbox Navigation SDK with 16KB page size support, NDK27, and Mapbox Maps v11.11.0+",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -58,19 +58,6 @@ const withMapboxNavigation = (config, options = {}) => {
58
58
  }
59
59
  }
60
60
 
61
- // Add Notifee Maven repo if not already present
62
- // Fixes: "Could not find any matches for app.notifee:core:+"
63
- if (!contents.includes('dl.cloudsmith.io/public/notifee')) {
64
- const notifeeRepo = `
65
- maven { url 'https://dl.cloudsmith.io/public/notifee/notifee/maven/' }`;
66
-
67
- if (contents.includes('allprojects') && contents.includes('repositories')) {
68
- contents = contents.replace(
69
- /allprojects\s*\{[\s\S]*?repositories\s*\{/,
70
- (match) => match + notifeeRepo
71
- );
72
- }
73
- }
74
61
 
75
62
  mod.modResults.contents = contents;
76
63
  return mod;