@tileflow/react-native 0.1.0-alpha.0 → 0.1.0-alpha.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.
@@ -12,8 +12,10 @@ import com.facebook.react.bridge.ReadableArray
12
12
  import com.facebook.react.bridge.ReadableMap
13
13
  import com.facebook.react.modules.core.DeviceEventManagerModule
14
14
  import com.facebook.react.common.LifecycleState
15
+ import com.facebook.react.module.annotations.ReactModule
15
16
  import org.maplibre.android.MapLibre
16
17
 
18
+ @ReactModule(name = "TileflowNativeAdmission")
17
19
  class TileflowNativeAdmissionModule(context: ReactApplicationContext) : ReactContextBaseJavaModule(context), LifecycleEventListener {
18
20
  private val scheduler = HandlerAdmissionScheduler()
19
21
  private var installation: String? = null
@@ -8,7 +8,9 @@ import com.facebook.react.bridge.ReactApplicationContext
8
8
  import com.facebook.react.bridge.ReactContextBaseJavaModule
9
9
  import com.facebook.react.bridge.ReactMethod
10
10
  import com.facebook.react.common.LifecycleState
11
+ import com.facebook.react.module.annotations.ReactModule
11
12
 
13
+ @ReactModule(name = "TileflowNativeDocuments")
12
14
  class TileflowNativeDocumentsModule(context: ReactApplicationContext) : ReactContextBaseJavaModule(context), LifecycleEventListener {
13
15
  private val scheduler = HandlerAdmissionScheduler()
14
16
  private val network = NativeDocumentOkHttpNetwork()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tileflow/react-native",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "0.1.0-alpha.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Tileflow maps, camera control and semantic interactions for React Native.",
6
6
  "type": "module",
@@ -36,7 +36,7 @@
36
36
  }
37
37
  },
38
38
  "dependencies": {
39
- "@tileflow/core": ">=0.1.0-alpha.27 <0.1.0-beta.0",
39
+ "@tileflow/core": ">=0.1.0-alpha.28 <0.1.0-beta.0",
40
40
  "@tileflow/interactions": ">=0.1.0-alpha.4 <0.1.0-beta.0"
41
41
  },
42
42
  "peerDependencies": {