cordova-plugin-crosswire-sword 0.2.6 → 0.2.8

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.
Files changed (65) hide show
  1. package/RELEASENOTES.md +16 -0
  2. package/libs/android/arm64-v8a/libc++_shared.so +0 -0
  3. package/libs/android/arm64-v8a/libcrypto.so +0 -0
  4. package/libs/android/arm64-v8a/libcurl.so +0 -0
  5. package/libs/android/arm64-v8a/libssl.so +0 -0
  6. package/libs/android/arm64-v8a/libsword.so +0 -0
  7. package/libs/android/armeabi-v7a/libc++_shared.so +0 -0
  8. package/libs/android/armeabi-v7a/libcrypto.so +0 -0
  9. package/libs/android/armeabi-v7a/libcurl.so +0 -0
  10. package/libs/android/armeabi-v7a/libssl.so +0 -0
  11. package/libs/android/armeabi-v7a/libsword.so +0 -0
  12. package/libs/android/x86/libc++_shared.so +0 -0
  13. package/libs/android/x86/libcrypto.so +0 -0
  14. package/libs/android/x86/libcurl.so +0 -0
  15. package/libs/android/x86/libssl.so +0 -0
  16. package/libs/android/x86/libsword.so +0 -0
  17. package/libs/android/x86_64/libc++_shared.so +0 -0
  18. package/libs/android/x86_64/libcrypto.so +0 -0
  19. package/libs/android/x86_64/libcurl.so +0 -0
  20. package/libs/android/x86_64/libssl.so +0 -0
  21. package/libs/android/x86_64/libsword.so +0 -0
  22. package/libs/ios/SWORD.xcframework/Info.plist +43 -0
  23. package/libs/ios/SWORD.xcframework/ios-arm64/libSWORD.a +4 -0
  24. package/libs/ios/SWORD.xcframework/ios-arm64-simulator/libSWORD.a +4 -0
  25. package/libs/ios/curl.xcframework/Info.plist +47 -0
  26. package/libs/ios/curl.xcframework/ios-arm64/Headers/curl/curl.h +3373 -0
  27. package/libs/ios/curl.xcframework/ios-arm64/Headers/curl/curlver.h +77 -0
  28. package/libs/ios/curl.xcframework/ios-arm64/Headers/curl/easy.h +123 -0
  29. package/libs/ios/curl.xcframework/ios-arm64/Headers/curl/header.h +74 -0
  30. package/libs/ios/curl.xcframework/ios-arm64/Headers/curl/mprintf.h +85 -0
  31. package/libs/ios/curl.xcframework/ios-arm64/Headers/curl/multi.h +560 -0
  32. package/libs/ios/curl.xcframework/ios-arm64/Headers/curl/options.h +70 -0
  33. package/libs/ios/curl.xcframework/ios-arm64/Headers/curl/stdcheaders.h +35 -0
  34. package/libs/ios/curl.xcframework/ios-arm64/Headers/curl/system.h +399 -0
  35. package/libs/ios/curl.xcframework/ios-arm64/Headers/curl/typecheck-gcc.h +964 -0
  36. package/libs/ios/curl.xcframework/ios-arm64/Headers/curl/urlapi.h +156 -0
  37. package/libs/ios/curl.xcframework/ios-arm64/Headers/curl/websockets.h +98 -0
  38. package/libs/ios/curl.xcframework/ios-arm64/libcurl-all.a +0 -0
  39. package/libs/ios/curl.xcframework/ios-arm64-simulator/Headers/curl/curl.h +3373 -0
  40. package/libs/ios/curl.xcframework/ios-arm64-simulator/Headers/curl/curlver.h +77 -0
  41. package/libs/ios/curl.xcframework/ios-arm64-simulator/Headers/curl/easy.h +123 -0
  42. package/libs/ios/curl.xcframework/ios-arm64-simulator/Headers/curl/header.h +74 -0
  43. package/libs/ios/curl.xcframework/ios-arm64-simulator/Headers/curl/mprintf.h +85 -0
  44. package/libs/ios/curl.xcframework/ios-arm64-simulator/Headers/curl/multi.h +560 -0
  45. package/libs/ios/curl.xcframework/ios-arm64-simulator/Headers/curl/options.h +70 -0
  46. package/libs/ios/curl.xcframework/ios-arm64-simulator/Headers/curl/stdcheaders.h +35 -0
  47. package/libs/ios/curl.xcframework/ios-arm64-simulator/Headers/curl/system.h +399 -0
  48. package/libs/ios/curl.xcframework/ios-arm64-simulator/Headers/curl/typecheck-gcc.h +964 -0
  49. package/libs/ios/curl.xcframework/ios-arm64-simulator/Headers/curl/urlapi.h +156 -0
  50. package/libs/ios/curl.xcframework/ios-arm64-simulator/Headers/curl/websockets.h +98 -0
  51. package/libs/ios/curl.xcframework/ios-arm64-simulator/libcurl-all.a +0 -0
  52. package/package.json +10 -1
  53. package/plugin.xml +12 -12
  54. package/src/android/AndroidMgr.java +183 -1
  55. package/src/android/InstallMgr.java +1 -1
  56. package/src/android/SWMgr.java +82 -5
  57. package/src/android/SWModule.java +26 -2
  58. package/src/android/SWORD.java +299 -15
  59. package/src/android/SafStorage.java +344 -0
  60. package/src/ios/SWORD.swift +140 -21
  61. package/src/ios/defs.h +1 -1
  62. package/src/ios/flatapi.h +10 -4
  63. package/www/SWORD.js +161 -0
  64. package/libs/ios/libSWORD.a +0 -0
  65. package/libs/ios/libcurl.a +0 -0
