This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "NativeScript Application", | |
"license": "SEE LICENSE IN <your-license-filename>", | |
"readme": "NativeScript Application", | |
"repository": "<fill-your-repository-here>", | |
"nativescript": { | |
"id": "com.davidshield.dsapp1", | |
"tns-android": { | |
"version": "4.1.3" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<configuration> | |
<appSettings> | |
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /> | |
</appSettings> | |
<system.web> | |
<compilation debug="true" targetFramework="4.5.2" /> | |
<httpRuntime targetFramework="4.5.2"/> | |
</system.web> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<configuration> | |
<appSettings> | |
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /> | |
</appSettings> | |
<system.web> | |
<compilation debug="true" targetFramework="4.5.2" /> | |
<httpRuntime targetFramework="4.5.2"/> | |
</system.web> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "NativeScript Application", | |
"license": "SEE LICENSE IN <your-license-filename>", | |
"readme": "NativeScript Application", | |
"repository": "<fill-your-repository-here>", | |
"nativescript": { | |
"id": "com.davidshield.dsapp1", | |
"tns-ios": { | |
"version": "4.1.0" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {ReplaySubject} from "rxjs"; | |
import {AndroidActivityCallbacks, setActivityCallbacks} from "ui/frame"; | |
export let AndroidOnRouteToURL = new ReplaySubject<string>(); | |
@JavaProxy("org.myApp.MainActivity") | |
export class ActivityAndroid extends android.support.v7.app.AppCompatActivity | |
{ | |
private _callbacks: AndroidActivityCallbacks; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Injectable, NgZone} from '@angular/core'; | |
import {ReplaySubject} from "rxjs"; | |
import {isAndroid, isIOS} from "tns-core-modules/platform"; | |
let OnRouteToURL: ReplaySubject<string>; | |
if (isAndroid) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {ReplaySubject} from "rxjs"; | |
import {setActivityCallbacks, AndroidActivityCallbacks} from "ui/frame"; | |
export var AndroidOnRouteToURL = new ReplaySubject<string>(); | |
@JavaProxy("org.myApp.MainActivity") | |
class Activity extends android.support.v7.app.AppCompatActivity { | |
private _callbacks: AndroidActivityCallbacks; | |
protected onCreate(savedInstanceState: android.os.Bundle): void { | |
if (!this._callbacks) { | |
setActivityCallbacks(this); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { join, relative, resolve, sep } = require("path"); | |
const webpack = require("webpack"); | |
const nsWebpack = require("nativescript-dev-webpack"); | |
const nativescriptTarget = require("nativescript-dev-webpack/nativescript-target"); | |
const { PlatformReplacementHost } = require("nativescript-dev-webpack/host/platform"); | |
const CleanWebpackPlugin = require("clean-webpack-plugin"); | |
const CopyWebpackPlugin = require("copy-webpack-plugin"); | |
const { BundleAnalyzerPlugin } = require("webpack-bundle-analyzer"); | |
const { NativeScriptWorkerPlugin } = require("nativescript-worker-loader/NativeScriptWorkerPlugin"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "NativeScript Application", | |
"license": "SEE LICENSE IN <your-license-filename>", | |
"readme": "NativeScript Application", | |
"repository": "<fill-your-repository-here>", | |
"nativescript": { | |
"id": "org.nativescript.ddd", | |
"tns-android": { | |
"version": "4.1.3" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "NativeScript Application", | |
"license": "SEE LICENSE IN <your-license-filename>", | |
"readme": "NativeScript Application", | |
"repository": "<fill-your-repository-here>", | |
"nativescript": { | |
"id": "org.nativescript.ddd" | |
}, | |
"dependencies": { | |
"@angular/animations": "~6.0.0", |