File tree Expand file tree Collapse file tree 5 files changed +20
-17
lines changed Expand file tree Collapse file tree 5 files changed +20
-17
lines changed Original file line number Diff line number Diff line change 99 os : osx
1010 env :
1111 - WebPack="iOS"
12- osx_image : xcode10 .2
12+ osx_image : xcode12 .2
1313 language : node_js
1414 node_js : " 10"
1515 jdk : oraclejdk8
@@ -23,15 +23,15 @@ matrix:
2323 jdk : oraclejdk8
2424 before_install : nvm install 10
2525 script :
26- - cd src && npm i && npm run preparedemo && cd ../demo && tns build android
26+ - cd src && npm i && npm run preparedemo && cd ../demo-ng && tns build android
2727 - os : osx
28- osx_image : xcode10 .2
28+ osx_image : xcode12 .2
2929 language : node_js
3030 node_js : " 10"
3131 jdk : oraclejdk8
3232 before_script : pod repo update
3333 script :
34- - cd src && npm i && npm run preparedemo && cd ../demo && tns build ios
34+ - cd src && npm i && npm run preparedemo && cd ../demo-ng && tns build ios
3535
3636android :
3737 components :
Original file line number Diff line number Diff line change 55 "version" : " 6.2.0"
66 },
77 "tns-ios" : {
8- "version" : " 6.2.0 "
8+ "version" : " 6.5.4 "
99 }
1010 },
1111 "description" : " NativeScript Application" ,
4343 "@angular/platform-browser-dynamic" : " ~8.2.3" ,
4444 "@angular/router" : " ~8.2.3" ,
4545 "nativescript-angular" : " ~8.2.0" ,
46- "nativescript-app-sync" : " file:../publish/package/nativescript-app-sync-2 .0.0.tgz" ,
46+ "nativescript-app-sync" : " file:../publish/package/nativescript-app-sync-3 .0.0.tgz" ,
4747 "nativescript-theme-core" : " ~1.0.6" ,
4848 "reflect-metadata" : " ~0.1.13" ,
4949 "rxjs" : " ~6.5.2" ,
50- "tns-core-modules" : " ~6.2.0 " ,
50+ "tns-core-modules" : " ~6.5.24 " ,
5151 "zone.js" : " ~0.10.0"
5252 },
5353 "devDependencies" : {
5454 "@angular/compiler-cli" : " ~8.2.3" ,
5555 "@ngtools/webpack" : " ~8.2.2" ,
5656 "nativescript-dev-webpack" : " ~1.3.0" ,
57+ "tns-android" : " 6.2.0" ,
58+ "tns-ios" : " 6.5.4" ,
5759 "typescript" : " ~3.5.3"
5860 }
5961}
Original file line number Diff line number Diff line change 55 "version" : " 6.2.0"
66 },
77 "tns-android" : {
8- "version" : " 6.2.0 "
8+ "version" : " 6.5.4 "
99 }
1010 },
1111 "scripts" : {
3131 "ci.tslint" : " npm i && tslint --config '../tslint.json' 'demoapp/**/*.ts' --exclude '**/node_modules/**' --exclude '**/typings/**'"
3232 },
3333 "dependencies" : {
34- "nativescript-app-sync" : " file:../publish/package/nativescript-app-sync-2 .0.0.tgz" ,
34+ "nativescript-app-sync" : " file:../publish/package/nativescript-app-sync-3 .0.0.tgz" ,
3535 "nativescript-theme-core" : " ~1.0.4" ,
3636 "nativescript-unit-test-runner" : " 0.7.0" ,
37- "tns-core-modules" : " ~6.2.0 "
37+ "tns-core-modules" : " ~6.5.24 "
3838 },
3939 "devDependencies" : {
4040 "babel-traverse" : " 6.26.0" ,
4545 "karma" : " 4.1.0" ,
4646 "karma-jasmine" : " 2.0.1" ,
4747 "karma-nativescript-launcher" : " ^0.4.0" ,
48+ "karma-webpack" : " 3.0.5" ,
4849 "lazy" : " 1.0.11" ,
4950 "nativescript-dev-webpack" : " 1.3.0" ,
51+ "tns-ios" : " 6.5.4" ,
5052 "tns-platform-declarations" : " ~6.2.0" ,
5153 "tslint" : " ~5.20.0" ,
52- "typescript" : " ~3.5.3" ,
53- "karma-webpack" : " 3.0.5"
54+ "typescript" : " ~3.5.3"
5455 }
5556}
Original file line number Diff line number Diff line change 11{
22 "name" : " nativescript-app-sync" ,
3- "version" : " 2 .0.0" ,
3+ "version" : " 3 .0.0" ,
44 "description" : " Use AppSync to hot deploy updates to your app." ,
55 "main" : " app-sync" ,
66 "typings" : " index.d.ts" ,
7070 "dependencies" : {
7171 "nativescript-app-sync-sdk" : " ~1.0.1" ,
7272 "nativescript-appversion" : " ~1.4.4" ,
73- "nativescript-hook" : " ~0.2.5 " ,
73+ "nativescript-hook" : " git://github.com/NativeScript/nativescript-hook.git#feat/ns7 " ,
7474 "nativescript-zip" : " ~4.0.2"
7575 },
7676 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ function patchUIApplicationMain(iosProjectFolder) {
2020 replaceInFile (
2121 appSyncFileDest ,
2222 '#import <NativeScript/NativeScript.h>' ,
23- '#import <NativeScript/NativeScript.h>\n#import <AppSync/TNSAppSync.h>'
23+ '#import <NativeScript/NativeScript.h>\n#include <AppSync/TNSAppSync.h>'
2424 ) ;
2525
2626 // now inject the function call that determines the correct application path (either default or appsync'ed)
2727 replaceInFile (
2828 appSyncFileDest ,
29- '[[NSBundle mainBundle] resourcePath]' ,
30- '[TNSAppSync applicationPathWithDefault:[[ NSBundle mainBundle] resourcePath]] '
29+ 'baseDir = [[NSBundle mainBundle] resourcePath]; ' ,
30+ 'baseDir = [TNSAppSync applicationPathWithDefault:[NSBundle mainBundle].bundlePath]; '
3131 ) ;
3232 }
3333
You can’t perform that action at this time.
0 commit comments