Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 74ede24

Browse files
committed
[quick_actions] Update and migrate iOS example project
1 parent a2b5a77 commit 74ede24

File tree

4 files changed

+33
-43
lines changed

4 files changed

+33
-43
lines changed

packages/quick_actions/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.3.3
2+
3+
* Update and migrate iOS example project.
4+
15
## 0.3.2+2
26
* Fix bug that would make the shortcut not open on Android.
37
* Report shortcut used on Android.

packages/quick_actions/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 25 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@
88

99
/* Begin PBXBuildFile section */
1010
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11-
2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */ = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 /* flutter_assets */; };
1211
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1312
3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
1413
3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1514
83C36CAF23D629E5ABE75B2A /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CCC799F2B0AB50A9C34344F0 /* libPods-Runner.a */; };
1615
9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
1716
9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
18-
9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
19-
9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB31CF90195004384FC /* Generated.xcconfig */; };
2017
978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
2118
97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; };
2219
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
@@ -42,9 +39,9 @@
4239
/* Begin PBXFileReference section */
4340
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
4441
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
45-
2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; };
4642
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
4743
3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = "<group>"; };
44+
5278439583922091276A37C9 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
4845
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
4946
7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
5047
7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
@@ -58,6 +55,7 @@
5855
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
5956
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
6057
CCC799F2B0AB50A9C34344F0 /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; };
58+
F0609304FBCAEC2289164BD5 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
6159
/* End PBXFileReference section */
6260

