Page 1 of 1

Internet permission - error

Posted: Thu Mar 14, 2019 8:39 pm
by brunoisa10
I've installed internet permission apk
And I have the message No Internet

Notice there is no Autorisation possible here. Due to Oreo ?
Image

Re: Internet permission - error

Posted: Fri Mar 15, 2019 9:30 am
by Pierrot
Is it possible to toggle it on the main app?

There might be a need to explicitly request the permission by code, and then it will be automatically granted (without your consent). There are different classes of permissions, and maybe this one fall into this category, I don't remember.
Try something like this with script:
getEvent().getScreen().getContext().requestPermission(['android.permission.INTERNET'], 1000000);

Not sure at all whether it will work, not tested!

Re: Internet permission - error

Posted: Fri Mar 15, 2019 10:21 am
by brunoisa10
Cannot find function requestPermision in object net.pierrox.lightning_launcher.activities.Dashboard@212ae23 :(


and nothing on the main app about internet permission

Re: Internet permission - error

Posted: Fri Mar 15, 2019 10:28 am
by brunoisa10
message is No internet connection here so could be the theme (retesting Zunish theme) from @Totila
when trying to see weather

Re: Internet permission - error

Posted: Fri Mar 15, 2019 10:37 am
by brunoisa10
Internet is there , tried with a direct script

so issue is with the Zunish theme on Oreo

Re: Internet permission - error

Posted: Fri Mar 15, 2019 1:38 pm
by brunoisa10
now fine :)

@Totila how to get rid of the black background for weather ?
I delete the background but it's back

Re: Internet permission - error

Posted: Fri Mar 15, 2019 1:52 pm
by brunoisa10
Zunish is often crashing on my Ulefone Power 5 but I liked it and want to play a bit with

Re: Internet permission - error

Posted: Fri Mar 15, 2019 2:00 pm
by Pierrot
Try again to send me FC reports, I don't know why I don't receive them. A few days ago you sent me one that I received.

Re: Internet permission - error

Posted: Fri Mar 15, 2019 3:57 pm
by brunoisa10
I don't have FC as I've switched to Zunish and crashing without any popup.
I'll restart this weekend end with my theme

Re: Internet permission - error

Posted: Fri Mar 15, 2019 7:25 pm
by Totila
brunoisa10 wrote:
Fri Mar 15, 2019 1:38 pm
now fine :)

@Totila how to get rid of the black background for weather ?
I delete the background but it's back
@brunoisa10

I can confirm that LL crashes silently regularly with or without my template in Oreo, less so in Pie. LL just restarts. Once in a while.
Keep me posted with your testing of your template.

Lets clarify your questions to my template via a separate email conversation.

I dont think this forum is the correct place to discuss user-made templates. Must be boring for others. Reach out to me via mail. Happy to Help. (Btw Open the zunish settings. There is an option to set the colour of the weather background)

Cheers.

Re: Internet permission - error

Posted: Fri Mar 15, 2019 8:56 pm
by brunoisa10
@Totila ok no issue
Or on one special post here.

Could be not so boring for others 😄
Is it possible to add week number on your calendar ? And not only a toast

Re: Internet permission - error

Posted: Fri Mar 15, 2019 9:00 pm
by Totila
Feel free to open a separate thread If you think you are not the only one that could benefit from our dialogue ;)