Phonegap 2019 geolocation

step 1
https://speeltuin.nl/thewayback/
update the code and compile with Phonegap Build – submit you IPA

step 2
get an annoying e-mail:

Dear Developer,

We identified one or more issues with a recent delivery for your app, “The Way Back”. Please correct the following issues, then upload again.

“Missing Purpose String in Info.plist File. Your app’s code references one or more APIs that access sensitive user data. The app’s Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting spring 2019, all apps submitted to the App Store that access user data will be required to include a purpose string.If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn’t contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).”

“Missing Purpose String in Info.plist File. Your app’s code references one or more APIs that access sensitive user data. The app’s Info.plist file should contain a NSLocationWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting spring 2019, all apps submitted to the App Store that access user data will be required to include a purpose string.If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn’t contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).”

Best regards,

The App Store Team

step 3a
try to find a solution, like
https://github.com/apache/cordova-plugin-geolocation/issues/142

step 3b
Check if *-Info.plist actually changed and keep on seaching and trying.

step 4
figure out the real solution:

   <config-file platform=”ios” parent=”NSLocationWhenInUseUsageDescription” target=”*-Info.plist” mode=”overwrite”>
        <string>Allow GPS to find the Way Back</string>
    </config-file>
    <config-file platform=”ios” parent=”NSLocationAlwaysUsageDescription” target=”*-Info.plist” mode=”overwrite”>
        <string>Allow GPS to find the Way Back</string>
   </config-file>

That’s all folks!
Just contact My Brain if you need help….

Phonegap Build changes

dislikeNice. The ever-developing world of IT… or, “how to create more work for each other”.

My Brain develops Apps using a framework called Phonegap. Quick development, easy coding, simple configuration. Until you need to update an exisiting app and you are suddenly faced with the changes that were implemented since the last build…
This time the App did not want to access the Internet anymore… at all! So, Google to the rescue, finding this document with some good clues. I needed #10, which starts out perfectly phrased: “This is sooo new and obnoxious, one can only have pitty on returning developers.” …
bloemetje

Being a developer you have to love puzzles!

Continue reading Phonegap Build changes

App Approvals…

dislikeI would like to have an App. Sure. Development time depends on the complexity of the App, could be weeks, could be months. And after going over several versions and improvements, it’s finally time to submit the final App to the various App Stores.

“So that’s it? Good, so my App will be live tomorrow. What? Not tomorrow… So hoe long does it take? Really?”

Yes, check it yourself… this is the time Apple takes from the moment of submitting, to when the App is live in the App Store. See: http://appreviewtimes.com/

Damn!

Google Play and Windows Phone Store usually take a day for approval.
But all these periods are of course excluding the extra time/rounds it takes when the App gets denied at first. Could be incorrect screenshots, bad App descriptions, the App functionality, anything!
Apple, Google and Microsoft all made up their own rules for approving Apps. My Flappy Cows App for example is still not live on Windows Phone, because “it doesn’t offer any additional or unique functionality”… Thank you, Microsoft. Your loss, you’re missing out on my freakin’ cute cow game.

Mobile Apps? Endless resizing of icons, splashscreens and screenshots!

icon
As you may know, I develop Apps for iOS, Android and Windows Phone using Phonegap. One of the most awful tasks is creating all the images needed for the icons, splashscreens and screenshots to create the App and get it listed on the Apple iTunes, Google Play and Windows Phone App-stores. Nothing bad about it, but creating the same image, resizing, scaling and stretching, 118 different times in various resolutions is simply a pain.

So I searched for, and found, a script to create these variations of the same image with a push of a button. My Brain did what it does best and adapted the script for my own needs, so all I have to do now is the following steps: Continue reading Mobile Apps? Endless resizing of icons, splashscreens and screenshots!