I am using react-native-admob
to display admob ads in my react native app. Everything was working fine. Ads were loading in debug app as well as in release apk.
Now, I want to publish app in playstore and for that I need signed apk. I used steps described in react-native docs to generate signed apk.
Now, I have separate apk files for each architecture and a universal apk for all architectures but ads are not showing in signed apk. I don't know the reason.
Kindly help please.
As android operating system is also from google and they don't allow users to install apps that are not scanned by their antivirus. When you have an unsigned apk you can install it by enabling settings "install apps from unknown resources" but when you have signed apk it has to be scanned by google in order to display ads. According to google
Google scans millions of apps every day to ensure they’re safe for users. If you have been asked to submit your APK, or if you have a problem serving Google ads in your Android application, please complete the form below.
So you have to either submit signed apk if you want to display ads on this link
or you can check the box appears when you install a signed app saying "Send This App to google for Scanning" Google will start serving ads in your signed apk.