Skip to content

Commit e465412

Browse files
committed
removed Toast dependency for ios
1 parent ca967bb commit e465412

File tree

11 files changed

+1179
-4
lines changed

11 files changed

+1179
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [8.2.11]
2+
3+
- iOS Privacy manifest fix
4+
15
## [8.2.10]
26

37
- Support for latest flutter version (3.27.0)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This one has limited features and no control over UI
3131

3232
```yaml
3333
# add this line to your dependencies
34-
fluttertoast: ^8.2.10
34+
fluttertoast: ^8.2.11
3535
```
3636
3737
```dart

example/ios/Podfile.lock

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
PODS:
2+
- Flutter (1.0.0)
3+
- fluttertoast (0.0.2):
4+
- Flutter
5+
6+
DEPENDENCIES:
7+
- Flutter (from `Flutter`)
8+
- fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
9+
10+
EXTERNAL SOURCES:
11+
Flutter:
12+
:path: Flutter
13+
fluttertoast:
14+
:path: ".symlinks/plugins/fluttertoast/ios"
15+
16+
SPEC CHECKSUMS:
17+
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
18+
fluttertoast: 21eecd6935e7064cc1fcb733a4c5a428f3f24f0f
19+
20+
PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796
21+
22+
COCOAPODS: 1.15.2

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
1515
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
1616
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
17+
A6FEA2F39D09F4D6E560354D /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 36F79093EDAB891F075109D1 /* Pods_RunnerTests.framework */; };
18+
AAE6021D61A9F467D9C8F143 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7AF08D4EC3D4F44FB33FE4D0 /* Pods_Runner.framework */; };
1719
/* End PBXBuildFile section */
1820

1921
/* Begin PBXContainerItemProxy section */
@@ -40,34 +42,65 @@
4042
/* End PBXCopyFilesBuildPhase section */
4143

4244
/* Begin PBXFileReference section */
45+
028F73089A6ACF5A869EC4CF /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
46+
0D0A5AE3F1117467E7CCCC61 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
4347
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
4448
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
4549
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
4650
331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
51+
36F79093EDAB891F075109D1 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4752
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
53+
5DE3F0B6B6941D3CA369CC40 /* 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>"; };
54+
6EEB06181120A49DD85362DB /* 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>"; };
4855
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
4956
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
57+
7AF08D4EC3D4F44FB33FE4D0 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5058
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
59+
8D887948005855B40D76764C /* 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>"; };
5160
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
5261
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
5362
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
5463
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
5564
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
5665
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
5766
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
67+
EACBF77DB7084827A830AB40 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
5868
/* End PBXFileReference section */
5969

6070
/* Begin PBXFrameworksBuildPhase section */
6171
97C146EB1CF9000F007C117D /* Frameworks */ = {
6272
isa = PBXFrameworksBuildPhase;
6373
buildActionMask = 2147483647;
6474
files = (
75+
AAE6021D61A9F467D9C8F143 /* Pods_Runner.framework in Frameworks */,
76+
);
77+
runOnlyForDeploymentPostprocessing = 0;
78+
};
79+
C4957F73DE20A4D106C05522 /* Frameworks */ = {
80+
isa = PBXFrameworksBuildPhase;
81+
buildActionMask = 2147483647;
82+
files = (
83+
A6FEA2F39D09F4D6E560354D /* Pods_RunnerTests.framework in Frameworks */,
6584
);
6685
runOnlyForDeploymentPostprocessing = 0;
6786
};
6887
/* End PBXFrameworksBuildPhase section */
6988

7089
/* Begin PBXGroup section */
90+
18BB694F23B201699D58D411 /* Pods */ = {
91+
isa = PBXGroup;
92+
children = (
93+
6EEB06181120A49DD85362DB /* Pods-Runner.debug.xcconfig */,
94+
8D887948005855B40D76764C /* Pods-Runner.release.xcconfig */,
95+
5DE3F0B6B6941D3CA369CC40 /* Pods-Runner.profile.xcconfig */,
96+
0D0A5AE3F1117467E7CCCC61 /* Pods-RunnerTests.debug.xcconfig */,
97+
EACBF77DB7084827A830AB40 /* Pods-RunnerTests.release.xcconfig */,
98+
028F73089A6ACF5A869EC4CF /* Pods-RunnerTests.profile.xcconfig */,
99+
);
100+
name = Pods;
101+
path = Pods;
102+
sourceTree = "<group>";
103+
};
71104
331C8082294A63A400263BE5 /* RunnerTests */ = {
72105
isa = PBXGroup;
73106
children = (
@@ -94,6 +127,8 @@
94127
97C146F01CF9000F007C117D /* Runner */,
95128
97C146EF1CF9000F007C117D /* Products */,
96129
331C8082294A63A400263BE5 /* RunnerTests */,
130+
18BB694F23B201699D58D411 /* Pods */,
131+
E3AD3076A50A394A1B33C528 /* Frameworks */,
97132
);
98133
sourceTree = "<group>";
99134
};
@@ -121,15 +156,26 @@
121156
path = Runner;
122157
sourceTree = "<group>";
123158
};
159+
E3AD3076A50A394A1B33C528 /* Frameworks */ = {
160+
isa = PBXGroup;
161+
children = (
162+
7AF08D4EC3D4F44FB33FE4D0 /* Pods_Runner.framework */,
163+
36F79093EDAB891F075109D1 /* Pods_RunnerTests.framework */,
164+
);
165+
name = Frameworks;
166+
sourceTree = "<group>";
167+
};
124168
/* End PBXGroup section */
125169

126170
/* Begin PBXNativeTarget section */
127171
331C8080294A63A400263BE5 /* RunnerTests */ = {
128172
isa = PBXNativeTarget;
129173
buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
130174
buildPhases = (
175+
D55F05B8D19812E9DB4CE274 /* [CP] Check Pods Manifest.lock */,
131176
331C807D294A63A400263BE5 /* Sources */,
132177
331C807F294A63A400263BE5 /* Resources */,
178+
C4957F73DE20A4D106C05522 /* Frameworks */,
133179
);
134180
buildRules = (
135181
);
@@ -145,12 +191,14 @@
145191
isa = PBXNativeTarget;
146192
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
147193
buildPhases = (
194+
60B24B44370A90753439525B /* [CP] Check Pods Manifest.lock */,
148195
9740EEB61CF901F6004384FC /* Run Script */,
149196
97C146EA1CF9000F007C117D /* Sources */,
150197
97C146EB1CF9000F007C117D /* Frameworks */,
151198
97C146EC1CF9000F007C117D /* Resources */,
152199
9705A1C41CF9048500538489 /* Embed Frameworks */,
153200
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
201+
9D3160239D7E2CF6A2921720 /* [CP] Embed Pods Frameworks */,
154202
);
155203
buildRules = (
156204
);
@@ -238,6 +286,28 @@
238286
shellPath = /bin/sh;
239287
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
240288
};
289+
60B24B44370A90753439525B /* [CP] Check Pods Manifest.lock */ = {
290+
isa = PBXShellScriptBuildPhase;
291+
buildActionMask = 2147483647;
292+
files = (
293+
);
294+
inputFileListPaths = (
295+
);
296+
inputPaths = (
297+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
298+
"${PODS_ROOT}/Manifest.lock",
299+
);
300+
name = "[CP] Check Pods Manifest.lock";
301+
outputFileListPaths = (
302+
);
303+
outputPaths = (
304+
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
305+
);
306+
runOnlyForDeploymentPostprocessing = 0;
307+
shellPath = /bin/sh;
308+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
309+
showEnvVarsInLog = 0;
310+
};
241311
9740EEB61CF901F6004384FC /* Run Script */ = {
242312
isa = PBXShellScriptBuildPhase;
243313
alwaysOutOfDate = 1;
@@ -253,6 +323,45 @@
253323
shellPath = /bin/sh;
254324
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
255325
};
326+
9D3160239D7E2CF6A2921720 /* [CP] Embed Pods Frameworks */ = {
327+
isa = PBXShellScriptBuildPhase;
328+
buildActionMask = 2147483647;
329+
files = (
330+
);
331+
inputFileListPaths = (
332+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
333+
);
334+
name = "[CP] Embed Pods Frameworks";
335+
outputFileListPaths = (
336+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
337+
);
338+
runOnlyForDeploymentPostprocessing = 0;
339+
shellPath = /bin/sh;
340+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
341+
showEnvVarsInLog = 0;
342+
};
343+
D55F05B8D19812E9DB4CE274 /* [CP] Check Pods Manifest.lock */ = {
344+
isa = PBXShellScriptBuildPhase;
345+
buildActionMask = 2147483647;
346+
files = (
347+
);
348+
inputFileListPaths = (
349+
);
350+
inputPaths = (
351+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
352+
"${PODS_ROOT}/Manifest.lock",
353+
);
354+
name = "[CP] Check Pods Manifest.lock";
355+
outputFileListPaths = (
356+
);
357+
outputPaths = (
358+
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
359+
);
360+
runOnlyForDeploymentPostprocessing = 0;
361+
shellPath = /bin/sh;
362+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
363+
showEnvVarsInLog = 0;
364+
};
256365
/* End PBXShellScriptBuildPhase section */
257366

258367
/* Begin PBXSourcesBuildPhase section */
@@ -378,6 +487,7 @@
378487
};
379488
331C8088294A63A400263BE5 /* Debug */ = {
380489
isa = XCBuildConfiguration;
490+
baseConfigurationReference = 0D0A5AE3F1117467E7CCCC61 /* Pods-RunnerTests.debug.xcconfig */;
381491
buildSettings = {
382492
BUNDLE_LOADER = "$(TEST_HOST)";
383493
CODE_SIGN_STYLE = Automatic;
@@ -395,6 +505,7 @@
395505
};
396506
331C8089294A63A400263BE5 /* Release */ = {
397507
isa = XCBuildConfiguration;
508+
baseConfigurationReference = EACBF77DB7084827A830AB40 /* Pods-RunnerTests.release.xcconfig */;
398509
buildSettings = {
399510
BUNDLE_LOADER = "$(TEST_HOST)";
400511
CODE_SIGN_STYLE = Automatic;
@@ -410,6 +521,7 @@
410521
};
411522
331C808A294A63A400263BE5 /* Profile */ = {
412523
isa = XCBuildConfiguration;
524+
baseConfigurationReference = 028F73089A6ACF5A869EC4CF /* Pods-RunnerTests.profile.xcconfig */;
413525
buildSettings = {
414526
BUNDLE_LOADER = "$(TEST_HOST)";
415527
CODE_SIGN_STYLE = Automatic;

example/ios/Runner.xcworkspace/contents.xcworkspacedata

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fluttertoast.iml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
<excludeFolder url="file://$MODULE_DIR$/example/ios/.symlinks/plugins/fluttertoast/.dart_tool" />
1515
<excludeFolder url="file://$MODULE_DIR$/example/ios/.symlinks/plugins/fluttertoast/.pub" />
1616
<excludeFolder url="file://$MODULE_DIR$/example/ios/.symlinks/plugins/fluttertoast/build" />
17+
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
18+
<excludeFolder url="file://$MODULE_DIR$/.pub" />
19+
<excludeFolder url="file://$MODULE_DIR$/build" />
1720
</content>
1821
<orderEntry type="sourceFolder" forTests="false" />
1922
<orderEntry type="library" name="Dart SDK" level="project" />

ios/Classes/FluttertoastPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#import "FluttertoastPlugin.h"
2-
#import <Toast/UIView+Toast.h>
2+
#import "UIView+Toast.h"
33

44
static NSString *const CHANNEL_NAME = @"PonnamKarthik/fluttertoast";
55

0 commit comments

Comments
 (0)