diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2020-03-14 09:25:29 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2020-03-14 09:25:29 -0400 |
| commit | 58c7e55399591a6a487a9519624bf1e8ad6ca20f (patch) | |
| tree | 8f376ee677f9ac424ee7e9e26b2e4fa98081f9f0 /build_ios.sh | |
| parent | e484e767ebfdb729e0f87d2dce1094ae6b7dae94 (diff) | |
Allow mp4 files in notification
Diffstat (limited to 'build_ios.sh')
| -rwxr-xr-x | build_ios.sh | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/build_ios.sh b/build_ios.sh index 529f2a54..9598aab9 100755 --- a/build_ios.sh +++ b/build_ios.sh @@ -1,10 +1,25 @@ echo "*** Using old build system due to XCode 10 issues ** " echo "see https://forum.ionicframework.com/t/how-to-build-ionic-cordova-with-xcode-10/142044" -ionic cordova plugin remove cordova-plugin-ionic-webview 2>/dev/null -ionic cordova plugin add https://github.com/pliablepixels/cordova-plugin-ionic-webview.git -cordova plugin remove cordova-plugin-media-pp-fork -cordova plugin add cordova-plugin-media-pp-fork +if [ "$1" != "skip" ] +then + ionic cordova plugin remove cordova-plugin-ionic-webview 2>/dev/null + ionic cordova plugin add https://github.com/pliablepixels/cordova-plugin-ionic-webview.git + cordova plugin remove cordova-plugin-media-pp-fork + cordova plugin add cordova-plugin-media-pp-fork +else + echo "Skipping plugin update process. Make sure you did not build for Android before this" +fi + +echo +echo "-- Copying manual files --" + +cp ./etc/NotificationService.m ./platforms/ios/zmNinjaNotification/NotificationService.m +if [ $? -ne 0 ] +then + echo "Error copying over Notification Service" + exit 1 +fi #echo "--- readding certificate plugin to make sure... ---" #ionic cordova plugin remove cordova-plugin-certificates |
