-
Notifications
You must be signed in to change notification settings - Fork 442
Control showing of notifications on iOS #2156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
16add47
ios [nfc]: Extract setting IPHONEOS_DEPLOYMENT_TARGET to Zulip.xcconfig
rajveermalviya ad4c602
ios [nfc]: Extract setting DEVELOPMENT_TEAM to Zulip.xcconfig
rajveermalviya 7089d1a
ios [nfc]: In Xcode, run swift-format
rajveermalviya 778d9e0
ios: Add NotificationService app extension target via Xcode
rajveermalviya 934ab6f
notif ios: Initialize headless FlutterEngine in NotificationService e…
rajveermalviya e482b0f
ios: Implement ability to intercept APNs push notifications from Dart
rajveermalviya ed3fe5a
ios: Add both Runner and NotificationService target to the same app g…
rajveermalviya 5f6bdb5
store ios: Migrate database file to iOS App Group container path
rajveermalviya b36beb3
docs: Remove instructions about testing push notifications on iOS Sim…
rajveermalviya File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "indentation": { | ||
| "spaces": 2 | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,12 @@ | ||
| // Configuration settings file format documentation can be found at: | ||
| // https://help.apple.com/xcode/#/dev745c5c974 | ||
|
|
||
| // This should match the value in ios/Podfile | ||
| // and MinimumOSVersion in ios/Flutter/AppFrameworkInfo.plist. | ||
| IPHONEOS_DEPLOYMENT_TARGET=15.0 | ||
|
|
||
| DEVELOPMENT_TEAM=66KHCWMEYB | ||
|
|
||
| // This should match the `iosAppGroupIdentifier` variable in | ||
| // lib/model/store.dart. | ||
| ZULIP_APP_GROUP_IDENTIFIER=group.com.zulip.app | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| <plist version="1.0"> | ||
| <dict> | ||
| <key>NSExtension</key> | ||
| <dict> | ||
| <key>NSExtensionPointIdentifier</key> | ||
| <string>com.apple.usernotifications.service</string> | ||
| <key>NSExtensionPrincipalClass</key> | ||
| <string>$(PRODUCT_MODULE_NAME).NotificationService</string> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Commit-message nit: I think you mean "NotificationService" or "notification service", not "Notification service"? Depending on whether or not you want to refer to the specific name that appears in the code. |
||
| </dict> | ||
| </dict> | ||
| </plist> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's put a comment on this pointing to the Podfile, so if someone sees this they'll also be sure to update the Podfile and the other thing linked from there.