f-prime/flutter_app_name

not working in ios

SteveSuv opened this issue ยท 9 comments

android is ok
but can't change appName in ios

not work in IOS

same issue here !

The issue is that in the Info.plist, CFBundleName is being updated instead of CFBundleDisplayName.

Has anybody gotten any work around this yet? I might have to go for the manual method.

I don't have the time to fix and test this right now, but I will happily accept a PR for whomever wants to fix this right now. It should be a small change made to https://github.com/f-prime/flutter_app_name/blob/master/lib/ios.dart.

As you can see on line 16 CFBundleName is being changed instead of CFBundleDisplayName. If someone wants to fix, test it, and then open a PR if it works I'll accept it.

@f-prime Yeah I was planning to do a fix for this and get a PR over to you, I just haven't had the time yet.

I tested and does not seem any problem with iOS and added macOS, too. I don't know windows and linux environment so, I couldn't develop those. @f-prime I believe, you could close this issue.

Hello everyone! Opened new pull request to fix that case. #7

arnab commented

Thanks for the PR and fix, @AndGreen !

@f-prime while the change is in the code with the PR #7, the plugin has not been released to pub after this change: https://pub.dev/packages/flutter_app_name/versions.

Can you please build and release a new version?