Skip to content
This repository was archived by the owner on Nov 20, 2022. It is now read-only.

Commit 8fc8749

Browse files
committed
✨ Add push notifications entitlement
1 parent bc02373 commit 8fc8749

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
4848
9DEDA0134818319F1A939D90 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4949
B633E0909F9D4A7915EF7225 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
50+
F49698622634B8490049E0F5 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; };
5051
F4A256AD260A356200D453F2 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
5152
F830D590A3BA1B1FC6C456E7 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
5253
/* End PBXFileReference section */
@@ -114,6 +115,7 @@
114115
97C146F01CF9000F007C117D /* Runner */ = {
115116
isa = PBXGroup;
116117
children = (
118+
F49698622634B8490049E0F5 /* Runner.entitlements */,
117119
F4A256AD260A356200D453F2 /* GoogleService-Info.plist */,
118120
97C146FA1CF9000F007C117D /* Main.storyboard */,
119121
97C146FD1CF9000F007C117D /* Assets.xcassets */,
@@ -358,6 +360,7 @@
358360
buildSettings = {
359361
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
360362
CLANG_ENABLE_MODULES = YES;
363+
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
361364
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
362365
DEVELOPMENT_TEAM = CQ53Y973KM;
363366
ENABLE_BITCODE = NO;
@@ -495,6 +498,7 @@
495498
buildSettings = {
496499
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
497500
CLANG_ENABLE_MODULES = YES;
501+
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
498502
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
499503
DEVELOPMENT_TEAM = CQ53Y973KM;
500504
ENABLE_BITCODE = NO;
@@ -526,6 +530,7 @@
526530
buildSettings = {
527531
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
528532
CLANG_ENABLE_MODULES = YES;
533+
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
529534
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
530535
DEVELOPMENT_TEAM = CQ53Y973KM;
531536
ENABLE_BITCODE = NO;

ios/Runner/Runner.entitlements

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>aps-environment</key>
6+
<string>development</string>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)