@tinkerlandai/indiana-react-native 0.10.1 → 0.10.2
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/IndianaReactNative.podspec +1 -1
- package/README.md +5 -5
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/native-sdk/android/assets/indiana/index.html +36 -36
- package/native-sdk/android/java/ai/tinkerland/indiana/ContentView.kt +1 -1
- package/native-sdk/android/java/ai/tinkerland/indiana/FeatureClient.kt +1 -1
- package/native-sdk/android/java/ai/tinkerland/indiana/HTTPTransport.kt +1 -1
- package/native-sdk/android/java/ai/tinkerland/indiana/SDKVersion.kt +1 -1
- package/native-sdk/ios/ContentView.swift +1 -1
- package/native-sdk/ios/FeatureClient.swift +1 -1
- package/native-sdk/ios/HTTPTransport.swift +1 -1
- package/native-sdk/ios/SDKVersion.swift +1 -1
- package/native-sdk/ios/WebView/index.html +36 -36
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@ Pod::Spec.new do |s|
|
|
|
4
4
|
s.name = "IndianaReactNative"
|
|
5
5
|
s.version = package["version"]
|
|
6
6
|
s.summary = "Indiana Customer SDK native presentation and StoreKit bridge"
|
|
7
|
-
s.homepage = "https://
|
|
7
|
+
s.homepage = "https://longplayai.com"
|
|
8
8
|
s.license = { :type => "Proprietary" }
|
|
9
9
|
s.author = "Tinkerland"
|
|
10
10
|
s.source = { :git => "https://github.com/tinkerlandai/Indiana.git", :tag => "sdk-v#{s.version}" }
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Longplay React Native SDK
|
|
2
2
|
|
|
3
|
-
This source checkout is SDK 0.10.
|
|
3
|
+
This source checkout is SDK 0.10.2, protocol 0.10. Publication and runtime promotion are separate; check the [release ledger](../../docs/sdk-releases.md) and [environment state](../../docs/development-status.md) before selecting an install or API target. New capabilities below require this source candidate or its verified publication. Set the API origin explicitly: the SDK default is production.
|
|
4
4
|
|
|
5
5
|
React Native 0.79+ / Metro 0.82+ uses the shared portable Customer facade: identity/session refresh, holdings, entitlement checks, commercial commands, Coupons/Rewards/Referrals, Offering/Paywall/content resolution, experimentation, Analytics, Messaging and Push adapters. Funnel and independent Paywall data sessions share that identity. Trusted usage writes still go through the merchant backend.
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ The data client needs Fetch and AbortController, with no DOM or native linking.
|
|
|
9
9
|
Install the current release:
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
npm install --save-exact @tinkerlandai/indiana-react-native@0.
|
|
12
|
+
npm install --save-exact @tinkerlandai/indiana-react-native@0.10.2
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
```ts
|
|
@@ -17,7 +17,7 @@ import { createIndianaReactNative } from "@tinkerlandai/indiana-react-native";
|
|
|
17
17
|
|
|
18
18
|
const indiana = createIndianaReactNative({
|
|
19
19
|
scope: { projectId: "YOUR_APP_UUID", environment: "sandbox" },
|
|
20
|
-
baseUrl: "https://api.
|
|
20
|
+
baseUrl: "https://api.longplayai.com",
|
|
21
21
|
usageReporter: async (command) => {
|
|
22
22
|
const response = await fetch("https://your-app.example/api/usage", {
|
|
23
23
|
method: "POST",
|
|
@@ -85,7 +85,7 @@ const bridge = NativeModules.IndianaBridge;
|
|
|
85
85
|
const events = new NativeEventEmitter(bridge);
|
|
86
86
|
const indiana = createIndianaReactNative({
|
|
87
87
|
scope: { projectId, environment: "sandbox" },
|
|
88
|
-
baseUrl: "https://api.dev.
|
|
88
|
+
baseUrl: "https://api.dev.longplayai.com",
|
|
89
89
|
nativeModule: bridge,
|
|
90
90
|
nativeEvents: (listener) => {
|
|
91
91
|
const subscription = events.addListener("IndianaAction", listener);
|