-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Conversation
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
Thanks for the submission! Since this currently doesn't pass any of the CI tests, and the checklist is missing critical elements like tests, I'm going to mark this as a draft. Please also read flutter/flutter#84391 (comment) as it looks like you are duplicating code, which isn't an approach we would land. Once this PR is complete, please mark it as ready for review and we'll take a look. Thanks! |
This still has a number of high-level issues that need to be addressed before we can even start reviewing this:
Some other issues as well:
|
thank you for clearing the confusion i will change the things and resend for review again |
@stuartmorgan i am running tests for the macos error: "Runner" has entitlements that require signing with a development certificate. Enable development signing in the Signing & Capabilities editor. (in target 'Runner' from project 'Runner') showing this error but in test is it required to sign in with capabilities |
I'm not sure where you are seeing that error, but the errors in CI are from the build not being set up correctly in the first place. For instance:
|
@stuartmorgan i tried the ci test for ios also but they showing the same error also |
I don't see that error anywhere in the CI output for iOS, so again I'm not sure where you are seeing this error. |
@stuartmorgan can you try to run again the ci test i am getting this error for ios also |
I'm not sure what you are asking for here; CI tests are run automatically every time you push changes. Please link to the specific line in the Cirrus logs that you are referring to, because I've looked at the logs and don't see the errors you are describing. |
you can run the test locally and i am running flutter ci test locally that mentioned in documentation |
@stuartmorgan also in the automatic ci test getting the same error |
Again, I'm not seeing that, so please provide the specific link (by opening the Cirrus log view, clicking the relevant line, and then copying the resulting address). |
@stuartmorgan For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.11.3
|
That error is completely different than the error you quoted earlier and said that you were seeing in the CI. It's very hard to help when you are providing conflicting information. You can resolve that error by changing the minimum deployment target of the targets in the Runner project and the Podfile. |
@stuartmorgan i changed the build setting and when i am running the examples in real device and all the things working perfectly but the ci is taking so much time in the building the application and stop the task after 1 hour |
A build timeout almost always means that |
@stuartmorgan i am completely stuck can you give some time its totally takes your some time to resolve this and merged this pr |
https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#changing-federated-plugins has the instructions for the process I was referring to in my last comment. You should follow the instructions in step 1 instead of using git references in pubspecs. |
Heavily inspired by flutter#5854
Heavily inspired by flutter#5854
Heavily inspired by flutter#5854
Heavily inspired by flutter#5854
Heavily inspired by flutter#5854
Heavily inspired by flutter#5854
* Initial commit of adding MacOS support. Heavily inspired by #5854 * Updated version and changelog. * Updated documentation. * Added missing license comments. * Fixed podspec lint issue. * Moved native tests to a shared location. * Decreased minimum macOS version from 10.15 to 10.11. This seems wrong to me, since StoreKit is only properly supported on MacOS 10.15+. However, now all existing tests should pass. * Added RunnerTests target to macos example. * Unified macOS capitalization. * Deleted generated macOS icon assets. * Removed empty function overrides. * Enabled tests for macOS. * Added OCMock to RunnerTests target. * Adapted tests for macOS. * Reverted relative path dependencies. * Updated to a proper version bump. * Make macOS no-op tests run only on iOS. * Replace directory symlinks with file symlinks. * Marked iOS-only API as iOS-only. Previously they were no-ops on macOS. * Re-worded doc-comment. * Formatted code.
@alihassan143 Thanks for your contribution! Can you post an update describing the state of this PR and the related PRs? I'm just trying to understand the state of our review queue. Thanks! |
@Hixie @IVLIVS-III make changes in his pr that needed to be added now his pr is in final reviews my pr contains some error so i am closing this pr |
* Initial commit of adding MacOS support. Heavily inspired by flutter#5854 * Updated version and changelog. * Updated documentation. * Added missing license comments. * Fixed podspec lint issue. * Moved native tests to a shared location. * Decreased minimum macOS version from 10.15 to 10.11. This seems wrong to me, since StoreKit is only properly supported on MacOS 10.15+. However, now all existing tests should pass. * Added RunnerTests target to macos example. * Unified macOS capitalization. * Deleted generated macOS icon assets. * Removed empty function overrides. * Enabled tests for macOS. * Added OCMock to RunnerTests target. * Adapted tests for macOS. * Reverted relative path dependencies. * Updated to a proper version bump. * Make macOS no-op tests run only on iOS. * Replace directory symlinks with file symlinks. * Marked iOS-only API as iOS-only. Previously they were no-ops on macOS. * Re-worded doc-comment. * Formatted code.
* Initial commit of adding MacOS support. Heavily inspired by flutter/plugins#5854 * Updated version and changelog. * Updated documentation. * Added missing license comments. * Fixed podspec lint issue. * Moved native tests to a shared location. * Decreased minimum macOS version from 10.15 to 10.11. This seems wrong to me, since StoreKit is only properly supported on MacOS 10.15+. However, now all existing tests should pass. * Added RunnerTests target to macos example. * Unified macOS capitalization. * Deleted generated macOS icon assets. * Removed empty function overrides. * Enabled tests for macOS. * Added OCMock to RunnerTests target. * Adapted tests for macOS. * Reverted relative path dependencies. * Updated to a proper version bump. * Make macOS no-op tests run only on iOS. * Replace directory symlinks with file symlinks. * Marked iOS-only API as iOS-only. Previously they were no-ops on macOS. * Re-worded doc-comment. * Formatted code.
macos os support added also the example app also added
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.