<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.INTERNET" /> 2) I already tested the same link directly in the phone browser and is working fine, so I guess there´s some problem with url launcher. My code:class _FuncionalidadesPageState extends State<FuncionalidadesPage> {Best Regards,
Future<void> _launchURLFuncionalidadeEscolida(String url) async {
if (await canLaunch(url)) {
await launch(
url,
forceSafariVC: true,
forceWebView: true,
enableJavaScript: true,
);
} else {
throw 'Não foi Possível abrir o Serviço $url, verifique seu dispositivo ou contate seu Município.';
}
}
--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/3c0edfdc-d786-4b09-954b-1c21bf914688o%40googlegroups.com.
--
On Wed, Jun 24, 2020 at 08:34 Za7972 <brunoz...@gmail.com> wrote:
Hello,
I´m using URL LAUNCHER in my application but everytime that I download one document, it doesn´t appear anything in my files.
1) I already gave permission to my app in android manifest<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.INTERNET" /> 2) I already tested the same link directly in the phone browser and is working fine, so I guess there´s some problem with url launcher. My code:class _FuncionalidadesPageState extends State<FuncionalidadesPage> {Best Regards,
Future<void> _launchURLFuncionalidadeEscolida(String url) async {
if (await canLaunch(url)) {
await launch(
url,
forceSafariVC: true,
forceWebView: true,
enableJavaScript: true,
);
} else {
throw 'Não foi Possível abrir o Serviço $url, verifique seu dispositivo ou contate seu Município.';
}
}--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutt...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/40fe918c-9553-424e-899e-a20094c6c867o%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/40fe918c-9553-424e-899e-a20094c6c867o%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/a81198c7-8f80-4ef7-a639-9e1347428524o%40googlegroups.com.