Skip to content

Commit eb03773

Browse files
Merge pull request #64 from jpush/dev
Dev
2 parents 16c4d26 + 5241e5d commit eb03773

File tree

113 files changed

+5793
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+5793
-14
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11

22
\.DS_Store
3+
4+
./ionic/example/platforms
5+
./ionic/example/plugins
6+
./ionic/example/node_modules

ionic/example/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
### JMessage-ionic demo
2+

ionic/example/config.xml

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<widget id="com.example.huminios.jpushTest" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
3+
<name>MyApp</name>
4+
<description>An awesome Ionic/Cordova app.</description>
5+
<author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
6+
<content src="index.html" />
7+
<access origin="*" />
8+
<allow-intent href="http://*/*" />
9+
<allow-intent href="https://*/*" />
10+
<allow-intent href="tel:*" />
11+
<allow-intent href="sms:*" />
12+
<allow-intent href="mailto:*" />
13+
<allow-intent href="geo:*" />
14+
<preference name="ScrollEnabled" value="false" />
15+
<preference name="android-minSdkVersion" value="16" />
16+
<preference name="BackupWebStorage" value="none" />
17+
<preference name="SplashMaintainAspectRatio" value="true" />
18+
<preference name="FadeSplashScreenDuration" value="300" />
19+
<preference name="SplashShowOnlyFirstTime" value="false" />
20+
<preference name="SplashScreen" value="screen" />
21+
<preference name="SplashScreenDelay" value="3000" />
22+
<platform name="android">
23+
<allow-intent href="market:*" />
24+
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
25+
<icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" />
26+
<icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" />
27+
<icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
28+
<icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
29+
<icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
30+
<splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" />
31+
<splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" />
32+
<splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" />
33+
<splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" />
34+
<splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" />
35+
<splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" />
36+
<splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" />
37+
<splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" />
38+
<splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" />
39+
<splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" />
40+
<splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" />
41+
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
42+
</platform>
43+
<platform name="ios">
44+
<allow-intent href="itms:*" />
45+
<allow-intent href="itms-apps:*" />
46+
<icon height="57" src="resources/ios/icon/icon.png" width="57" />
47+
<icon height="114" src="resources/ios/icon/[email protected]" width="114" />
48+
<icon height="40" src="resources/ios/icon/icon-40.png" width="40" />
49+
<icon height="80" src="resources/ios/icon/[email protected]" width="80" />
50+
<icon height="120" src="resources/ios/icon/[email protected]" width="120" />
51+
<icon height="50" src="resources/ios/icon/icon-50.png" width="50" />
52+
<icon height="100" src="resources/ios/icon/[email protected]" width="100" />
53+
<icon height="60" src="resources/ios/icon/icon-60.png" width="60" />
54+
<icon height="120" src="resources/ios/icon/[email protected]" width="120" />
55+
<icon height="180" src="resources/ios/icon/[email protected]" width="180" />
56+
<icon height="72" src="resources/ios/icon/icon-72.png" width="72" />
57+
<icon height="144" src="resources/ios/icon/[email protected]" width="144" />
58+
<icon height="76" src="resources/ios/icon/icon-76.png" width="76" />
59+
<icon height="152" src="resources/ios/icon/[email protected]" width="152" />
60+
<icon height="167" src="resources/ios/icon/[email protected]" width="167" />
61+
<icon height="29" src="resources/ios/icon/icon-small.png" width="29" />
62+
<icon height="58" src="resources/ios/icon/[email protected]" width="58" />
63+
<icon height="87" src="resources/ios/icon/[email protected]" width="87" />
64+
<icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" />
65+
<splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" />
66+
<splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" />
67+
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
68+
<splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" />
69+
<splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" />
70+
<splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" />
71+
<splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" />
72+
<splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" />
73+
<splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" />
74+
<splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
75+
<splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" />
76+
<splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" />
77+
<splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
78+
</platform>
79+
<allow-navigation href="http://192.168.8.189:8100" />
80+
<allow-navigation href="http://192.168.11.128:8100" />
81+
<allow-navigation href="http://192.168.11.184:8100" />
82+
<allow-navigation href="http://192.168.11.184:8101" />
83+
<allow-navigation href="http://192.168.9.163:8100" />
84+
<allow-navigation href="http://192.168.8.139:8100" />
85+
<allow-navigation href="http://192.168.31.70:8100" />
86+
<allow-navigation href="http://192.168.8.111:8100" />
87+
<allow-navigation href="http://192.168.9.19:8100" />
88+
<allow-navigation href="http://192.168.11.175:8100" />
89+
<allow-navigation href="http://192.168.11.141:8100" />
90+
<allow-navigation href="http://192.168.8.167:8100" />
91+
<allow-navigation href="http://192.168.8.222:8100" />
92+
<engine name="ios" spec="^4.5.4" />
93+
<plugin name="cordova-plugin-camera" spec="^4.0.3" />
94+
<plugin name="cordova-plugin-device" spec="^1.1.4" />
95+
<plugin name="cordova-plugin-file" spec="^6.0.1" />
96+
<plugin name="cordova-plugin-ionic-webview" spec="^1.2.1" />
97+
<plugin name="cordova-plugin-media" spec="^5.0.2">
98+
<variable name="KEEP_AVAUDIOSESSION_ALWAYS_ACTIVE" value="NO" />
99+
</plugin>
100+
<plugin name="cordova-plugin-splashscreen" spec="^4.0.3" />
101+
<plugin name="cordova-plugin-whitelist" spec="^1.3.1" />
102+
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
103+
<engine name="android" spec="~7.0.0" />
104+
<plugin name="jmessage-phonegap-plugin" spec="/Users/HuminiOS/Desktop/workproject/jmessage-phonegap-plugin">
105+
<variable name="APP_KEY" value="a1703c14b186a68a66ef86c1" />
106+
</plugin>
107+
<allow-navigation href="http://192.168.10.171:8100" />
108+
<allow-navigation href="http://192.168.8.18:8100" />
109+
</widget>

ionic/example/ionic.config.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "jmessageIonic",
3+
"app_id": "",
4+
"type": "ionic-angular",
5+
"integrations": {
6+
"cordova": {}
7+
}
8+
}

0 commit comments

Comments
 (0)