Skip to content

Commit 51a46ed

Browse files
Merge conflicts
2 parents d7d6626 + 8051aa9 commit 51a46ed

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ at com.transistorsoft.locationmanager.location.SingleLocationRequest.start(Singl
2525
.
2626
```
2727

28+
## 4.10.1 — 2023-03-13
29+
* [Android] Fix expo plugin failing on Expo SDK >= 48. Regular expressions failed because Expo changed lines in the build.gradle files that the Expo plugin was using for anchors for where to inject new src. Changed to use more fundamental anchor elements for regular expressions that must exist.
30+
2831
## 4.10.0 — 2023-02-01
2932
* [Fixed][Android] Implement support for `play-services-location v21` (`ext.playServicesLocationVersion` in your `android/build.gradle`). The plugin can now work with either `<= v20` or `>= v21`.
3033

expo/plugin/src/androidPlugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const applyAppGradle = (buildGradle:string) => {
8888
tag: `[${MODULE_NAME}]-project`,
8989
src: buildGradle,
9090
newSrc: newSrc.join("\n"),
91-
anchor: /\"react\.gradle\"\)/,
91+
anchor: /android\s\{/,
9292
offset: 1,
9393
comment: "//",
9494
}).contents;
@@ -140,7 +140,7 @@ const applyMavenUrl = (buildGradle: string):string => {
140140
tag: `[${MODULE_NAME}-maven`,
141141
src: buildGradle,
142142
newSrc: `\tmaven { url "\${project(":${MODULE_NAME}").projectDir}/libs" }`,
143-
anchor: /mavenLocal\(\)/,
143+
anchor: /maven\s\{/,
144144
offset: 1,
145145
comment: "//",
146146
}).contents;
Binary file not shown.

0 commit comments

Comments
 (0)