6361
/* Begin PBXFrameworksBuildPhase section */
@@ -79,7 +77,6 @@
7977
children = (
8078
3B80C3931E831B6300D905FE /* App.framework */,
8179
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
82-
2D5378251FAA1A9400D5DBA9 /* flutter_assets */,
8380
9740EEBA1CF902C7004384FC /* Flutter.framework */,
8481
9740EEB21CF90195004384FC /* Debug.xcconfig */,
8582
7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
@@ -142,6 +139,8 @@
142139
D0FE95BE2380323DD75CB891 /* Pods */ = {
143140
isa = PBXGroup;
144141
children = (
142+
5278439583922091276A37C9 /* Pods-Runner.debug.xcconfig */,
143+
F0609304FBCAEC2289164BD5 /* Pods-Runner.release.xcconfig */,
145144
);
146145
name = Pods;
147146
sourceTree = "<group>";
@@ -161,7 +160,6 @@
161160
9705A1C41CF9048500538489 /* Embed Frameworks */,
162161
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
163162
FEDDF02AA7C2BA0D1905BD95 /* [CP] Embed Pods Frameworks */,
164-
BEA76C3BEB02665DE83A6355 /* [CP] Copy Pods Resources */,
165163
);
166164
buildRules = (
167165
);
@@ -178,18 +176,17 @@
178176
97C146E61CF9000F007C117D /* Project object */ = {
179177
isa = PBXProject;
180178
attributes = {
181-
LastUpgradeCheck = 0830;
179+
LastUpgradeCheck = 1100;
182180
ORGANIZATIONNAME = "The Chromium Authors";
183181
TargetAttributes = {
184182
97C146ED1CF9000F007C117D = {
185183
CreatedOnToolsVersion = 7.3.1;
186-
DevelopmentTeam = JSJA5AH6K6;
187184
};
188185
};
189186
};
190187
buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
191188
compatibilityVersion = "Xcode 3.2";
192-
developmentRegion = English;
189+
developmentRegion = en;
193190
hasScannedForEncodings = 0;
194191
knownRegions = (
195192
en,
@@ -211,10 +208,7 @@
211208
buildActionMask = 2147483647;
212209
files = (
213210
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
214-
9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */,
215211
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
216-
2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */,
217-
9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
218212
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
219213
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
220214
);
@@ -251,21 +245,6 @@
251245
shellPath = /bin/sh;
252246
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
253247
};
254-
BEA76C3BEB02665DE83A6355 /* [CP] Copy Pods Resources */ = {
255-
isa = PBXShellScriptBuildPhase;
256-
buildActionMask = 2147483647;
257-
files = (
258-
);
259-
inputPaths = (
260-
);
261-
name = "[CP] Copy Pods Resources";
262-
outputPaths = (
263-
);
264-
runOnlyForDeploymentPostprocessing = 0;
265-
shellPath = /bin/sh;
266-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
267-
showEnvVarsInLog = 0;
268-
};
269248
C6989ECD8FF0836301D734B4 /* [CP] Check Pods Manifest.lock */ = {
270249
isa = PBXShellScriptBuildPhase;
271250
buildActionMask = 2147483647;
@@ -290,16 +269,13 @@
290269
files = (
291270
);
292271
inputPaths = (
293-
"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
294-
"${PODS_ROOT}/.symlinks/flutter/ios/Flutter.framework",
295272
);
296273
name = "[CP] Embed Pods Frameworks";
297274
outputPaths = (
298-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework",
299275
);
300276
runOnlyForDeploymentPostprocessing = 0;
301277
shellPath = /bin/sh;
302-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
278+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
303279
showEnvVarsInLog = 0;
304280
};
305281
/* End PBXShellScriptBuildPhase section */
@@ -342,19 +318,28 @@
342318
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
343319
buildSettings = {
344320
ALWAYS_SEARCH_USER_PATHS = NO;
321+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
345322
CLANG_ANALYZER_NONNULL = YES;
346323
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
347324
CLANG_CXX_LIBRARY = "libc++";
348325
CLANG_ENABLE_MODULES = YES;
349326
CLANG_ENABLE_OBJC_ARC = YES;
327+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
350328
CLANG_WARN_BOOL_CONVERSION = YES;
329+
CLANG_WARN_COMMA = YES;
351330
CLANG_WARN_CONSTANT_CONVERSION = YES;
331+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
352332
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
353333
CLANG_WARN_EMPTY_BODY = YES;
354334
CLANG_WARN_ENUM_CONVERSION = YES;
355335
CLANG_WARN_INFINITE_RECURSION = YES;
356336
CLANG_WARN_INT_CONVERSION = YES;
337+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
338+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
339+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
357340
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
341+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
342+
CLANG_WARN_STRICT_PROTOTYPES = YES;
358343
CLANG_WARN_SUSPICIOUS_MOVE = YES;
359344
CLANG_WARN_UNREACHABLE_CODE = YES;
360345
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -390,19 +375,28 @@
390375
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
391376
buildSettings = {
392377
ALWAYS_SEARCH_USER_PATHS = NO;
378+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
393379
CLANG_ANALYZER_NONNULL = YES;
394380
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
395381
CLANG_CXX_LIBRARY = "libc++";
396382
CLANG_ENABLE_MODULES = YES;
397383
CLANG_ENABLE_OBJC_ARC = YES;
384+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
398385
CLANG_WARN_BOOL_CONVERSION = YES;
386+
CLANG_WARN_COMMA = YES;
399387
CLANG_WARN_CONSTANT_CONVERSION = YES;
388+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
400389
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
401390
CLANG_WARN_EMPTY_BODY = YES;
402391
CLANG_WARN_ENUM_CONVERSION = YES;
403392
CLANG_WARN_INFINITE_RECURSION = YES;
404393
CLANG_WARN_INT_CONVERSION = YES;
394+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
395+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
396+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
405397
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
398+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
399+
CLANG_WARN_STRICT_PROTOTYPES = YES;
406400
CLANG_WARN_SUSPICIOUS_MOVE = YES;
407401
CLANG_WARN_UNREACHABLE_CODE = YES;
408402
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -431,9 +425,7 @@
431425
isa = XCBuildConfiguration;
432426
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
433427
buildSettings = {
434-
ARCHS = arm64;
435428
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
436-
DEVELOPMENT_TEAM = JSJA5AH6K6;
437429
ENABLE_BITCODE = NO;
438430
FRAMEWORK_SEARCH_PATHS = (
439431
"$(inherited)",
@@ -454,9 +446,7 @@
454446
isa = XCBuildConfiguration;
455447
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
456448
buildSettings = {
457-
ARCHS = arm64;
458449
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
459-
DEVELOPMENT_TEAM = JSJA5AH6K6;
460450
ENABLE_BITCODE = NO;
461451
FRAMEWORK_SEARCH_PATHS = (
462452
"$(inherited)",

packages/quick_actions/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0830"
3+
LastUpgradeVersion = "1100"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -27,8 +27,6 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30-
<Testables>
31-
</Testables>
3230
<MacroExpansion>
3331
<BuildableReference
3432
BuildableIdentifier = "primary"
@@ -38,8 +36,8 @@
3836
ReferencedContainer = "container:Runner.xcodeproj">
3937
</BuildableReference>
4038
</MacroExpansion>
41-
<AdditionalOptions>
42-
</AdditionalOptions>
39+
<Testables>
40+
</Testables>
4341
</TestAction>
4442
<LaunchAction
4543
buildConfiguration = "Debug"
@@ -61,8 +59,6 @@
6159
ReferencedContainer = "container:Runner.xcodeproj">
6260
</BuildableReference>
6361
</BuildableProductRunnable>
64-
<AdditionalOptions>
65-
</AdditionalOptions>
6662
</LaunchAction>
6763
<ProfileAction
6864
buildConfiguration = "Release"

packages/quick_actions/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for creating shortcuts on home screen, also known as
33
Quick Actions on iOS and App Shortcuts on Android.
44
author: Flutter Team <[email protected]>
55
homepage: https://github.com/flutter/plugins/tree/master/packages/quick_actions
6-
version: 0.3.2+2
6+
version: 0.3.3
77

88
flutter:
99
plugin:

0 commit comments

Comments
 (0)