@cloudflare/realtimekit-react-native 0.2.1-staging.1 → 0.2.1-staging.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/android/src/main/java/com/cloudflare/realtimekit/RTKHelperModule.java +5 -1
- package/lib/commonjs/utils/version.js +1 -1
- package/lib/commonjs/utils/version.js.map +1 -1
- package/lib/module/utils/version.js +1 -1
- package/lib/module/utils/version.js.map +1 -1
- package/lib/typescript/utils/version.d.ts +1 -1
- package/package.json +1 -1
- package/plugin/build/withRTK.js +2 -1
- package/plugin/src/withRTK.ts +2 -1
|
@@ -29,7 +29,11 @@ import java.util.HashMap;
|
|
|
29
29
|
|
|
30
30
|
import com.cloudflare.realtimekit.RTKHolder;
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
/*
|
|
33
|
+
* RTKHelper here was renamed from RTKHelperModule to match the module name returned from getName()
|
|
34
|
+
* Keeping different namings in React Module definition & getName() breaks in Expo with newArchitecture enabled
|
|
35
|
+
*/
|
|
36
|
+
@ReactModule(name = "RTKHelper")
|
|
33
37
|
public class RTKHelperModule extends ReactContextBaseJavaModule {
|
|
34
38
|
|
|
35
39
|
private final ReactApplicationContext reactContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SDK_VERSION","exports"],"sources":["version.ts"],"sourcesContent":["export const SDK_VERSION = '0.2.1-staging.
|
|
1
|
+
{"version":3,"names":["SDK_VERSION","exports"],"sources":["version.ts"],"sourcesContent":["export const SDK_VERSION = '0.2.1-staging.3';\n"],"mappings":";;;;;;AAAO,MAAMA,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG,iBAAiB","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const SDK_VERSION = '0.2.1-staging.
|
|
1
|
+
export const SDK_VERSION = '0.2.1-staging.3';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SDK_VERSION"],"sources":["version.ts"],"sourcesContent":["export const SDK_VERSION = '0.2.1-staging.
|
|
1
|
+
{"version":3,"names":["SDK_VERSION"],"sources":["version.ts"],"sourcesContent":["export const SDK_VERSION = '0.2.1-staging.3';\n"],"mappings":"AAAA,OAAO,MAAMA,WAAW,GAAG,iBAAiB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.2.1-staging.
|
|
1
|
+
export declare const SDK_VERSION = "0.2.1-staging.3";
|
package/package.json
CHANGED
package/plugin/build/withRTK.js
CHANGED
|
@@ -98,6 +98,7 @@ const withAndroidScreenshare = (config) => {
|
|
|
98
98
|
});
|
|
99
99
|
};
|
|
100
100
|
const withAndroidBlobProviderAuthority = (config) => {
|
|
101
|
+
const uuid = require('uuid').v4();
|
|
101
102
|
return (0, config_plugins_1.withStringsXml)(config, async (_config) => {
|
|
102
103
|
// Avoid duplicates
|
|
103
104
|
const existing = _config.modResults.resources.string?.find((item) => item.$.name === 'blob_provider_authority');
|
|
@@ -106,7 +107,7 @@ const withAndroidBlobProviderAuthority = (config) => {
|
|
|
106
107
|
...(_config.modResults.resources.string || []),
|
|
107
108
|
{
|
|
108
109
|
$: { name: 'blob_provider_authority' },
|
|
109
|
-
_: 'com.cloudflare.realtimekit.expo.blobs',
|
|
110
|
+
_: 'com.cloudflare.realtimekit.expo.blobs-' + uuid,
|
|
110
111
|
},
|
|
111
112
|
];
|
|
112
113
|
}
|
package/plugin/src/withRTK.ts
CHANGED
|
@@ -148,6 +148,7 @@ const withAndroidScreenshare: ConfigPlugin = (config) => {
|
|
|
148
148
|
};
|
|
149
149
|
|
|
150
150
|
const withAndroidBlobProviderAuthority: ConfigPlugin = (config) => {
|
|
151
|
+
const uuid = require('uuid').v4();
|
|
151
152
|
return withStringsXml(config, async (_config) => {
|
|
152
153
|
// Avoid duplicates
|
|
153
154
|
const existing = _config.modResults.resources.string?.find(
|
|
@@ -158,7 +159,7 @@ const withAndroidBlobProviderAuthority: ConfigPlugin = (config) => {
|
|
|
158
159
|
...(_config.modResults.resources.string || []),
|
|
159
160
|
{
|
|
160
161
|
$: { name: 'blob_provider_authority' },
|
|
161
|
-
_: 'com.cloudflare.realtimekit.expo.blobs',
|
|
162
|
+
_: 'com.cloudflare.realtimekit.expo.blobs-' + uuid,
|
|
162
163
|
},
|
|
163
164
|
];
|
|
164
165
|
}
|