Question: I need to get the value of key's in my dictionary. The thing is the dict keys can change according to sensors.

```
possible keys: light_missing, dark_missing, pixel_missing

```

So I want to loop over all records and always get the value of the 'missing' data.

How can I do this with:

```
item.get("missing")

```

Answer: 
For those who are using the `flutter_appauth` plugin.

You can solve this problem by setting `allowInsecureConnections` to `true`.

```
AuthorizationTokenRequest(
        "CLIENT_ID",
        "REDIRECT_URL",
        issuer: 'ISSUER',
        scopes: ['openid', 'profile', 'offline_access','email'],
        allowInsecureConnections:true// <-- add this
)

```
The log is almost clear

```
only https connections are permitted

```

I think your answer is here:

[Android 8: Cleartext HTTP traffic not permitted](https://stackoverflow.com/questions/45940861/android-8-cleartext-http-traffic-not-permitted)

**update:**

after I look at the Github repository I find this error in issues

[Error: only https connections are permitted](https://github.com/openid/AppAuth-Android/issues/266)