mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00

Adding initial support for the following URL, TextEncoder, TextDecoder, atob, btoa. This also setups up a cargo workspace (rust) for future developments. iOS adds a local pod dep until we move to using a pod for the runtime dep.
15 lines
300 B
TypeScript
15 lines
300 B
TypeScript
declare const __non_webpack_require__;
|
|
|
|
if (global.isAndroid) {
|
|
try {
|
|
__non_webpack_require__('system_lib://libnativescriptcorev8.so');
|
|
} catch (error) {}
|
|
}
|
|
|
|
if (global.isIOS) {
|
|
try {
|
|
const installer = global.NativeScriptCoreModuleInstaller.new();
|
|
installer.install();
|
|
} catch (error) {}
|
|
}
|