react-native-edgee 1.0.3 → 1.0.4
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/android/build.gradle +11 -2
- package/dist/core/context.js +3 -2
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -44,8 +44,17 @@ android {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
compileOptions {
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
def javaVersion = rootProject.ext.has("jvmTarget")
|
|
48
|
+
? JavaVersion.toVersion(rootProject.ext.get("jvmTarget"))
|
|
49
|
+
: JavaVersion.VERSION_17
|
|
50
|
+
sourceCompatibility javaVersion
|
|
51
|
+
targetCompatibility javaVersion
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
kotlinOptions {
|
|
55
|
+
jvmTarget = rootProject.ext.has("jvmTarget")
|
|
56
|
+
? rootProject.ext.get("jvmTarget")
|
|
57
|
+
: "17"
|
|
49
58
|
}
|
|
50
59
|
|
|
51
60
|
kotlinOptions {
|
package/dist/core/context.js
CHANGED
|
@@ -7,8 +7,9 @@ const native_context_1 = require("../native-context");
|
|
|
7
7
|
* Get comprehensive context including native device information
|
|
8
8
|
*/
|
|
9
9
|
const getContext = async (collectDeviceId = false) => {
|
|
10
|
-
|
|
11
|
-
const
|
|
10
|
+
const initialUrl = await react_native_1.Linking.getInitialURL();
|
|
11
|
+
const nativeContext = await (0, native_context_1.getNativeContext)();
|
|
12
|
+
const url = initialUrl || `${(nativeContext === null || nativeContext === void 0 ? void 0 : nativeContext.bundleId) || "app"}://`;
|
|
12
13
|
let clientContext;
|
|
13
14
|
if ((0, native_context_1.isNativeModuleAvailable)()) {
|
|
14
15
|
try {
|