Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple UIStatusBarHidden keys added to Info.plist #5

Closed
rrarey02 opened this issue Aug 27, 2019 · 2 comments
Closed

Multiple UIStatusBarHidden keys added to Info.plist #5

rrarey02 opened this issue Aug 27, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@rrarey02
Copy link

Just tried out this package and noticed that after running it, I have 3 of the following entries in my Info.plist file:

<key>UIStatusBarHidden</key>
<true/>

The package seems to be adding one of these entries to every <dict> element it finds, instead of just the top-level <dict>. My Info.plist has a few <key> entries with values that are <dict> elements, so duplicates were created.

@henriquearthur
Copy link
Collaborator

Thank you for reporting this.

I am not an iOS developer so I was unaware you can have multiple <dict> elements on Info.plist. I will fix this issue later today by searching only for top level dict for adding UIStatusBarHidden key.

@henriquearthur henriquearthur added bug Something isn't working ios labels Aug 27, 2019
@henriquearthur
Copy link
Collaborator

Fixed in v0.1.7 (0228c5b):

dev_dependencies:
  flutter_native_splash: ^0.1.7

The package looks now only for the last </dict> (top-level) on Info.plist and adds UIStatusBarHidden key before </dict>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants