fluttercommunity / fluttercommunity/flutter_webview_plugin
not getting a specific data from getCookies();
- Lingua principale
- Java
- Stelle
- 1.5k
- Fork
- 938
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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 "
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia dal punto di ingresso getCookies() e confronta il valore restituito con la ricerca STATUS e l’output di cookies.keys() mostrati nell’issue. Determina se è possibile accedere ai dati dei cookie segnalati tramite la chiave richiesta; il lavoro è completato quando il comportamento di ricerca documentato o supportato è chiaro e riproducibile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- dart, flutter
- Ambito
- mobile
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100