I want to Secure my API Key and I don't want to hardcode them in code like in image given below because anyone can decomplile app & get my secret key
is there ant Better Way to do this
I want to Secure my API Key and I don't want to hardcode them in code like in image given below because anyone can decomplile app & get my secret key
is there ant Better Way to do this
In order to not expose the API key client side, you need a backend solution. Firebase cloud functions work well with Flutter. You call your backend function which uses the newsapi and returns the results back to Flutter.