Internet permission - error

Explain your issue here
Post Reply
brunoisa10
Posts: 83
Joined: Sun Jan 27, 2019 7:31 pm
Location: Westende Belgium

Internet permission - error

Post by brunoisa10 » Thu Mar 14, 2019 8:39 pm

I've installed internet permission apk
And I have the message No Internet

Notice there is no Autorisation possible here. Due to Oreo ?
Image
Bruno 8-)

User avatar
Pierrot
Site Admin
Posts: 155
Joined: Wed Jan 23, 2019 12:18 pm
Location: French Alps

Re: Internet permission - error

Post by Pierrot » Fri Mar 15, 2019 9:30 am

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!

brunoisa10
Posts: 83
Joined: Sun Jan 27, 2019 7:31 pm
Location: Westende Belgium

Re: Internet permission - error

Post by brunoisa10 » Fri Mar 15, 2019 10:21 am

Cannot find function requestPermision in object net.pierrox.lightning_launcher.activities.Dashboard@212ae23 :(


and nothing on the main app about internet permission
Bruno 8-)

brunoisa10
Posts: 83
Joined: Sun Jan 27, 2019 7:31 pm
Location: Westende Belgium

Re: Internet permission - error

Post by brunoisa10 » Fri Mar 15, 2019 10:28 am

message is No internet connection here so could be the theme (retesting Zunish theme) from @Totila
when trying to see weather
Bruno 8-)

brunoisa10
Posts: 83
Joined: Sun Jan 27, 2019 7:31 pm
Location: Westende Belgium

Re: Internet permission - error

Post by brunoisa10 » Fri Mar 15, 2019 10:37 am

Internet is there , tried with a direct script

so issue is with the Zunish theme on Oreo
Bruno 8-)

brunoisa10
Posts: 83
Joined: Sun Jan 27, 2019 7:31 pm
Location: Westende Belgium

Re: Internet permission - error

Post by brunoisa10 » 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
Bruno 8-)

brunoisa10
Posts: 83
Joined: Sun Jan 27, 2019 7:31 pm
Location: Westende Belgium

Re: Internet permission - error

Post by brunoisa10 » Fri Mar 15, 2019 1:52 pm

Zunish is often crashing on my Ulefone Power 5 but I liked it and want to play a bit with
Bruno 8-)

User avatar
Pierrot
Site Admin
Posts: 155
Joined: Wed Jan 23, 2019 12:18 pm
Location: French Alps

Re: Internet permission - error

Post by Pierrot » Fri Mar 15, 2019 2:00 pm

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.

brunoisa10
Posts: 83
Joined: Sun Jan 27, 2019 7:31 pm
Location: Westende Belgium

Re: Internet permission - error

Post by brunoisa10 » Fri Mar 15, 2019 3:57 pm

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
Bruno 8-)

Totila
Posts: 2
Joined: Sat Feb 02, 2019 11:31 pm

Re: Internet permission - error

Post by Totila » Fri Mar 15, 2019 7:25 pm

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.

brunoisa10
Posts: 83
Joined: Sun Jan 27, 2019 7:31 pm
Location: Westende Belgium

Re: Internet permission - error

Post by brunoisa10 » Fri Mar 15, 2019 8:56 pm

@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
Bruno 8-)

Totila
Posts: 2
Joined: Sat Feb 02, 2019 11:31 pm

Re: Internet permission - error

Post by Totila » Fri Mar 15, 2019 9:00 pm

Feel free to open a separate thread If you think you are not the only one that could benefit from our dialogue ;)

Post Reply