- Let's add push notifications to our native iOS app.…We start by opening up the POD file we added…when we referenced the app center SDK earlier.…So we're going to open up VSACNative, and open the POD file.…At the bottom, we're going to add a new pod.…So it's pod, and AppCenter.…Forward slash push.…And close up the quote.…And we're going to go to file save,…and go to a terminal window…and we want to make sure that we're…in our native iOS project directory.…
So I'm going to go cd and ios, and do pod install.…Now we can go back to Xcode.…Next, we're going to click on the workspace…and select Capabilities,…and we're going to make sure…that Push Notifications are enabled.…So we'll turn them on, and then we're going to scroll down…and make sure Background Modes is turned on,…and Remote Notifications.…
We also need to modify the app delegate,…so we'll open the app delegate file…and we're going to import AppCenterPush,…and where we initialize AppCenter,…we're going to put in comma MSPush.self.…And we'll make sure everything's saved,…
Author
Released
3/13/2018- Adding applications to the VSAC
- Using custom build scripts
- Creating iOS and Android builds
- Creating UI tests
- Automating tests
- Distributing apps
- Examining crash logs and analytics
- Adding push notifications
- Using CodePush for deployments
Skill Level Intermediate
Duration
Views
Related Courses
-
Visual Studio Code for Web Developers
with Joe Marini1h 21m Intermediate
-
Introduction
-
Welcome1m 34s
-
What you should know1m 43s
-
Using the exercise files4m 6s
-
Set up Android Keystore2m 45s
-
-
1. Introduction to Visual Studio App Center
-
The VSAC web portal3m 16s
-
Adding organizations3m 5s
-
Adding applications2m 50s
-
2. Creating Builds
-
Signing builds: iOS4m 30s
-
Signing builds: Android1m 35s
-
Custom build scripts1m 57s
-
Using custom build scripts5m 43s
-
Environment variables6m 28s
-
Create iOS CI builds4m 36s
-
Create iOS CD builds2m 3s
-
Create Android CI builds2m 47s
-
Create Android CD builds1m 18s
-
3. Test Runs
-
Create UI tests2m 32s
-
Set up the App Center CLI2m 30s
-
Automate a test with the CLI2m 59s
-
Using CLI in a script1m 50s
-
-
4. App Distribution
-
Set up distribution groups2m 41s
-
Install the apps on devices1m 48s
-
Register iOS devices3m 54s
-
5. Crash Reporting and Analytics
-
Examine crash logs3m 32s
-
Add custom analytics3m 23s
-
Examine analytics3m 50s
-
6. Push Notifications
-
7. Code Push
-
Set up code push frequency3m 44s
-
Conclusion
-
Next steps51s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Set up push notifications for native iOS apps