summaryrefslogtreecommitdiff
path: root/docs/remote extension.txt
blob: 289f175b65ae463ee42da84f5c88bd29989e2d70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

### Add Picture Notification Support (Optional)

  
  529  ionic cordova platform remove ios
  530  ionic cordova platform add ios
  531  open platforms/ios/

Open up platforms/ios/zmNinja.xcworkspace
File->New->Target->Notification Service Extension, select Objective C 
In the "Product Name" put in zmNinjaNotification (your BundleID should now read  com.pliablepixels.zmninja-pro.zmNinjaNotification)
Say "Yes" to "Activate zmNinjaNotification scheme?" popup

Now go to zmNinjaNotification target and make version and  build same as zmNinja

Now in XCode Targets, select zmNinjaNotification, and make sure you select a Team and make sure Deployment Target is 10 or above

Change Deployment target to 10.1 (same as zmNinja target)


  532  cp www/external/NotificationService.m platforms/ios/zmNinjaNotication/
  534  cd platforms/ios/
  535  pod install



You can now build using ./build_ios
Every time you build:
1. Sync notification version with app version
2. Change notification bundle ID back to com.pliablepixels.zmninja-pro.zmNinjaNotification (cordova removes the last word)