Probably it will not work during Live Test.
Because as soon as you disconnect from internet your connection to Rendezvous will also get disconnected.
It works perfectly in apk
But OnConnect
works also with Companion (USB), so so add that in the description.
Sure.
But it is one of those extensions who should be tested in apk
MIT can redistribute this extension:
I, vknow360 aka Sunny Gupta, attest that I am the author of the Net extension , grant that the extension included in this project is free and that MIT has a non-exclusive irrevocable license to republish the extension as part of the project file for the purposes of the MIT App Inventor Hackathon 2020.
ChangeLog Version2
Bug Fixes
- Fixed bug in
OnDisconnect
event
Thank you @Anke
Aix file
com.sunny.Net.aix (8.2 KB)
This extension has been added to my watch toolbelt! It also returns true for internet connections via bluetooth, not just data/wifi :), that is to say when its paired with my phone. Which lets me delete quite a bit of code from my projects
Thanks!
Hi @Horacio_Spinelli
Glad to know that you liked it.
But, unfortunately, Google is limiting resources for us (Extension Developers) so the extension is currently not comaptible with API 29.
However, I have fixed it and will release an update soon.
Thank you.
Olá, sou meio leigo no app mi2 ainda, como eu poderia informar no app se tem internet ou não? a principio gostaria de testar com uma mensagem text e depois acionar um arquivo html informando que não tem conexão
Just use OnConnect and OnDisconnect events.
Não estou sabendo usar os blocos poderia me mostrar um exemplo de como usar?
Sorry I forgot to post blocks.
Ao Clicar no Botão o app da erro e fecha.
Because you will have to create a webview first before using any method.
Thank you for this extension, it helped me to solve my biggest problem in the app
@vknow360
It's seems extension is not working anymore
It always says offline even I am online.
(It's works fine on old apps but after updating from ai2 it's not working)
I am testing the extension on Android 12. Is it supposed to detect the Internet conn/disconn in real-time i.e. if I disconnect the wifi and get back to the app will it detect the wifi disconnection ?
Also the link for the ver3 is not available, please let me know if its work-in-progress ?
Thanks!
Yes.
It is in the first post.