Skip to content

Commit

Permalink
updated to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
aggarwalankush committed Jun 30, 2017
1 parent 858031d commit ff66686
Show file tree
Hide file tree
Showing 8 changed files with 5,552 additions and 40 deletions.
11 changes: 8 additions & 3 deletions README.md
Expand Up @@ -17,6 +17,11 @@ npm -v
- should be >= 3.0.0
```
- For iOS, update XCode version to 8.0 or higher
- Install cocoapods, required by latest version of phonegap-push-plugin
```bash
sudo gem install cocoapods
pod setup
```

## Getting Started

Expand All @@ -37,14 +42,14 @@ npm -v

```bash
$ ionic cordova platform add android
$ ionic cordova build android --prod
$ ionic cordova run android --prod
$ ionic cordova build android
$ ionic cordova run android
```

### iOS
```bash
$ ionic cordova platform add ios
$ ionic cordova build ios --prod
$ ionic cordova build ios
```
Run using XCode

Expand Down
64 changes: 58 additions & 6 deletions config.xml
@@ -1,8 +1,9 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.mobile.ionic2pushbase" version="0.0.1" xmlns="http://www.w3.org/ns/widgets">
<name>Ionic2Push</name>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget id="io.ionic.pushbase" version="0.0.1" xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Ionic Push Base</name>
<description>
Ionic 2 Push Notifications Base App for iOS and Android
Ionic Push Notifications Base App for iOS and Android
</description>
<content src="index.html"/>
<access origin="*"/>
Expand All @@ -15,13 +16,64 @@
<allow-navigation href="http://*/*"/>
<allow-navigation href="tel:*"/>
<allow-navigation href="mailto:*"/>
<allow-navigation href="http://localhost:8080/*"/>
<platform name="android">
<allow-intent href="market:*"/>
<icon src="resources/android/icon/drawable-ldpi-icon.png" density="ldpi"/>
<icon src="resources/android/icon/drawable-mdpi-icon.png" density="mdpi"/>
<icon src="resources/android/icon/drawable-hdpi-icon.png" density="hdpi"/>
<icon src="resources/android/icon/drawable-xhdpi-icon.png" density="xhdpi"/>
<icon src="resources/android/icon/drawable-xxhdpi-icon.png" density="xxhdpi"/>
<icon src="resources/android/icon/drawable-xxxhdpi-icon.png" density="xxxhdpi"/>
<splash src="resources/android/splash/drawable-land-ldpi-screen.png" density="land-ldpi"/>
<splash src="resources/android/splash/drawable-land-mdpi-screen.png" density="land-mdpi"/>
<splash src="resources/android/splash/drawable-land-hdpi-screen.png" density="land-hdpi"/>
<splash src="resources/android/splash/drawable-land-xhdpi-screen.png" density="land-xhdpi"/>
<splash src="resources/android/splash/drawable-land-xxhdpi-screen.png" density="land-xxhdpi"/>
<splash src="resources/android/splash/drawable-land-xxxhdpi-screen.png" density="land-xxxhdpi"/>
<splash src="resources/android/splash/drawable-port-ldpi-screen.png" density="port-ldpi"/>
<splash src="resources/android/splash/drawable-port-mdpi-screen.png" density="port-mdpi"/>
<splash src="resources/android/splash/drawable-port-hdpi-screen.png" density="port-hdpi"/>
<splash src="resources/android/splash/drawable-port-xhdpi-screen.png" density="port-xhdpi"/>
<splash src="resources/android/splash/drawable-port-xxhdpi-screen.png" density="port-xxhdpi"/>
<splash src="resources/android/splash/drawable-port-xxxhdpi-screen.png" density="port-xxxhdpi"/>
</platform>
<platform name="ios">
<allow-intent href="itms:*"/>
<allow-intent href="itms-apps:*"/>
<icon height="57" src="resources/ios/icon/icon.png" width="57"/>
<icon height="114" src="resources/ios/icon/icon@2x.png" width="114"/>
<icon height="40" src="resources/ios/icon/icon-40.png" width="40"/>
<icon height="80" src="resources/ios/icon/icon-40@2x.png" width="80"/>
<icon height="120" src="resources/ios/icon/icon-40@3x.png" width="120"/>
<icon height="50" src="resources/ios/icon/icon-50.png" width="50"/>
<icon height="100" src="resources/ios/icon/icon-50@2x.png" width="100"/>
<icon height="60" src="resources/ios/icon/icon-60.png" width="60"/>
<icon height="120" src="resources/ios/icon/icon-60@2x.png" width="120"/>
<icon height="180" src="resources/ios/icon/icon-60@3x.png" width="180"/>
<icon height="72" src="resources/ios/icon/icon-72.png" width="72"/>
<icon height="144" src="resources/ios/icon/icon-72@2x.png" width="144"/>
<icon height="76" src="resources/ios/icon/icon-76.png" width="76"/>
<icon height="152" src="resources/ios/icon/icon-76@2x.png" width="152"/>
<icon height="167" src="resources/ios/icon/icon-83.5@2x.png" width="167"/>
<icon height="29" src="resources/ios/icon/icon-small.png" width="29"/>
<icon height="58" src="resources/ios/icon/icon-small@2x.png" width="58"/>
<icon height="87" src="resources/ios/icon/icon-small@3x.png" width="87"/>
<splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640"/>
<splash height="1334" src="resources/ios/splash/Default-667h.png" width="750"/>
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242"/>
<splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208"/>
<splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048"/>
<splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732"/>
<splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024"/>
<splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536"/>
<splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048"/>
<splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768"/>
<splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640"/>
<splash height="480" src="resources/ios/splash/Default~iphone.png" width="320"/>
</platform>
<engine name="ios" spec="~4.4.0"/>
<engine name="android" spec="~6.2.3"/>
<preference name="webviewbounce" value="false"/>
<preference name="UIWebViewBounce" value="false"/>
<preference name="DisallowOverscroll" value="true"/>
Expand Down Expand Up @@ -49,10 +101,10 @@
<plugin name="cordova-plugin-wkwebview-engine"
spec="https://github.com/driftyco/cordova-plugin-wkwebview-engine.git"/>

<plugin name="phonegap-plugin-push" spec="1.8.2">
<plugin name="phonegap-plugin-push" spec="1.10.5">


<variable name="SENDER_ID" value="YOUR_SENDER_ID"/>
<variable name="SENDER_ID" value="78368018476"/>


</plugin>
Expand Down
5 changes: 2 additions & 3 deletions ionic.config.json
@@ -1,6 +1,5 @@
{
"name": "ionic2-push-base",
"name": "ionic-push-base",
"app_id": "",
"v2": true,
"typescript": true
"type": "ionic-angular"
}

0 comments on commit ff66686

Please sign in to comment.