sampart / cordova-plugin-app-version

Cordova plugin to return the version number of the current app [not maintained]
MIT License
401 stars 195 forks source link

getAppName returns null on iOS #131

Closed gecsbernat closed 2 years ago

gecsbernat commented 2 years ago

Hello!

In version 0.1.14, on iOS the plugin sometimes returns null when calling getAppName. This is because there are no localized value on every app. So the plugin should check if there is a localized value available and if not the plugin should fall back to the non-localized value.

I am using this plugin so I had to downgrade to 0.1.12 because of this!

See the screenshot below:

Screenshot 2022-10-07 at 12 38 54

I will make a pull request to fix this. Hope you will accept it! Thank you :)

sampart commented 2 years ago

Fixed by https://github.com/sampart/cordova-plugin-app-version/pull/132