Phonegap Build Android Splashscreen

Here we go again …
CLI-8.1.1 is new, new is better, ehm, except that the splashscreen stopped showing on Android. Stepping back to cli-7.1.0 solves this problem, but that is not really solving it.

<!-- Platforms to compile -->
    <gap:platform name="ios" />
    <gap:platform name="android" />

<!-- Define a specific version of PhoneGap to build -->
<platform name="android">
       <preference name="phonegap-version" value="cli-7.1.0" />
</platform>
<platform name="ios">
        <preference name="phonegap-version" value="cli-8.1.1" />
</platform>

Of course you search for solutions and may find out about density and qualifier, but neither keyword works. Also this link does not help by adding:

< platform name="android">
< preference name="SplashScreen" value="splash" />
< /platform>

the only “solution” so far is…

<platform name="android">
   <preference name="phonegap-version" value="cli-7.1.0" />
</platform>

sorry.

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….

more css

bron: https://css-tricks.com/examples/ShapesOfCSS/

Please not some of these do not work because of the default stylesheet ‘box-sizing’:
html { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
*, *:before, *:after { -webkit-box-sizing: inherit; -moz-box-sizing: inherit; box-sizing: inherit; }

TheShapes of CSS

All of the below use only a single HTML element. Any kind of CSS goes, as long as it’s supported in at least one browser.

Square

Rectangle

Circle

Continue reading more css