@woosmap/react-native-plugin-geofencing 1.0.0-beta.2 → 1.0.0-beta.3
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/CHANGELOG.md +1 -1
- package/README.md +0 -9
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/{reactnativeplugingeofencing → woosmap/reactnativeplugingeofencing}/AbstractPushHelper.java +1 -1
- package/android/src/main/java/com/{reactnativeplugingeofencing → woosmap/reactnativeplugingeofencing}/AirshipPushHelper.java +1 -1
- package/android/src/main/java/com/{reactnativeplugingeofencing → woosmap/reactnativeplugingeofencing}/WoosLocationReadyListener.java +1 -1
- package/android/src/main/java/com/{reactnativeplugingeofencing → woosmap/reactnativeplugingeofencing}/WoosRegionReadyListener.java +1 -1
- package/android/src/main/java/com/woosmap/reactnativeplugingeofencing/WoosmapGeofencingTurboModule.java +1025 -0
- package/android/src/main/java/com/{reactnativeplugingeofencing → woosmap/reactnativeplugingeofencing}/WoosmapGeofencingTurboPackage.java +3 -7
- package/android/src/main/java/com/{reactnativeplugingeofencing → woosmap/reactnativeplugingeofencing}/WoosmapMessageAndKey.java +2 -3
- package/android/src/main/java/com/{reactnativeplugingeofencing → woosmap/reactnativeplugingeofencing}/WoosmapTask.java +34 -128
- package/android/src/main/java/com/{reactnativeplugingeofencing → woosmap/reactnativeplugingeofencing}/WoosmapUtil.java +1 -1
- package/ios/WoosmapGeofenceMessage.swift +1 -0
- package/ios/WoosmapGeofencingTurbo.mm +110 -10
- package/ios/WoosmapGeofencingTurbo.swift +873 -11
- package/lib/commonjs/NativeWoosmapGeofencingTurbo.js +6 -3
- package/lib/commonjs/NativeWoosmapGeofencingTurbo.js.map +1 -1
- package/lib/commonjs/index.js +37 -131
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/NativeWoosmapGeofencingTurbo.js +6 -3
- package/lib/module/NativeWoosmapGeofencingTurbo.js.map +1 -1
- package/lib/module/index.js +37 -131
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/NativeWoosmapGeofencingTurbo.d.ts +37 -3
- package/lib/typescript/src/NativeWoosmapGeofencingTurbo.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +3 -3
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/NativeWoosmapGeofencingTurbo.ts +56 -3
- package/android/src/main/java/com/reactnativeplugingeofencing/PluginGeofencingModule.java +0 -1204
- package/android/src/main/java/com/reactnativeplugingeofencing/PluginGeofencingPackage.java +0 -28
- package/android/src/main/java/com/reactnativeplugingeofencing/WoosmapGeofencingTurboModule.java +0 -185
- package/ios/PluginGeofencing.mm +0 -123
- package/ios/PluginGeofencing.swift +0 -1243
- package/lib/commonjs/internal/nativeInterface.js +0 -13
- package/lib/commonjs/internal/nativeInterface.js.map +0 -1
- package/lib/module/internal/nativeInterface.js +0 -9
- package/lib/module/internal/nativeInterface.js.map +0 -1
- package/lib/typescript/src/internal/nativeInterface.d.ts +0 -3
- package/lib/typescript/src/internal/nativeInterface.d.ts.map +0 -1
- /package/ios/{PluginGeofencing-Bridging-Header.h → WoosmapGeofencing-Bridging-Header.h} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
## 1.0.0
|
|
2
|
-
- Enhancement:
|
|
2
|
+
- Enhancement: Completed the `WoosmapGeofencingTurbo` TurboModule migration (New Architecture). The module now extends `RCTEventEmitter` so it can both expose native methods and fire JS events, making `NativeEventEmitter(WoosmapGeofencingTurbo)` the single event source. All 33 methods — including `initialize`, `requestPermissions`, `requestBLEPermissions`, `requestNotificationPermissions`, `watchLocation`, `watchRegions`, and their clear variants — now dispatch through the generated codegen path. The legacy `PluginGeofencing` module (iOS `PluginGeofencing.swift`/`.mm` and Android `PluginGeofencingModule`/`PluginGeofencingPackage`) has been removed now that all methods live on the TurboModule. The public JS API is unchanged.
|
|
3
3
|
|
|
4
4
|
## 0.14.0
|
|
5
5
|
- Breaking: Raised minimum supported React Native to `0.85.x`; React `19.2.3`.
|
package/README.md
CHANGED
|
@@ -19,12 +19,3 @@ If you are looking for the Woosmap Geofencing React Native plugin documentation,
|
|
|
19
19
|
- iOS `>=15.1`
|
|
20
20
|
- Android: JDK 17, `minSdk` 24, `compileSdk`/`targetSdk` 36
|
|
21
21
|
- Node.js `>=22`
|
|
22
|
-
|
|
23
|
-
### React Native architectures
|
|
24
|
-
|
|
25
|
-
This release supports both the legacy bridge and the New Architecture (Fabric / TurboModules):
|
|
26
|
-
|
|
27
|
-
- **Legacy bridge** (`newArchEnabled=false` on Android, `RCT_NEW_ARCH_ENABLED=0` on iOS): the plugin is loaded natively as before.
|
|
28
|
-
- **New Architecture** (`newArchEnabled=true` / `RCT_NEW_ARCH_ENABLED=1`): the plugin is loaded through React Native's **interop layer**. No additional setup is required in your app — the plugin's native modules and event emitters are automatically wrapped as TurboModule-compatible instances at runtime.
|
|
29
|
-
|
|
30
|
-
A full TurboModule / Fabric-native rewrite is planned for a future major release. Until then, consumer apps can opt into the New Architecture without any changes to how they consume this plugin.
|
package/android/build.gradle
CHANGED