-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a better way to set / override the User Agent #4
- Loading branch information
1 parent
51cda32
commit 1386cb7
Showing
7 changed files
with
94 additions
and
57 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,59 @@ | ||
{ | ||
"name": "nativescript-webview-utils", | ||
"version": "1.0.0", | ||
"description": "Add custom headers to a NativeScript WebView. Perhaps more utils later.", | ||
"main": "webview-utils", | ||
"typings": "index.d.ts", | ||
"nativescript": { | ||
"platforms": { | ||
"android": "3.0.0", | ||
"ios": "3.0.0" | ||
} | ||
}, | ||
"scripts": { | ||
"tsc": "tsc -skipLibCheck", | ||
"build": "npm i && tsc", | ||
"postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link", | ||
"test.android": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch", | ||
"test.ios": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch", | ||
"tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"", | ||
"plugin.link": "npm link && cd ../demo && npm link nativescript-webview-utils && cd ../src", | ||
"plugin.tscwatch": "npm run tsc -- -w", | ||
"demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles", | ||
"demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles", | ||
"demo.reset": "cd ../demo && rimraf platforms", | ||
"plugin.prepare": "npm run tsc && cd ../demo && tns plugin remove nativescript-webview-utils && tns plugin add ../src", | ||
"clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link", | ||
"ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'" | ||
}, | ||
"keywords": [ | ||
"ecosystem:NativeScript", | ||
"NativeScript", | ||
"JavaScript", | ||
"Android", | ||
"iOS", | ||
"WebView", | ||
"Headers", | ||
"WebView Headers" | ||
], | ||
"author": { | ||
"name": "Eddy Verbruggen", | ||
"email": "eddyverbruggen@yourdomain.com" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/EddyVerbruggen/nativescript-webview-utils/issues" | ||
}, | ||
"license": "Apache-2.0", | ||
"homepage": "https://github.com/EddyVerbruggen/nativescript-webview-utils", | ||
"readmeFilename": "README.md", | ||
"devDependencies": { | ||
"tns-core-modules": "^3.3.0", | ||
"tns-platform-declarations": "^3.3.0", | ||
"typescript": "~2.4.0", | ||
"prompt": "^1.0.0", | ||
"rimraf": "^2.5.0", | ||
"tslint": "^5.0.0" | ||
}, | ||
"dependencies": {}, | ||
"bootstrapper": "nativescript-plugin-seed" | ||
"name": "nativescript-webview-utils", | ||
"version": "1.1.0", | ||
"description": "Add custom headers to a NativeScript WebView. Perhaps more utils later.", | ||
"main": "webview-utils", | ||
"typings": "index.d.ts", | ||
"nativescript": { | ||
"platforms": { | ||
"android": "3.0.0", | ||
"ios": "3.0.0" | ||
} | ||
}, | ||
"scripts": { | ||
"tsc": "tsc -skipLibCheck", | ||
"build": "npm i && tsc", | ||
"postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link", | ||
"test.android": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch", | ||
"test.ios": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch", | ||
"tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"", | ||
"plugin.link": "npm link && cd ../demo && npm link nativescript-webview-utils && cd ../src", | ||
"plugin.tscwatch": "npm run tsc -- -w", | ||
"demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios", | ||
"demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles", | ||
"demo.reset": "cd ../demo && rimraf platforms", | ||
"plugin.prepare": "npm run tsc && cd ../demo && tns plugin remove nativescript-webview-utils && tns plugin add ../src", | ||
"clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link", | ||
"ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'" | ||
}, | ||
"keywords": [ | ||
"ecosystem:NativeScript", | ||
"NativeScript", | ||
"JavaScript", | ||
"Android", | ||
"iOS", | ||
"WebView", | ||
"Headers", | ||
"WebView Headers" | ||
], | ||
"author": { | ||
"name": "Eddy Verbruggen", | ||
"email": "eddyverbruggen@yourdomain.com" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/EddyVerbruggen/nativescript-webview-utils/issues" | ||
}, | ||
"license": "Apache-2.0", | ||
"homepage": "https://github.com/EddyVerbruggen/nativescript-webview-utils", | ||
"readmeFilename": "README.md", | ||
"devDependencies": { | ||
"tns-core-modules": "^3.3.0", | ||
"tns-platform-declarations": "^3.3.0", | ||
"typescript": "~2.4.0", | ||
"prompt": "^1.0.0", | ||
"rimraf": "^2.5.0", | ||
"tslint": "^5.0.0" | ||
}, | ||
"dependencies": {}, | ||
"bootstrapper": "nativescript-plugin-seed" | ||
} |
This file contains 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
This file contains 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