-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Update dependencies and platform directories #325
Update dependencies and platform directories #325
Conversation
7f3ea2b
to
879287c
Compare
There's already a web directory on trunk. I would suggest reverting all the ios/, android/, macos/, and web/ changes in this PR so that it's scoped specifically to adding Linux and Windows support, and doesn't have unintended side-effects on other platforms. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think adding the windows/linux directories makes sense. But it looks like this change is also modifying android/iOS/macOS/web in ways we don't necessarily want, such as removing the custom app icons
@@ -1,5 +0,0 @@ | |||
<?xml version="1.0" encoding="utf-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are there all of these Android changes? Also this looks like it is removing our Android adaptive icon. I don't think we wanna do that.
ios/Podfile
Outdated
@@ -1,41 +0,0 @@ | |||
# Uncomment this line to define a global platform for your project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same questions as above, why does this change delete a bunch of iOS related files?
macos/Podfile
Outdated
@@ -1,82 +0,0 @@ | |||
platform :osx, '10.11' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be deleting these macOS files?
@@ -28,7 +28,6 @@ | |||
33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you deleted the gallery macOS app icon and replaced it with the default flutter icon. Github wouldn't let me comment on the image so I commented here. I don't think we want to do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I already reverted that. Thanks for pointing it out.
web/index.html
Outdated
@@ -12,15 +12,9 @@ | |||
<link rel="apple-touch-icon" href="icons/Icon-192.png"> | |||
|
|||
<!-- Favicon --> | |||
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change also removed our custom gallery favicon
Is there a definitive source for the Gallery icon? At some point (probably not in this PR) the default |
8ed3171
to
5d4e5ca
Compare
Yes, I found the original sketch file that the designers created and shared it with the flutter team group. Also the highest res iOS asset could be used as a source of truth as it is 1024x1024 |
5d4e5ca
to
def23b7
Compare
I actually already reverted most of the macos/ios/android changes. Sorry, I was a little hasty in posting the PR, and I hadn't fully checked it on all the platforms yet. I was mainly creating it to see if the checks would pass, and I didn't think anyone would look at it at 6am PST. :-) I did want to update the versions (kotlin, gradle, min OS version, etc.) in the macos/ios/android directories, but I can do that in another PR. |
I did update the default windows icon though: we already had an .ico file for it in the tree. |
a80e983
to
4e11c97
Compare
It looks like it's a web favicon that only has 16x16, unless GitHub's UI isn't giving me the right bits. The default Windows icon has 256, 48, 32, and 16, which based on some research at the time seemed to be the right set to cover for Win32 apps. |
4e11c97
to
29383ad
Compare
OK, I updated it for those sizes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Actually, I'm going to make a better version: the small sizes in that .ico are not great. |
29383ad
to
f1fa9f5
Compare
Former-commit-id: d04d40d
Description
This updates the url_launcher to
^5.6.0
so that it includes Windows, and adds the missing platform directories for web, windows, and linux.Related Issues