Skip to content

Commit 1632ed1

Browse files
committed
fix: add exception for push-plugin
1 parent 4fec827 commit 1632ed1

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

lib/project.service.ts

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,51 @@ const exceptions = {
1919
"location": true,
2020
"images": true
2121
}`
22+
},
23+
'nativescript-push-notifications': {
24+
file: 'app/App_Resources/Android/google-services.json',
25+
content: `{
26+
"project_info": {
27+
"project_number": "424050927453",
28+
"firebase_url": "https://pptest-53916.firebaseio.com",
29+
"project_id": "pptest-53916",
30+
"storage_bucket": "pptest-53916.appspot.com"
31+
},
32+
"client": [
33+
{
34+
"client_info": {
35+
"mobilesdk_app_id": "1:424050927453:android:21d2dd8987e1e3d1",
36+
"android_client_info": {
37+
"package_name": "org.nativescript.baseNG"
38+
}
39+
},
40+
"oauth_client": [
41+
{
42+
"client_id": "424050927453-o7gv6bcmknujjoaaoa5r4d452cutb9jf.apps.googleusercontent.com",
43+
"client_type": 3
44+
}
45+
],
46+
"api_key": [
47+
{
48+
"current_key": "AIzaSyDr3fqH7Z8-vhBNpAges_KFTA7oOoylGvU"
49+
}
50+
],
51+
"services": {
52+
"analytics_service": {
53+
"status": 1
54+
},
55+
"appinvite_service": {
56+
"status": 1,
57+
"other_platform_oauth_client": []
58+
},
59+
"ads_service": {
60+
"status": 2
61+
}
62+
}
63+
}
64+
],
65+
"configuration_version": "1"
66+
}`
2267
}
2368
};
2469

@@ -57,34 +102,39 @@ export namespace ProjectService {
57102
}
58103

59104
export async function testWebpack(plugin: MarketplaceService.PluginModel) {
105+
Logger.log('WEBPACK BUILD:');
60106
return await testPlugin(plugin, {
61107
android: '--bundle',
62108
ios: '--bundle'
63109
});
64110
}
65111

66112
export async function testSnapshot(plugin: MarketplaceService.PluginModel) {
113+
Logger.log('SNAPSHOT BUILD:');
67114
const signKeystore = cloudEnabled ? '../../debug.p12' : '~/.android/debug.keystore';
68115
return await testPlugin(plugin, {
69116
android: `--bundle --release --env.snapshot --key-store-path ${signKeystore} --key-store-password android --key-store-alias androiddebugkey --key-store-alias-password android`
70117
});
71118
}
72119

73120
export async function testUglify(plugin: MarketplaceService.PluginModel) {
121+
Logger.log('UGLIFY BUILD:');
74122
return await testPlugin(plugin, {
75123
android: '--bundle --env.uglify',
76124
ios: '--bundle --env.uglify'
77125
});
78126
}
79127

80128
export async function testAot(plugin: MarketplaceService.PluginModel) {
129+
Logger.log('AOT BUILD:');
81130
return await testPlugin(plugin, {
82131
android: '--bundle --env.aot',
83132
ios: '--bundle --env.aot'
84133
});
85134
}
86135

87136
export async function testBuild(plugin: MarketplaceService.PluginModel) {
137+
Logger.log('NORMAL BUILD:');
88138
return await testPlugin(plugin, {
89139
android: ' ',
90140
ios: ' '

0 commit comments

Comments
 (0)