How to fix in location plugin?

Hi i have use location on my app and when first time open app will request allow to use location. But i dont know where im missing and on app show /Users/…/MyApp.app/www/index.html
Then how i can fix it to show name of app?
Thank you!