bazookon / giphy_get

Flutter plugin
MIT License
27 stars 67 forks source link

GIPHY GET (NULL CHECK OPERATOR USED ON A NULL VALUE) #33

Open jonace-mpelule opened 2 years ago

jonace-mpelule commented 2 years ago

HAVING ISSUES WITH GIPHY GET (When getting only GIFs)

I have set up everything as the documentation on pub.dev stated.

Here is the main.dart file, exactly how it was written in the documentation.

MainDart

And Here is where i'm getting the GIFs. My API is working just fine, i'm able to get the GIPHY client random ID

carbon

But when i'm trying to access this, i'm getting an error, something about a NULL check on a NULL value

exception

And here's the error am getting on my Device πŸ‘‡

Screenshot_20220725-112705

I'm running this application, on my Android Device, and everything else is working fine, i was using another GIPHY package (giphy_picker) and it was and still working fine, decided to start using this package cuz it seem to be better than the other. So Help as fast as possible what can i do? to Fix this,

My Flutter and Dart Version πŸ‘‡

Flutter 3.0.4 β€’ channel stable β€’ https://github.com/flutter/flutter.git Framework β€’ revision 85684f9300 (4 weeks ago) β€’ 2022-06-30 13:22:47 -0700 Engine β€’ revision 6ba2af10bb Tools β€’ Dart 2.17.5 β€’ DevTools 2.12.2

MattyBoy4444 commented 1 year ago

I get the same thing on line 213 of giphy_tab_detail.dart every once in a while. I can't reproduce. I could put another null check in with a PR, but not sure if that is the way to fix.