fluttercommunity / fluttercommunity/flutter_webview_plugin

not getting a specific data from getCookies();

Abierto
#911 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
1.5k
Forks
938
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I am trying to access data from web cookies as
```
_onUrlChanged = flutterWebviewPlugin.onUrlChanged.listen((String url) async {
if (url.contains('response.php')) {
flutterWebviewPlugin.getCookies().then((cookies) {
print(cookies);
print(cookies['STATUS']);
flutterWebviewPlugin.close();
});
}
});
```
and the output of this is
```
I/flutter (12342): {"TXNAMOUNT: 549.00, CURRENCY: INR, STATUS: TXN_SUCCESS, ORDERID: sfsdfgfgfcvcfghdfgfg, TXNDATE: 2021-07-08+14%3A31%3A26.0"}
I/flutter (12342): null
```

when I simple call cookies then it print all correct but when I trying to get special key from it then it shows null and when I use to call ``` cookies.keys() ``` then ``` first one has " ``` and last value has "

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.