package/RELEASENOTES.md CHANGED
@@ -20,6 +20,22 @@
20
20
  -->
21
21
  # Release Notes
22
22
 
23
+ ### 0.2.8 (Aug 22, 2026)
24
+ * iOS: builds with cordova-ios 8 and Xcode 27 (xcframeworks for libsword and curl 8.22 with OpenSSL 3.5.8, verified against the iOS trust store)
25
+ * The native binaries of both platforms are no longer in git: `make fetch` in bindings/Android and `make ios` in bindings/objc/dependencies download the published sets from crosswire.org
26
+ * SWMgr.readFile/writeFile/listDir/removeFile/mkdir: plain file access through the engine's FileMgr, so paths in a shared (SAF) library work
27
+ * SWMgr.getDataPath/getDataStorage/chooseDataStorage/clearDataStorage/describeTree: a separately granted study-data folder (e.g. on Google Drive) for bookmarks and the like
28
+ * Android: writes to non-local document providers (Drive...) are staged and committed on close; such providers only accept content through a Java-side close
29
+ * Android: actions on the same module run in order, different modules in parallel; chapter rendering and search run on engine-side clones (SWModule::clone), so the UI never waits on them
30
+ * Android: re-initialisation keeps retiring managers alive briefly instead of deleting them, so renders and searches in flight survive a storage change
31
+ * SWModule.SEARCHFLAG_MATCHWHOLEENTRY / SEARCHFLAG_STRICTBOUNDARIES search flag constants
32
+ * SWMgr.getLaunchUrl and Android/iOS handling of sword:// and bible:// links (sword://module/key; empty module = the app's current Bible)
33
+ * Android: default lexica re-resolved after augmenting modules (crash on the first Strong's render after choosing a shared library)
34
+
35
+ ### 0.2.7 (Aug 19, 2026)
36
+ * SWMgr.getSharedStorage/chooseSharedStorage/clearSharedStorage: Android shared module library in a Storage Access Framework folder (e.g. Documents/sword) usable by several SWORD apps
37
+ * makeRequest returns the error body on HTTP error statuses
38
+
23
39
  ### 0.2.4 (Dec 7, 2020)
24
40
  * Updated documentation
25
41
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,43 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>AvailableLibraries</key>
6
+ <array>
7
+ <dict>
8
+ <key>BinaryPath</key>
9
+ <string>libSWORD.a</string>
10
+ <key>LibraryIdentifier</key>
11
+ <string>ios-arm64-simulator</string>
12
+ <key>LibraryPath</key>
13
+ <string>libSWORD.a</string>
14
+ <key>SupportedArchitectures</key>
15
+ <array>
16
+ <string>arm64</string>
17
+ </array>
18
+ <key>SupportedPlatform</key>
19
+ <string>ios</string>
20
+ <key>SupportedPlatformVariant</key>
21
+ <string>simulator</string>
22
+ </dict>
23
+ <dict>
24
+ <key>BinaryPath</key>
25
+ <string>libSWORD.a</string>
26
+ <key>LibraryIdentifier</key>
27
+ <string>ios-arm64</string>
28
+ <key>LibraryPath</key>
29
+ <string>libSWORD.a</string>
30
+ <key>SupportedArchitectures</key>
31
+ <array>
32
+ <string>arm64</string>
33
+ </array>
34
+ <key>SupportedPlatform</key>
35
+ <string>ios</string>
36
+ </dict>
37
+ </array>
38
+ <key>CFBundlePackageType</key>
39
+ <string>XFWK</string>
40
+ <key>XCFrameworkFormatVersion</key>
41
+ <string>1.0</string>
42
+ </dict>
43
+ </plist>
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: package/libs/ios/SWORD.xcframework/ios-arm64/libSWORD.a
3
+ size: 37277640 bytes
4
+ sha256: d4e974f37e98c9b7f39b1b8d253066bf01b3379f40dc13d29ef85930f17e01b4
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: package/libs/ios/SWORD.xcframework/ios-arm64-simulator/libSWORD.a
3
+ size: 37320688 bytes
4
+ sha256: bd561095edca8a5277528bcd3140cc14b474d85498dd891d6656dd93e180db57
@@ -0,0 +1,47 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>AvailableLibraries</key>
6
+ <array>
7
+ <dict>
8
+ <key>BinaryPath</key>
9
+ <string>libcurl-all.a</string>
10
+ <key>HeadersPath</key>
11
+ <string>Headers</string>
12
+ <key>LibraryIdentifier</key>
13
+ <string>ios-arm64</string>
14
+ <key>LibraryPath</key>
15
+ <string>libcurl-all.a</string>
16
+ <key>SupportedArchitectures</key>
17
+ <array>
18
+ <string>arm64</string>
19
+ </array>
20
+ <key>SupportedPlatform</key>
21
+ <string>ios</string>
22
+ </dict>
23
+ <dict>
24
+ <key>BinaryPath</key>
25
+ <string>libcurl-all.a</string>
26
+ <key>HeadersPath</key>
27
+ <string>Headers</string>
28
+ <key>LibraryIdentifier</key>
29
+ <string>ios-arm64-simulator</string>
30
+ <key>LibraryPath</key>
31
+ <string>libcurl-all.a</string>
32
+ <key>SupportedArchitectures</key>
33
+ <array>
34
+ <string>arm64</string>
35
+ </array>
36
+ <key>SupportedPlatform</key>
37
+ <string>ios</string>
38
+ <key>SupportedPlatformVariant</key>
39
+ <string>simulator</string>
40
+ </dict>
41
+ </array>
42
+ <key>CFBundlePackageType</key>
43
+ <string>XFWK</string>
44
+ <key>XCFrameworkFormatVersion</key>
45
+ <string>1.0</string>
46
+ </dict>
47
+ </plist>