Fix wakelock on iOS (#143)
* Update CHANGELOG * Fix wakelock on iOS
Showing
14 changed files
with
63 additions
and
96 deletions
| @@ -18,6 +18,7 @@ Flutter/App.framework | @@ -18,6 +18,7 @@ Flutter/App.framework | ||
| 18 | Flutter/Flutter.framework | 18 | Flutter/Flutter.framework |
| 19 | Flutter/Flutter.podspec | 19 | Flutter/Flutter.podspec |
| 20 | Flutter/Generated.xcconfig | 20 | Flutter/Generated.xcconfig |
| 21 | +Flutter/ephemeral/ | ||
| 21 | Flutter/app.flx | 22 | Flutter/app.flx |
| 22 | Flutter/app.zip | 23 | Flutter/app.zip |
| 23 | Flutter/flutter_assets/ | 24 | Flutter/flutter_assets/ |
| @@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
| 3 | <plist version="1.0"> | 3 | <plist version="1.0"> |
| 4 | <dict> | 4 | <dict> |
| 5 | <key>CFBundleDevelopmentRegion</key> | 5 | <key>CFBundleDevelopmentRegion</key> |
| 6 | - <string>$(DEVELOPMENT_LANGUAGE)</string> | 6 | + <string>en</string> |
| 7 | <key>CFBundleExecutable</key> | 7 | <key>CFBundleExecutable</key> |
| 8 | <string>App</string> | 8 | <string>App</string> |
| 9 | <key>CFBundleIdentifier</key> | 9 | <key>CFBundleIdentifier</key> |
| @@ -19,10 +19,10 @@ EXTERNAL SOURCES: | @@ -19,10 +19,10 @@ EXTERNAL SOURCES: | ||
| 19 | :path: ".symlinks/plugins/wakelock/ios" | 19 | :path: ".symlinks/plugins/wakelock/ios" |
| 20 | 20 | ||
| 21 | SPEC CHECKSUMS: | 21 | SPEC CHECKSUMS: |
| 22 | - Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c | ||
| 23 | - integration_test: 5ed24a436eb7ec17b6a13046e9bf7ca4a404e59e | 22 | + Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a |
| 23 | + integration_test: 7db6d89f336f671dcbc7563ee27a5b08f6f8aee1 | ||
| 24 | wakelock: d0fc7c864128eac40eba1617cb5264d9c940b46f | 24 | wakelock: d0fc7c864128eac40eba1617cb5264d9c940b46f |
| 25 | 25 | ||
| 26 | -PODFILE CHECKSUM: 8e679eca47255a8ca8067c4c67aab20e64cb974d | 26 | +PODFILE CHECKSUM: da6cafc552cabecbcfc14b81246265fade7d4e24 |
| 27 | 27 | ||
| 28 | -COCOAPODS: 1.10.1 | 28 | +COCOAPODS: 1.10.2 |
| @@ -9,12 +9,11 @@ | @@ -9,12 +9,11 @@ | ||
| 9 | /* Begin PBXBuildFile section */ | 9 | /* Begin PBXBuildFile section */ |
| 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; | 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; |
| 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; | 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; |
| 12 | - 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; }; | ||
| 13 | - 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; }; | 12 | + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; |
| 14 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; | 13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; |
| 15 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; | 14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; |
| 16 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; | 15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; |
| 17 | - A6847046D3B647529A66EE97 /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 320D1841761F9CD1E849A1F0 /* libPods-Runner.a */; }; | 16 | + BFCC9E3CB7BA279741FCD992 /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BD8D23A744CDD45E828295B8 /* libPods-Runner.a */; }; |
| 18 | /* End PBXBuildFile section */ | 17 | /* End PBXBuildFile section */ |
| 19 | 18 | ||
| 20 | /* Begin PBXCopyFilesBuildPhase section */ | 19 | /* Begin PBXCopyFilesBuildPhase section */ |
| @@ -31,24 +30,23 @@ | @@ -31,24 +30,23 @@ | ||
| 31 | /* End PBXCopyFilesBuildPhase section */ | 30 | /* End PBXCopyFilesBuildPhase section */ |
| 32 | 31 | ||
| 33 | /* Begin PBXFileReference section */ | 32 | /* Begin PBXFileReference section */ |
| 33 | + 06B046091A6718E60BC8F2E0 /* 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>"; }; | ||
| 34 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; }; | 34 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; }; |
| 35 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; }; | 35 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; }; |
| 36 | - 2111AD0340E57F623E74EE98 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; }; | ||
| 37 | - 320D1841761F9CD1E849A1F0 /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 38 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; }; | 36 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; }; |
| 39 | - 6937DE1C1E231CE26C21EB6B /* 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>"; }; | 37 | + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; }; |
| 38 | + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; | ||
| 40 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; }; | 39 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; }; |
| 41 | - 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; | ||
| 42 | - 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; }; | ||
| 43 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; }; | 40 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; }; |
| 44 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; }; | 41 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; }; |
| 45 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; | 42 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
| 46 | - 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | ||
| 47 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; | 43 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; |
| 48 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; | 44 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; |
| 49 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; | 45 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; |
| 50 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | 46 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; |
| 51 | - F6CC63182AFEEC23EAC5C95F /* 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>"; }; | 47 | + A3A052DAD735CA9CF9731DD7 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; }; |
| 48 | + AA5F285A86624788771EA287 /* 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>"; }; | ||
| 49 | + BD8D23A744CDD45E828295B8 /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 52 | /* End PBXFileReference section */ | 50 | /* End PBXFileReference section */ |
| 53 | 51 | ||
| 54 | /* Begin PBXFrameworksBuildPhase section */ | 52 | /* Begin PBXFrameworksBuildPhase section */ |
| @@ -56,27 +54,27 @@ | @@ -56,27 +54,27 @@ | ||
| 56 | isa = PBXFrameworksBuildPhase; | 54 | isa = PBXFrameworksBuildPhase; |
| 57 | buildActionMask = 2147483647; | 55 | buildActionMask = 2147483647; |
| 58 | files = ( | 56 | files = ( |
| 59 | - A6847046D3B647529A66EE97 /* libPods-Runner.a in Frameworks */, | 57 | + BFCC9E3CB7BA279741FCD992 /* libPods-Runner.a in Frameworks */, |
| 60 | ); | 58 | ); |
| 61 | runOnlyForDeploymentPostprocessing = 0; | 59 | runOnlyForDeploymentPostprocessing = 0; |
| 62 | }; | 60 | }; |
| 63 | /* End PBXFrameworksBuildPhase section */ | 61 | /* End PBXFrameworksBuildPhase section */ |
| 64 | 62 | ||
| 65 | /* Begin PBXGroup section */ | 63 | /* Begin PBXGroup section */ |
| 66 | - 356EF92E5865B0B43E707F28 /* Frameworks */ = { | 64 | + 4AB0E97870F5F2117E1F7CA1 /* Frameworks */ = { |
| 67 | isa = PBXGroup; | 65 | isa = PBXGroup; |
| 68 | children = ( | 66 | children = ( |
| 69 | - 320D1841761F9CD1E849A1F0 /* libPods-Runner.a */, | 67 | + BD8D23A744CDD45E828295B8 /* libPods-Runner.a */, |
| 70 | ); | 68 | ); |
| 71 | name = Frameworks; | 69 | name = Frameworks; |
| 72 | sourceTree = "<group>"; | 70 | sourceTree = "<group>"; |
| 73 | }; | 71 | }; |
| 74 | - 7865595A245EC8291D1003FA /* Pods */ = { | 72 | + 6CEE6E211895A0B70D51FC97 /* Pods */ = { |
| 75 | isa = PBXGroup; | 73 | isa = PBXGroup; |
| 76 | children = ( | 74 | children = ( |
| 77 | - F6CC63182AFEEC23EAC5C95F /* Pods-Runner.debug.xcconfig */, | ||
| 78 | - 2111AD0340E57F623E74EE98 /* Pods-Runner.release.xcconfig */, | ||
| 79 | - 6937DE1C1E231CE26C21EB6B /* Pods-Runner.profile.xcconfig */, | 75 | + AA5F285A86624788771EA287 /* Pods-Runner.debug.xcconfig */, |
| 76 | + A3A052DAD735CA9CF9731DD7 /* Pods-Runner.release.xcconfig */, | ||
| 77 | + 06B046091A6718E60BC8F2E0 /* Pods-Runner.profile.xcconfig */, | ||
| 80 | ); | 78 | ); |
| 81 | name = Pods; | 79 | name = Pods; |
| 82 | path = Pods; | 80 | path = Pods; |
| @@ -99,8 +97,8 @@ | @@ -99,8 +97,8 @@ | ||
| 99 | 9740EEB11CF90186004384FC /* Flutter */, | 97 | 9740EEB11CF90186004384FC /* Flutter */, |
| 100 | 97C146F01CF9000F007C117D /* Runner */, | 98 | 97C146F01CF9000F007C117D /* Runner */, |
| 101 | 97C146EF1CF9000F007C117D /* Products */, | 99 | 97C146EF1CF9000F007C117D /* Products */, |
| 102 | - 7865595A245EC8291D1003FA /* Pods */, | ||
| 103 | - 356EF92E5865B0B43E707F28 /* Frameworks */, | 100 | + 6CEE6E211895A0B70D51FC97 /* Pods */, |
| 101 | + 4AB0E97870F5F2117E1F7CA1 /* Frameworks */, | ||
| 104 | ); | 102 | ); |
| 105 | sourceTree = "<group>"; | 103 | sourceTree = "<group>"; |
| 106 | }; | 104 | }; |
| @@ -115,27 +113,18 @@ | @@ -115,27 +113,18 @@ | ||
| 115 | 97C146F01CF9000F007C117D /* Runner */ = { | 113 | 97C146F01CF9000F007C117D /* Runner */ = { |
| 116 | isa = PBXGroup; | 114 | isa = PBXGroup; |
| 117 | children = ( | 115 | children = ( |
| 118 | - 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, | ||
| 119 | - 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */, | ||
| 120 | 97C146FA1CF9000F007C117D /* Main.storyboard */, | 116 | 97C146FA1CF9000F007C117D /* Main.storyboard */, |
| 121 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, | 117 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, |
| 122 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, | 118 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, |
| 123 | 97C147021CF9000F007C117D /* Info.plist */, | 119 | 97C147021CF9000F007C117D /* Info.plist */, |
| 124 | - 97C146F11CF9000F007C117D /* Supporting Files */, | ||
| 125 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, | 120 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, |
| 126 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, | 121 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, |
| 122 | + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, | ||
| 123 | + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, | ||
| 127 | ); | 124 | ); |
| 128 | path = Runner; | 125 | path = Runner; |
| 129 | sourceTree = "<group>"; | 126 | sourceTree = "<group>"; |
| 130 | }; | 127 | }; |
| 131 | - 97C146F11CF9000F007C117D /* Supporting Files */ = { | ||
| 132 | - isa = PBXGroup; | ||
| 133 | - children = ( | ||
| 134 | - 97C146F21CF9000F007C117D /* main.m */, | ||
| 135 | - ); | ||
| 136 | - name = "Supporting Files"; | ||
| 137 | - sourceTree = "<group>"; | ||
| 138 | - }; | ||
| 139 | /* End PBXGroup section */ | 128 | /* End PBXGroup section */ |
| 140 | 129 | ||
| 141 | /* Begin PBXNativeTarget section */ | 130 | /* Begin PBXNativeTarget section */ |
| @@ -143,7 +132,7 @@ | @@ -143,7 +132,7 @@ | ||
| 143 | isa = PBXNativeTarget; | 132 | isa = PBXNativeTarget; |
| 144 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; | 133 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; |
| 145 | buildPhases = ( | 134 | buildPhases = ( |
| 146 | - 112EA101BE908B08DE569906 /* [CP] Check Pods Manifest.lock */, | 135 | + 074E7DABAAA7AEDC614E5B1B /* [CP] Check Pods Manifest.lock */, |
| 147 | 9740EEB61CF901F6004384FC /* Run Script */, | 136 | 9740EEB61CF901F6004384FC /* Run Script */, |
| 148 | 97C146EA1CF9000F007C117D /* Sources */, | 137 | 97C146EA1CF9000F007C117D /* Sources */, |
| 149 | 97C146EB1CF9000F007C117D /* Frameworks */, | 138 | 97C146EB1CF9000F007C117D /* Frameworks */, |
| @@ -171,6 +160,7 @@ | @@ -171,6 +160,7 @@ | ||
| 171 | TargetAttributes = { | 160 | TargetAttributes = { |
| 172 | 97C146ED1CF9000F007C117D = { | 161 | 97C146ED1CF9000F007C117D = { |
| 173 | CreatedOnToolsVersion = 7.3.1; | 162 | CreatedOnToolsVersion = 7.3.1; |
| 163 | + LastSwiftMigration = 1100; | ||
| 174 | }; | 164 | }; |
| 175 | }; | 165 | }; |
| 176 | }; | 166 | }; |
| @@ -207,7 +197,7 @@ | @@ -207,7 +197,7 @@ | ||
| 207 | /* End PBXResourcesBuildPhase section */ | 197 | /* End PBXResourcesBuildPhase section */ |
| 208 | 198 | ||
| 209 | /* Begin PBXShellScriptBuildPhase section */ | 199 | /* Begin PBXShellScriptBuildPhase section */ |
| 210 | - 112EA101BE908B08DE569906 /* [CP] Check Pods Manifest.lock */ = { | 200 | + 074E7DABAAA7AEDC614E5B1B /* [CP] Check Pods Manifest.lock */ = { |
| 211 | isa = PBXShellScriptBuildPhase; | 201 | isa = PBXShellScriptBuildPhase; |
| 212 | buildActionMask = 2147483647; | 202 | buildActionMask = 2147483647; |
| 213 | files = ( | 203 | files = ( |
| @@ -264,8 +254,7 @@ | @@ -264,8 +254,7 @@ | ||
| 264 | isa = PBXSourcesBuildPhase; | 254 | isa = PBXSourcesBuildPhase; |
| 265 | buildActionMask = 2147483647; | 255 | buildActionMask = 2147483647; |
| 266 | files = ( | 256 | files = ( |
| 267 | - 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */, | ||
| 268 | - 97C146F31CF9000F007C117D /* main.m in Sources */, | 257 | + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, |
| 269 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, | 258 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, |
| 270 | ); | 259 | ); |
| 271 | runOnlyForDeploymentPostprocessing = 0; | 260 | runOnlyForDeploymentPostprocessing = 0; |
| @@ -347,20 +336,15 @@ | @@ -347,20 +336,15 @@ | ||
| 347 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; | 336 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; |
| 348 | buildSettings = { | 337 | buildSettings = { |
| 349 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | 338 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; |
| 339 | + CLANG_ENABLE_MODULES = YES; | ||
| 350 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; | 340 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; |
| 351 | ENABLE_BITCODE = NO; | 341 | ENABLE_BITCODE = NO; |
| 352 | - FRAMEWORK_SEARCH_PATHS = ( | ||
| 353 | - "$(inherited)", | ||
| 354 | - "$(PROJECT_DIR)/Flutter", | ||
| 355 | - ); | ||
| 356 | INFOPLIST_FILE = Runner/Info.plist; | 342 | INFOPLIST_FILE = Runner/Info.plist; |
| 357 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | 343 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
| 358 | - LIBRARY_SEARCH_PATHS = ( | ||
| 359 | - "$(inherited)", | ||
| 360 | - "$(PROJECT_DIR)/Flutter", | ||
| 361 | - ); | ||
| 362 | PRODUCT_BUNDLE_IDENTIFIER = creativemaybeno.wakelockExample; | 344 | PRODUCT_BUNDLE_IDENTIFIER = creativemaybeno.wakelockExample; |
| 363 | PRODUCT_NAME = "$(TARGET_NAME)"; | 345 | PRODUCT_NAME = "$(TARGET_NAME)"; |
| 346 | + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; | ||
| 347 | + SWIFT_VERSION = 5.0; | ||
| 364 | VERSIONING_SYSTEM = "apple-generic"; | 348 | VERSIONING_SYSTEM = "apple-generic"; |
| 365 | }; | 349 | }; |
| 366 | name = Profile; | 350 | name = Profile; |
| @@ -465,6 +449,7 @@ | @@ -465,6 +449,7 @@ | ||
| 465 | MTL_ENABLE_DEBUG_INFO = NO; | 449 | MTL_ENABLE_DEBUG_INFO = NO; |
| 466 | SDKROOT = iphoneos; | 450 | SDKROOT = iphoneos; |
| 467 | SUPPORTED_PLATFORMS = iphoneos; | 451 | SUPPORTED_PLATFORMS = iphoneos; |
| 452 | + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; | ||
| 468 | TARGETED_DEVICE_FAMILY = "1,2"; | 453 | TARGETED_DEVICE_FAMILY = "1,2"; |
| 469 | VALIDATE_PRODUCT = YES; | 454 | VALIDATE_PRODUCT = YES; |
| 470 | }; | 455 | }; |
| @@ -475,20 +460,16 @@ | @@ -475,20 +460,16 @@ | ||
| 475 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; | 460 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; |
| 476 | buildSettings = { | 461 | buildSettings = { |
| 477 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | 462 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; |
| 463 | + CLANG_ENABLE_MODULES = YES; | ||
| 478 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; | 464 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; |
| 479 | ENABLE_BITCODE = NO; | 465 | ENABLE_BITCODE = NO; |
| 480 | - FRAMEWORK_SEARCH_PATHS = ( | ||
| 481 | - "$(inherited)", | ||
| 482 | - "$(PROJECT_DIR)/Flutter", | ||
| 483 | - ); | ||
| 484 | INFOPLIST_FILE = Runner/Info.plist; | 466 | INFOPLIST_FILE = Runner/Info.plist; |
| 485 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | 467 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
| 486 | - LIBRARY_SEARCH_PATHS = ( | ||
| 487 | - "$(inherited)", | ||
| 488 | - "$(PROJECT_DIR)/Flutter", | ||
| 489 | - ); | ||
| 490 | PRODUCT_BUNDLE_IDENTIFIER = creativemaybeno.wakelockExample; | 468 | PRODUCT_BUNDLE_IDENTIFIER = creativemaybeno.wakelockExample; |
| 491 | PRODUCT_NAME = "$(TARGET_NAME)"; | 469 | PRODUCT_NAME = "$(TARGET_NAME)"; |
| 470 | + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; | ||
| 471 | + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; | ||
| 472 | + SWIFT_VERSION = 5.0; | ||
| 492 | VERSIONING_SYSTEM = "apple-generic"; | 473 | VERSIONING_SYSTEM = "apple-generic"; |
| 493 | }; | 474 | }; |
| 494 | name = Debug; | 475 | name = Debug; |
| @@ -498,20 +479,15 @@ | @@ -498,20 +479,15 @@ | ||
| 498 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; | 479 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; |
| 499 | buildSettings = { | 480 | buildSettings = { |
| 500 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | 481 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; |
| 482 | + CLANG_ENABLE_MODULES = YES; | ||
| 501 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; | 483 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; |
| 502 | ENABLE_BITCODE = NO; | 484 | ENABLE_BITCODE = NO; |
| 503 | - FRAMEWORK_SEARCH_PATHS = ( | ||
| 504 | - "$(inherited)", | ||
| 505 | - "$(PROJECT_DIR)/Flutter", | ||
| 506 | - ); | ||
| 507 | INFOPLIST_FILE = Runner/Info.plist; | 485 | INFOPLIST_FILE = Runner/Info.plist; |
| 508 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | 486 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
| 509 | - LIBRARY_SEARCH_PATHS = ( | ||
| 510 | - "$(inherited)", | ||
| 511 | - "$(PROJECT_DIR)/Flutter", | ||
| 512 | - ); | ||
| 513 | PRODUCT_BUNDLE_IDENTIFIER = creativemaybeno.wakelockExample; | 487 | PRODUCT_BUNDLE_IDENTIFIER = creativemaybeno.wakelockExample; |
| 514 | PRODUCT_NAME = "$(TARGET_NAME)"; | 488 | PRODUCT_NAME = "$(TARGET_NAME)"; |
| 489 | + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; | ||
| 490 | + SWIFT_VERSION = 5.0; | ||
| 515 | VERSIONING_SYSTEM = "apple-generic"; | 491 | VERSIONING_SYSTEM = "apple-generic"; |
| 516 | }; | 492 | }; |
| 517 | name = Release; | 493 | name = Release; |
| 1 | -#import "AppDelegate.h" | ||
| 2 | -#import "GeneratedPluginRegistrant.h" | ||
| 3 | - | ||
| 4 | -@implementation AppDelegate | ||
| 5 | - | ||
| 6 | -- (BOOL)application:(UIApplication *)application | ||
| 7 | - didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | ||
| 8 | - [GeneratedPluginRegistrant registerWithRegistry:self]; | ||
| 9 | - // Override point for customization after application launch. | ||
| 10 | - return [super application:application didFinishLaunchingWithOptions:launchOptions]; | ||
| 11 | -} | ||
| 12 | - | ||
| 13 | -@end |
| 1 | +import UIKit | ||
| 2 | +import Flutter | ||
| 3 | + | ||
| 4 | +@UIApplicationMain | ||
| 5 | +@objc class AppDelegate: FlutterAppDelegate { | ||
| 6 | + override func application( | ||
| 7 | + _ application: UIApplication, | ||
| 8 | + didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? | ||
| 9 | + ) -> Bool { | ||
| 10 | + GeneratedPluginRegistrant.register(with: self) | ||
| 11 | + return super.application(application, didFinishLaunchingWithOptions: launchOptions) | ||
| 12 | + } | ||
| 13 | +} |
| 1 | +#import "GeneratedPluginRegistrant.h" |
wakelock/example/ios/Runner/main.m
deleted
100644 → 0
| @@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
| 17 | [[IdleTimerDisabledObserver singleInstance] beginObserving]; | 17 | [[IdleTimerDisabledObserver singleInstance] beginObserving]; |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | -- (void)toggle:(FLTToggleMessage*)input error:(FlutterError**)error { | 20 | +- (void)toggleMsg:(FLTToggleMessage*)input error:(FlutterError**)error { |
| 21 | NSNumber *enable = input.enable; | 21 | NSNumber *enable = input.enable; |
| 22 | self.enable = enable.boolValue; | 22 | self.enable = enable.boolValue; |
| 23 | NSNumber *enabled = [NSNumber numberWithBool:[[UIApplication sharedApplication] isIdleTimerDisabled]]; | 23 | NSNumber *enabled = [NSNumber numberWithBool:[[UIApplication sharedApplication] isIdleTimerDisabled]]; |
| @@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
| 27 | } | 27 | } |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | -- (FLTIsEnabledMessage*)isEnabled:(FlutterError* __autoreleasing *)error { | 30 | +- (FLTIsEnabledMessage*)isEnabledWithError:(FlutterError* __autoreleasing *)error { |
| 31 | NSNumber *enabled = [NSNumber numberWithBool:[[UIApplication sharedApplication] isIdleTimerDisabled]]; | 31 | NSNumber *enabled = [NSNumber numberWithBool:[[UIApplication sharedApplication] isIdleTimerDisabled]]; |
| 32 | 32 | ||
| 33 | FLTIsEnabledMessage* result = [[FLTIsEnabledMessage alloc] init]; | 33 | FLTIsEnabledMessage* result = [[FLTIsEnabledMessage alloc] init]; |
| @@ -2,7 +2,7 @@ name: wakelock | @@ -2,7 +2,7 @@ name: wakelock | ||
| 2 | description: >-2 | 2 | description: >-2 |
| 3 | Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on | 3 | Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on |
| 4 | Android, iOS, macOS, Windows, and web. | 4 | Android, iOS, macOS, Windows, and web. |
| 5 | -version: 0.5.4 | 5 | +version: 0.5.5 |
| 6 | repository: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock | 6 | repository: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock |
| 7 | 7 | ||
| 8 | environment: | 8 | environment: |
-
Please register or login to post a comment