Skip to content

Commit 34a40f1

Browse files
committed
chore: Update dependencies and build configurations
Updates project dependencies and build-related configurations. This commit updates the `openiap` dependency to version `1.2.2`. It also includes improvements to the Android build script for locating version files and adds a new VS Code launch configuration for easier debugging on iOS devices.
1 parent 5c52333 commit 34a40f1

File tree

3 files changed

+32
-9
lines changed

3 files changed

+32
-9
lines changed

.vscode/launch.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,15 @@
8585
"cwd": "${workspaceFolder}/example",
8686
"flutterMode": "release",
8787
"args": []
88+
},
89+
{
90+
"name": "Example (iOS Device)",
91+
"type": "dart",
92+
"request": "launch",
93+
"program": "lib/main.dart",
94+
"cwd": "${workspaceFolder}/example",
95+
"deviceId": "00008101-0006455036D8001E",
96+
"args": []
8897
}
8998
],
9099
"compounds": []

android/build.gradle

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
import groovy.json.JsonSlurper
22

3-
def openiapVersionsFile = new File(rootDir.parentFile, 'openiap-versions.json')
3+
static File locateOpeniapVersionsFile(File startDir) {
4+
File current = startDir
5+
while (current != null) {
6+
File candidate = new File(current, 'openiap-versions.json')
7+
if (candidate.exists()) {
8+
return candidate
9+
}
10+
current = current.getParentFile()
11+
}
12+
throw new GradleException(
13+
"Unable to locate openiap-versions.json starting from ${startDir.absolutePath}"
14+
)
15+
}
16+
17+
def openiapVersionsFile = locateOpeniapVersionsFile(rootDir)
418
def openiapVersions = new JsonSlurper().parse(openiapVersionsFile)
519
def openiapGoogleVersion = openiapVersions['google']
620

example/ios/Podfile.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ PODS:
22
- Flutter (1.0.0)
33
- flutter_inapp_purchase (0.0.1):
44
- Flutter
5-
- openiap (= 1.1.12)
6-
- openiap (1.1.12)
5+
- openiap (= 1.2.2)
6+
- openiap (1.2.2)
77

88
DEPENDENCIES:
99
- Flutter (from `Flutter`)
1010
- flutter_inapp_purchase (from `.symlinks/plugins/flutter_inapp_purchase/ios`)
11-
- openiap (from `https://github.com/hyodotdev/openiap-apple.git`, tag `1.1.12`)
11+
- openiap (from `https://github.com/hyodotdev/openiap-apple.git`, tag `1.2.2`)
1212

1313
EXTERNAL SOURCES:
1414
Flutter:
@@ -17,18 +17,18 @@ EXTERNAL SOURCES:
1717
:path: ".symlinks/plugins/flutter_inapp_purchase/ios"
1818
openiap:
1919
:git: https://github.com/hyodotdev/openiap-apple.git
20-
:tag: 1.1.12
20+
:tag: 1.2.2
2121

2222
CHECKOUT OPTIONS:
2323
openiap:
2424
:git: https://github.com/hyodotdev/openiap-apple.git
25-
:tag: 1.1.12
25+
:tag: 1.2.2
2626

2727
SPEC CHECKSUMS:
2828
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
29-
flutter_inapp_purchase: 8e8e96cc14bc141e3ffd432012fc9d4e347f8f71
30-
openiap: e207e50cc83dc28cd00c3701421a12eacdbd163a
29+
flutter_inapp_purchase: 50cbf415ba7058ee0042620d433cddd2ff4cb09d
30+
openiap: ea0f37fb1d08cd982ee4dfc219bd2e9c0656822c
3131

32-
PODFILE CHECKSUM: 9446ef2faab77e656d46b3aaf8938ab324919b93
32+
PODFILE CHECKSUM: 55b4ebbe613025bc8eab828c4569a30387a623c1
3333

3434
COCOAPODS: 1.16.2

0 commit comments

Comments
 (0)