Native app with mendix cloud runtime URL is not starting up

1
Hey!   I’m stuck with the deploying the native app. Everything is working when using local development runtime but once I switch runtime URL to Mendix cloud (app is deployed, running and accessible from web) then the app is not starting up – just shows the splash screen and nothing more.  I dived into the logs to compare local vs cloud start-up then I found this line from cloud start-up: W '[Synchronization]', { [TypeError: undefined is not an object (evaluating 'o[Symbol.iterator]')] line: 15, column: 89, sourceURL: 'index.android.bundle' } D [Database] SQL request was completed in 7.8 milliseconds. Rows count: 1. Rows affected: 0. Query: "SELECT COUNT(name) as cnt FROM sqlite_master WHERE type="table" AND name=? D [Database] SQL request was completed in 17.1 milliseconds. Rows count: 0. Rows affected: 0. Query: "CREATE TABLE IF NOT EXISTS "mxanonymous$_guidToTable" ("guid" text COLLATE NOCASE PRIMARY KEY, "tableName" text COLLATE NOCASE, "syncId" text COLLATE NOCASE, "readonlyAttrs" text COLLATE NOCASE) D [Database] SQL request was completed in 17.8 milliseconds. Rows count: 0. Rows affected: 0. Query: "CREATE TABLE IF NOT EXISTS "mxanonymous$Administration$Account" ("Name" text COLLATE NOCASE, "System$changedBy" text COLLATE NOCASE, "IsAnonymous" integer, "System$User_TimeZone" text COLLATE NOCASE, "Password" text COLLATE NOCASE, "System$owner" text COLLATE NOCASE, "changedDate" integer, "createdDate" integer, "System$UserRoles" text COLLATE NOCASE, "System$User_Language" text COLLATE NOCASE, "guid" text COLLATE NOCASE PRIMARY KEY) D [Database] SQL request was completed in 17.9 milliseconds. Rows count: 0. Rows affected: 0. Query: "CREATE TABLE IF NOT EXISTS "_db_meta" ("name" text COLLATE NOCASE PRIMARY KEY, "value" text COLLATE NOCASE) D [Database] SQL request was completed in 18.1 milliseconds. Rows count: 0. Rows affected: 1. Query: "INSERT OR IGNORE INTO "_db_meta" (name, value) VALUES (?,?) D [Database] SQL request was completed in 18.2 milliseconds. Rows count: 0. Rows affected: 1. Query: "INSERT OR IGNORE INTO "_db_meta" (name, value) VALUES (?,?) D [Database] SQL request was completed in 18.3 milliseconds. Rows count: 0. Rows affected: 1. Query: "INSERT OR IGNORE INTO "_db_meta" (name, value) VALUES (?,?) D [Database] SQL request was completed in 18.3 milliseconds. Rows count: 0. Rows affected: 0. Query: "CREATE TABLE IF NOT EXISTS "mxanonymous$_tombstoneTable" ("guid" text COLLATE NOCASE PRIMARY KEY, "syncId" text COLLATE NOCASE) D [Database] SQL request was completed in 8.2 milliseconds. Rows count: 1. Rows affected: 0. Query: "SELECT value FROM "_db_meta" WHERE "name" = ? D [Database] SQL request was completed in 7.0 milliseconds. Rows count: 0. Rows affected: 0. Query: "SELECT "guid", "tableName" FROM "mxanonymous$_guidToTable" WHERE "syncId" IS NOT NULL D [Database] SQL request was completed in 6.8 milliseconds. Rows count: 1. Rows affected: 0. Query: "SELECT value FROM "_db_meta" WHERE "name" = ? D [Database] SQL request was completed in 9.0 milliseconds. Rows count: 0. Rows affected: 0. Query: "SELECT "guid", "tableName" FROM "mxanonymous$_guidToTable" WHERE "syncId" IS NOT NULL D [Database] SQL request was completed in 7.2 milliseconds. Rows count: 0. Rows affected: 0. Query: "SELECT "guid", "syncId" FROM "mxanonymous$_tombstoneTable" Before the first line everything is same except some id-s and timestamps but line by line the info is same.   It seems like the sourceURL is not set correctly here.   I am currently using these steps to produce APK file: Build Native App (v 1.0.128) – make bundle and commit to git Android Studio pull the project and build apk file Install on Android tablet Once again, it works well when runtime is set to local.
asked
0 answers