@op-engineering/op-sqlite 5.0.0 → 5.0.1
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/android/build.gradle +1 -1
- package/op-sqlite.podspec +3 -3
- package/package.json +1 -1
package/android/build.gradle
CHANGED
package/op-sqlite.podspec
CHANGED
|
@@ -12,10 +12,10 @@ parent_folder_name = File.basename(__dir__)
|
|
|
12
12
|
app_package = nil
|
|
13
13
|
# for development purposes on user machines the podspec should be able to read the package.json from the root folder
|
|
14
14
|
# since it lives inside node_modules/@op-engineering/op-sqlite
|
|
15
|
-
if
|
|
16
|
-
app_package = JSON.parse(File.read(File.join(__dir__, "
|
|
15
|
+
if __dir__.include?("node_modules")
|
|
16
|
+
app_package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "package.json")))
|
|
17
17
|
else
|
|
18
|
-
app_package = JSON.parse(File.read(File.join(__dir__, "
|
|
18
|
+
app_package = JSON.parse(File.read(File.join(__dir__, "example", "package.json")))
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
op_sqlite_config = app_package["op-sqlite"]
|