cordova-plugin-crosswire-sword 0.2.12 → 0.2.13
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/RELEASENOTES.md +4 -0
- package/libs/android/arm64-v8a/libsword.so +0 -0
- package/libs/android/armeabi-v7a/libsword.so +0 -0
- package/libs/android/x86/libsword.so +0 -0
- package/libs/android/x86_64/libsword.so +0 -0
- package/libs/ios/SWORD.xcframework/Info.plist +4 -4
- package/libs/ios/SWORD.xcframework/ios-arm64/libSWORD.a +2 -2
- package/libs/ios/SWORD.xcframework/ios-arm64-simulator/libSWORD.a +2 -2
- package/package.json +4 -1
- package/plugin.xml +1 -1
- package/src/ios/flatapi.h +16 -0
package/RELEASENOTES.md
CHANGED
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
-->
|
|
21
21
|
# Release Notes
|
|
22
22
|
|
|
23
|
+
### 0.2.13 (Oct 6, 2026)
|
|
24
|
+
* BibleSync: every call into the library is made under one lock, on both platforms. Its receive loop runs on a thread of the plugin's while the page's sends and questions arrive on Cordova's, and the library keeps no lock of its own; a verse sent as a packet was being received could be refused as "still receiving", or worse
|
|
25
|
+
* iOS: the engine header the Swift bridge compiles against is refreshed whenever the package is built
|
|
26
|
+
|
|
23
27
|
### 0.2.12 (Oct 5, 2026)
|
|
24
28
|
* BibleSync on a network that loses packets, as Wi-Fi does: each verse carries a sequence number and is sent three times, which a receiver shows once; a peer is kept through half an hour of silence, not one minute; a newcomer is answered at once, twice; a beacon every 10 seconds (biblesync 2.2.0 with pull requests 19 and 20)
|
|
25
29
|
* startBibleSync takes options { repeatCount, repeatDelayMS, peerLifetimeS }; the defaults are 2, 500 and 1800
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
9
|
<string>libSWORD.a</string>
|
|
10
10
|
<key>LibraryIdentifier</key>
|
|
11
|
-
<string>ios-arm64</string>
|
|
11
|
+
<string>ios-arm64-simulator</string>
|
|
12
12
|
<key>LibraryPath</key>
|
|
13
13
|
<string>libSWORD.a</string>
|
|
14
14
|
<key>SupportedArchitectures</key>
|
|
@@ -17,12 +17,14 @@
|
|
|
17
17
|
</array>
|
|
18
18
|
<key>SupportedPlatform</key>
|
|
19
19
|
<string>ios</string>
|
|
20
|
+
<key>SupportedPlatformVariant</key>
|
|
21
|
+
<string>simulator</string>
|
|
20
22
|
</dict>
|
|
21
23
|
<dict>
|
|
22
24
|
<key>BinaryPath</key>
|
|
23
25
|
<string>libSWORD.a</string>
|
|
24
26
|
<key>LibraryIdentifier</key>
|
|
25
|
-
<string>ios-arm64
|
|
27
|
+
<string>ios-arm64</string>
|
|
26
28
|
<key>LibraryPath</key>
|
|
27
29
|
<string>libSWORD.a</string>
|
|
28
30
|
<key>SupportedArchitectures</key>
|
|
@@ -31,8 +33,6 @@
|
|
|
31
33
|
</array>
|
|
32
34
|
<key>SupportedPlatform</key>
|
|
33
35
|
<string>ios</string>
|
|
34
|
-
<key>SupportedPlatformVariant</key>
|
|
35
|
-
<string>simulator</string>
|
|
36
36
|
</dict>
|
|
37
37
|
</array>
|
|
38
38
|
<key>CFBundlePackageType</key>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/libs/ios/SWORD.xcframework/ios-arm64/libSWORD.a
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 37343432 bytes
|
|
4
|
+
sha256: b0a320876d2a063731888664d4a30338e9fa1044e90c3474c343da2e94d7af50
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/libs/ios/SWORD.xcframework/ios-arm64-simulator/libSWORD.a
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 37386424 bytes
|
|
4
|
+
sha256: da32b199627dac42856912d00b71a959e402f45eaf4b72777a30507765fcd26d
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cordova-plugin-crosswire-sword",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.13",
|
|
4
4
|
"description": "The SWORD Project Plugin",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"prepack": "cp ../../../include/defs.h ../../../include/flatapi.h src/ios/"
|
|
7
|
+
},
|
|
5
8
|
"files": [
|
|
6
9
|
"plugin.xml",
|
|
7
10
|
"libs",
|
package/plugin.xml
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
xmlns:rim="http://www.blackberry.com/ns/widgets"
|
|
5
5
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
6
6
|
id="cordova-plugin-crosswire-sword"
|
|
7
|
-
version="0.2.
|
|
7
|
+
version="0.2.13">
|
|
8
8
|
<name>cordova-plugin-crosswire-sword</name>
|
|
9
9
|
<description>The SWORD Project Plugin</description>
|
|
10
10
|
<license>GNU 2.0</license>
|
package/src/ios/flatapi.h
CHANGED
|
@@ -611,6 +611,22 @@ void SWDLLEXPORT org_crosswire_sword_SWMgr_startBibleSync
|
|
|
611
611
|
void SWDLLEXPORT org_crosswire_sword_SWMgr_stopBibleSync
|
|
612
612
|
(SWHANDLE hMgr);
|
|
613
613
|
|
|
614
|
+
/*
|
|
615
|
+
* Class: org_crosswire_android_sword_SWMgr
|
|
616
|
+
* Method: setBibleSyncOptions
|
|
617
|
+
* Signature: (III)V
|
|
618
|
+
*/
|
|
619
|
+
void SWDLLEXPORT org_crosswire_sword_SWMgr_setBibleSyncOptions
|
|
620
|
+
(SWHANDLE hMgr, int repeatCount, int repeatDelayMS, int peerLifetimeS);
|
|
621
|
+
|
|
622
|
+
/*
|
|
623
|
+
* Class: org_crosswire_android_sword_SWMgr
|
|
624
|
+
* Method: getBibleSyncStatus
|
|
625
|
+
* Signature: ()Ljava/lang/String;
|
|
626
|
+
*/
|
|
627
|
+
const char * SWDLLEXPORT org_crosswire_sword_SWMgr_getBibleSyncStatus
|
|
628
|
+
(SWHANDLE hMgr);
|
|
629
|
+
|
|
614
630
|
/*
|
|
615
631
|
* Class: org_crosswire_android_sword_SWMgr
|
|
616
632
|
* Method: sendBibleSyncMessage
|