Page 1 of 1

tsNetSmtp on Android Doesn't Work

Posted: Wed Jan 09, 2019 3:30 am
by allengwinn
Livecode version 9.0.1
Minimum Android Version is 7.0 (Nougat)

Works on iOS but it doesn't look like it's ever making the connection to the server on an Android phone. I call tsNetInit on PreOpenStack. Returns empty. tsNetSmtp returns empty when done. The "pCallback" is never getting called on Android. I included tsNet manually in the build.

Ideas?

Re: tsNetSmtp on Android Doesn't Work

Posted: Thu Jan 10, 2019 9:05 pm
by allengwinn
Hi Allen,

Did you check the "Internet" application permission under standalone settings?

[Me: No]

...oh, if you do that, it will work just fine!

DOH!

Allen

Re: tsNetSmtp on Android Doesn't Work

Posted: Thu Jan 10, 2019 11:48 pm
by bogs
allengwinn wrote:
Thu Jan 10, 2019 9:05 pm
DOH!
I have those moments all the time, and it only gets worse the older I get Image

Re: tsNetSmtp on Android Doesn't Work

Posted: Thu Jan 10, 2019 11:56 pm
by allengwinn
I'm already older. Now I'm working on OLDER! Eeek.

...so I thought it would be a good idea to go back to writing code :)

Re: tsNetSmtp on Android Doesn't Work

Posted: Fri Jan 11, 2019 12:01 am
by bogs
OLDER ~*pshaw*~

Why, I remember when dirt was the new thang...
:twisted: