Skip to content

Commit 3115cb8

Browse files
authored
fix: iOS custom url scheme (#264)
1 parent 6106433 commit 3115cb8

File tree

2 files changed

+21
-17
lines changed

2 files changed

+21
-17
lines changed

ios/Runner/Info.plist

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1515
<key>CFBundleInfoDictionaryVersion</key>
1616
<string>6.0</string>
17+
<key>CFBundleLocalizations</key>
18+
<array>
19+
<string>en</string>
20+
<string>ko</string>
21+
</array>
1722
<key>CFBundleName</key>
1823
<string>pot_g</string>
1924
<key>CFBundlePackageType</key>
@@ -22,8 +27,23 @@
2227
<string>$(FLUTTER_BUILD_NAME)</string>
2328
<key>CFBundleSignature</key>
2429
<string>????</string>
30+
<key>CFBundleURLTypes</key>
31+
<array>
32+
<dict>
33+
<key>CFBundleTypeRole</key>
34+
<string>Editor</string>
35+
<key>CFBundleURLName</key>
36+
<string>me.gistory.PotG</string>
37+
<key>CFBundleURLSchemes</key>
38+
<array>
39+
<string>pot-g</string>
40+
</array>
41+
</dict>
42+
</array>
2543
<key>CFBundleVersion</key>
2644
<string>$(FLUTTER_BUILD_NUMBER)</string>
45+
<key>FlutterDeepLinkingEnabled</key>
46+
<false/>
2747
<key>ITSAppUsesNonExemptEncryption</key>
2848
<false/>
2949
<key>LSRequiresIPhoneOS</key>
@@ -54,21 +74,5 @@
5474
<string>UIInterfaceOrientationLandscapeLeft</string>
5575
<string>UIInterfaceOrientationLandscapeRight</string>
5676
</array>
57-
<key>CFBundleLocalizations</key>
58-
<array>
59-
<string>en</string>
60-
<string>ko</string>
61-
</array>
62-
<key>FlutterDeepLinkingEnabled</key>
63-
<false/>
64-
<key>CFBundleURLTypes</key>
65-
<array>
66-
<dict>
67-
<key>CFBundleURLSchemes</key>
68-
<array>
69-
<string>pot-g</string>
70-
</array>
71-
</dict>
72-
</array>
7377
</dict>
7478
</plist>

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: pot_g
22
description: "A new Flutter project."
33
publish_to: 'none'
4-
version: 1.0.3
4+
version: 1.0.4
55

66
environment:
77
sdk: ^3.9.0

0 commit comments

Comments
 (0)