• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
standalone not logging in...
#16
(10-13-2021, 11:32 PM)mark_talluto Wrote:
(10-13-2021, 09:28 PM)Hendricus Wrote: I am having the same issues when using LiveCode 9.6.3 with android. But when trying with LiveCode 9.6.5 (rc 1) it doesn't even get to the cdb_auth in my login script. I get an error trying to start up when testing the app on my android phone connected via USB.

Quote:We encountered an error while initializing CanelaDB: 573,33,1,tsNetLibUrlReuseConnection
253,33,1241,30,1,libraryStack
353,0,0,stack "/data/app/~~6iGhweJfYfAE3UYYJfopSw==/com.dricus.jobstarpro-7iYWRkhHuLf3no--Zbyzeg==/base.apk/CanelaDB/libraries/CDB_Starter.lib"

Am I overlooking anything? Any hints and tips are welcome.

Hi Hendricus,

I think going with LC 9.6.5, and newer is required when doing Android builds. 

Did you include tsNet in your inclusions in the standalone builder?

(10-15-2021, 06:22 PM)mark_talluto Wrote: Hi Hendricus,

Your desktop LiveCloud error is different from your LiveCode tsNet error.

Your app is calling the initializeCanelaDB handler as it should. But, your path to the libraries is not correct. The supplied pathing code assumes the location of your CanelaDB folder. If your folder is not where we guessed, you need to update the pathing code. To solve the problem, try dropping a breakpoint in your init code to determine if the supplied pathing code needs to be modified.

Once you change the code a bit, your libraries will load correctly. I do not have much to offer in regards to the fullscreenmodes for mobile devices. I have not used that feature in any of our work. There is a forum post about this topic on the LiveCode Forums here:  https://forums.livecode.com/viewtopic.ph...16#p209616

-Mark

Hi Mark,

I have narrowed it down to the bit below:

Code:
--START CanelaDB
  csi_verifyLibraries tLibraryPath
 
  try
     start using stack (tLibraryPath & "CDB_Header.lib")
     answer "breakpoint 1" with "OK"
     start using stack (tLibraryPath & "CDB_Starter.lib")
     answer "breakpoint 2" with "OK"
     
  catch tError
     answer "We encountered an error while initializing CanelaDB:" && tError
     exit to top
  end try

When executing this with LiveCode 9.6.3 all runs fine on the iOS Simulator. I get passed breakpoint 2 and the login card is rendered perfectly, so the pathing works fine and the CDB_Starter.lib is used fine under LiveCode 9.6.3. 

But when executing this with LiveCode 9.6.5 RC-1 it does reach breakpoint 1 (so the pathing seems to be fine still), but it doesn't get to breakpoint 2. It throws the error I reported earlier. So, somehow CDB_Starter.lib goes wrong with this latest LiveCode version.
  Reply


Messages In This Thread
standalone not logging in... - by stamatis - 11-08-2020, 01:27 AM
RE: standalone not logging in... - by stamatis - 11-11-2020, 02:40 AM
RE: standalone not logging in... - by stamatis - 11-12-2020, 03:02 AM
RE: standalone not logging in... - by stamatis - 11-20-2020, 06:16 PM
RE: standalone not logging in... - by JereMiami - 10-02-2021, 12:15 PM
RE: standalone not logging in... - by Hendricus - 10-13-2021, 09:28 PM
RE: standalone not logging in... - by Hendricus - 10-14-2021, 07:46 AM
RE: standalone not logging in... - by Hendricus - 10-15-2021, 02:43 PM
RE: standalone not logging in... - by Hendricus - 10-15-2021, 09:22 PM
RE: standalone not logging in... - by Hendricus - 10-16-2021, 07:09 PM
RE: standalone not logging in... - by Hendricus - 10-20-2021, 09:09 PM
RE: standalone not logging in... - by Hendricus - 10-22-2021, 11:42 AM
RE: standalone not logging in... - by Hendricus - 10-27-2021, 09:44 PM
RE: standalone not logging in... - by JereMiami - 11-30-2021, 09:27 AM
RE: standalone not logging in... - by stamatis - 11-30-2021, 11:12 AM
RE: standalone not logging in... - by Linda Lu - 11-30-2021, 05:47 PM
RE: standalone not logging in... - by stamatis - 11-30-2021, 07:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)