Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Jul 2, 2018
1 parent a28d90f commit 4880d60
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .gitignore
@@ -1,10 +1,10 @@
.idea/
.vscode/
node_modules/
.DS_Store

demo/hooks
demo/node_modules
demo/platforms
demo/**/*.js

src/node_modules
src/platforms/android/*.aar
1 change: 1 addition & 0 deletions demo/app/main-view-model.ts
Expand Up @@ -51,6 +51,7 @@ export class HelloWorldModel extends Observable {
private createBanner(size: AD_SIZE): void {
const testing = true;
createBanner({
testing: testing,
// if this 'view' property is not set, the banner is overlayed on the current top most view
// view: ..,
size: size,
Expand Down
3 changes: 3 additions & 0 deletions demo/package.json
Expand Up @@ -7,6 +7,9 @@
"id": "org.nativescript.admobdemo",
"tns-android": {
"version": "4.1.3"
},
"tns-ios": {
"version": "4.1.1"
}
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion src/.npmignore
@@ -1,2 +1,3 @@
.idea
.vscode
.vscode
platforms/android/AndroidManifest.xml
1 change: 1 addition & 0 deletions src/package.json
Expand Up @@ -10,6 +10,7 @@
}
},
"scripts": {
"demo.ios": "cd ../demo && tns plugin remove nativescript-admob && tns plugin add ../src && tns run ios",
"demo.android": "cd ../demo && tns run android",
"demo.android.release": "echo '*** Replace MY_PASSWORD ***' && cd ../demo && tns build android --release --for-device --key-store-path ../../xservices.keystore --key-store-password MY_PASSWORD --key-store-alias xservices --key-store-alias-password MY_PASSWORD && adb install ../demo/platforms/android/app/build/outputs/apk/release/app-release.apk"
},
Expand Down

0 comments on commit 4880d60

Please sign in to comment.