Skip to content

Commit 378e187

Browse files
rajveermalviyagnprice
authored andcommitted
ios: Switch app ID to that of the main app
On iOS, switch to using "org.zulip.Zulip" as the product bundle identifier. Fixes: #1582
1 parent e0e51b1 commit 378e187

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/howto/push-notifications-ios-simulator.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ receive a notification on the iOS Simulator for the zulip-flutter app.
6464
Tapping on the notification should route to the respective conversation.
6565

6666
```shell-session
67-
$ xcrun simctl push [device-id] com.zulip.flutter [payload json path]
67+
$ xcrun simctl push [device-id] org.zulip.Zulip [payload json path]
6868
```
6969

7070
<details>
7171
<summary>Example output:</summary>
7272

7373
```shell-session
74-
$ xcrun simctl push 90CC33B2-679B-4053-B380-7B986A29F28C com.zulip.flutter ./dm.json
75-
Notification sent to 'com.zulip.flutter'
74+
$ xcrun simctl push 90CC33B2-679B-4053-B380-7B986A29F28C org.zulip.Zulip ./dm.json
75+
Notification sent to 'org.zulip.Zulip'
7676
```
7777

7878
</details>

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
"$(inherited)",
393393
"@executable_path/Frameworks",
394394
);
395-
PRODUCT_BUNDLE_IDENTIFIER = com.zulip.flutter;
395+
PRODUCT_BUNDLE_IDENTIFIER = org.zulip.Zulip;
396396
PRODUCT_NAME = "$(TARGET_NAME)";
397397
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
398398
SWIFT_VERSION = 5.0;
@@ -522,7 +522,7 @@
522522
"$(inherited)",
523523
"@executable_path/Frameworks",
524524
);
525-
PRODUCT_BUNDLE_IDENTIFIER = com.zulip.flutter;
525+
PRODUCT_BUNDLE_IDENTIFIER = org.zulip.Zulip;
526526
PRODUCT_NAME = "$(TARGET_NAME)";
527527
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
528528
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -546,7 +546,7 @@
546546
"$(inherited)",
547547
"@executable_path/Frameworks",
548548
);
549-
PRODUCT_BUNDLE_IDENTIFIER = com.zulip.flutter;
549+
PRODUCT_BUNDLE_IDENTIFIER = org.zulip.Zulip;
550550
PRODUCT_NAME = "$(TARGET_NAME)";
551551
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
552552
SWIFT_VERSION = 5.0;

ios/Runner/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<array>
2727
<dict>
2828
<key>CFBundleURLName</key>
29-
<string>com.zulip.flutter</string>
29+
<string>org.zulip.Zulip</string>
3030
<key>CFBundleURLSchemes</key>
3131
<array>
3232
<string>zulip</string>

0 commit comments

Comments
 (0)