Skip to content

Commit

Permalink
Merge pull request #126 from mendix/fix/default-login
Browse files Browse the repository at this point in the history
[MOO-1376] Change scheme value to 'app' and make available for only iOS
  • Loading branch information
stelselim authored May 8, 2024
2 parents 0b4f927 + 7cf3a74 commit 51cfb8f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ This project can be used to create a templated Phonegap Build package, as used w
- Linux, BSD, etc: install using the available package manager, e.g. on Debian: `sudo apt-get install node`
- To customize the runtime behavior, include the following configuration: Set [com.mendix.core.SameSiteCookies](https://docs.mendix.com/refguide/custom-settings/#commendixcoreSameSiteCookies) to `None` in Studio Pro.
- Deploy and test the application using HTTPS.
- The scheme configuration in `config.xml` should not be changed to any value other than `app` for iOS.

### Build

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mendix/mendix-hybrid-app-base",
"version": "8.0.0",
"version": "8.0.1",
"description": "Mendix PhoneGap Build base package",
"scripts": {
"appbase": "node ./node_modules/webpack/bin/webpack --config ./webpack.config.appbase.js",
Expand Down
5 changes: 3 additions & 2 deletions src/config.xml.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,11 @@
<plugin name="@ahovakimyan/cordova-plugin-wkwebviewxhrfix" source="npm" spec="1.0.2" />

<preference name="KeyboardDisplayRequiresUserAction" value="false" />
<preference name="scheme" value="https" />
<preference name="hostname" value="localhost" />

<platform name="ios">
<preference name="scheme" value="app" />
<preference name="hostname" value="localhost" />

{{#iosImages}}
<{{{tag}}} src="{{{filename}}}" width="{{{width}}}" height="{{{height}}}" />
{{/iosImages}}
Expand Down

0 comments on commit 51cfb8f

Please sign in to comment.