File tree 5 files changed +20
-17
lines changed 5 files changed +20
-17
lines changed Original file line number Diff line number Diff line change 9
9
os : osx
10
10
env :
11
11
- WebPack="iOS"
12
- osx_image : xcode10 .2
12
+ osx_image : xcode12 .2
13
13
language : node_js
14
14
node_js : " 10"
15
15
jdk : oraclejdk8
@@ -23,15 +23,15 @@ matrix:
23
23
jdk : oraclejdk8
24
24
before_install : nvm install 10
25
25
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
27
27
- os : osx
28
- osx_image : xcode10 .2
28
+ osx_image : xcode12 .2
29
29
language : node_js
30
30
node_js : " 10"
31
31
jdk : oraclejdk8
32
32
before_script : pod repo update
33
33
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
35
35
36
36
android :
37
37
components :
Original file line number Diff line number Diff line change 5
5
"version" : " 6.2.0"
6
6
},
7
7
"tns-ios" : {
8
- "version" : " 6.2.0 "
8
+ "version" : " 6.5.4 "
9
9
}
10
10
},
11
11
"description" : " NativeScript Application" ,
43
43
"@angular/platform-browser-dynamic" : " ~8.2.3" ,
44
44
"@angular/router" : " ~8.2.3" ,
45
45
"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" ,
47
47
"nativescript-theme-core" : " ~1.0.6" ,
48
48
"reflect-metadata" : " ~0.1.13" ,
49
49
"rxjs" : " ~6.5.2" ,
50
- "tns-core-modules" : " ~6.2.0 " ,
50
+ "tns-core-modules" : " ~6.5.24 " ,
51
51
"zone.js" : " ~0.10.0"
52
52
},
53
53
"devDependencies" : {
54
54
"@angular/compiler-cli" : " ~8.2.3" ,
55
55
"@ngtools/webpack" : " ~8.2.2" ,
56
56
"nativescript-dev-webpack" : " ~1.3.0" ,
57
+ "tns-android" : " 6.2.0" ,
58
+ "tns-ios" : " 6.5.4" ,
57
59
"typescript" : " ~3.5.3"
58
60
}
59
61
}
Original file line number Diff line number Diff line change 5
5
"version" : " 6.2.0"
6
6
},
7
7
"tns-android" : {
8
- "version" : " 6.2.0 "
8
+ "version" : " 6.5.4 "
9
9
}
10
10
},
11
11
"scripts" : {
31
31
"ci.tslint" : " npm i && tslint --config '../tslint.json' 'demoapp/**/*.ts' --exclude '**/node_modules/**' --exclude '**/typings/**'"
32
32
},
33
33
"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" ,
35
35
"nativescript-theme-core" : " ~1.0.4" ,
36
36
"nativescript-unit-test-runner" : " 0.7.0" ,
37
- "tns-core-modules" : " ~6.2.0 "
37
+ "tns-core-modules" : " ~6.5.24 "
38
38
},
39
39
"devDependencies" : {
40
40
"babel-traverse" : " 6.26.0" ,
45
45
"karma" : " 4.1.0" ,
46
46
"karma-jasmine" : " 2.0.1" ,
47
47
"karma-nativescript-launcher" : " ^0.4.0" ,
48
+ "karma-webpack" : " 3.0.5" ,
48
49
"lazy" : " 1.0.11" ,
49
50
"nativescript-dev-webpack" : " 1.3.0" ,
51
+ "tns-ios" : " 6.5.4" ,
50
52
"tns-platform-declarations" : " ~6.2.0" ,
51
53
"tslint" : " ~5.20.0" ,
52
- "typescript" : " ~3.5.3" ,
53
- "karma-webpack" : " 3.0.5"
54
+ "typescript" : " ~3.5.3"
54
55
}
55
56
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " nativescript-app-sync" ,
3
- "version" : " 2 .0.0" ,
3
+ "version" : " 3 .0.0" ,
4
4
"description" : " Use AppSync to hot deploy updates to your app." ,
5
5
"main" : " app-sync" ,
6
6
"typings" : " index.d.ts" ,
70
70
"dependencies" : {
71
71
"nativescript-app-sync-sdk" : " ~1.0.1" ,
72
72
"nativescript-appversion" : " ~1.4.4" ,
73
- "nativescript-hook" : " ~0.2.5 " ,
73
+ "nativescript-hook" : " git://github.com/NativeScript/nativescript-hook.git#feat/ns7 " ,
74
74
"nativescript-zip" : " ~4.0.2"
75
75
},
76
76
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ function patchUIApplicationMain(iosProjectFolder) {
20
20
replaceInFile (
21
21
appSyncFileDest ,
22
22
'#import <NativeScript/NativeScript.h>' ,
23
- '#import <NativeScript/NativeScript.h>\n#import <AppSync/TNSAppSync.h>'
23
+ '#import <NativeScript/NativeScript.h>\n#include <AppSync/TNSAppSync.h>'
24
24
) ;
25
25
26
26
// now inject the function call that determines the correct application path (either default or appsync'ed)
27
27
replaceInFile (
28
28
appSyncFileDest ,
29
- '[[NSBundle mainBundle] resourcePath]' ,
30
- '[TNSAppSync applicationPathWithDefault:[[ NSBundle mainBundle] resourcePath]] '
29
+ 'baseDir = [[NSBundle mainBundle] resourcePath]; ' ,
30
+ 'baseDir = [TNSAppSync applicationPathWithDefault:[NSBundle mainBundle].bundlePath]; '
31
31
) ;
32
32
}
33
33
You can’t perform that action at this time.
0 commit comments