If you are using the `Date()` or `Calendar.getInstance()` class/method to get the ‘time’, then you might have somewhere encountered this above mentioned Crash in Android 8.0/8.1
Getting errors or crashes right after updating dependencies and pushing the update to production can be very frustrating!
Recently, while migrating one of my App ‘InSaver!’ from Java to Kotlin, I stumbled upon a strange, like very strange issue.. 😕
I had a SettingsActivity and a SettingsFragment nested in the same Activity which extended PreferenceFragmentCompat.
If you observed, I used the word ‘Notify’ because you should Never force your User to Update the App unless it’s too important!
For example: If your App is server sided & you currently changed some API stuffs or the updated version fixes a critical security issue then only you should force a user to Update App!
I finally decided to Register a brand new Domain & get an Unlimited Linux Hosting from a good Hosting Company!
Who doesn’t want a Good Hosting Company!?
Yeah, everyone wants it!
There are plenty of tutorials on the Internet bout how to Remove Ads in your App via IAP on Android,
but all are way harder & difficult for a beginner to understand…
Someone with a lil bit of Experience in Android will also find it a bit difficult…
I guess you have read the Title, so let's get started!
A few months ago, I received a Mail from the Admob department stating that they had 'Disabled Ads Serving' to my App 'Status Saver'!
The Reason - "We do not allow showing Ads on Content which has low or to no/null value, Hence we have Disabled Ads Serving to your App Status Saver"
Okay, So now I was Confused like what I had done wrong!?
A quick search on Google showed that I was first one to get this kinda Reason...
So I actually started analysis of what I had done in last few days that might have caused this....
This was my Ananlysis -
1) I was trying to include the 'In App Purchase' in my App to add a Feature 'Remove Ads' & for that purpose I uploaded a "Hello World" App to Beta on Store with Billing Permission added so that I can test IAP...
Note: This App DIDN'T include ADS...
2) I verified my Site (this One) in the Google Search Console...
Even this Site didn't have Ads!
It still doesn't 😛
These were the only two things that might have caused the Ads Disabling, most probably the 1st OR it may also be an Error from their side...
Now I had the probable reasons of what might have caused this, so I just opened up the Appeal Form Link that was given in the Mail...
And to my surprise, the link opened up the AdMob Help Center 😲
This thing took 2 days of my Life & probably 40$ from my AdMob earnings because of Diasbled Ads!
Then like every frustrated guy I've seen on AdMob forums, wrote a post on a form but No HelpFull response!
Finally, I contacted the Google Play Developer Team!
Yes!, I contacted them via the PlayConsoleApp's Chat Option. At first, they weren't even interested because it was a different department...
After many requests, they tried to help me but the 'Appeal Form' was never found! So they said that they would inform the appropriate department about my problem...
The next day I again checked the Link & Wooosshhh!!!
The Link actually opened up the 'Appeal Form!' 🎉🎊🎉🎊
What Next? Filled Up the Form & Shot the Submit button!
After few hours, I received a Mail from AdMob department which said that they had accepted my Appeal & Ads will be Active in few hours!
I really Thank the members of the GooglePlayDev & the Support Members who literally tolerated me even when it wasn't their department 😊
The Support Members who were extremely helpfull & tolerated me were -
& Yogi Ji 😊
In the End, I would say that if this happens to you then Don't Panic...
What I have discovered is that it takes time for AdMob to know that your App's Ad is disabled & thats why the Appeal Link isn't available at first...
In Fact, AFAIK the Appeal Link isn't publicly available!
Just contact the appropriate team & Wait! 😊
Building an App’s Flavor is way damn easy in the Android Studio but in AIDE… 😵
Its not that easy to understand if you are a beginner!
I was, untill yesterday 😛
Its not toooo complicated, just follow the instructions.
Few Days after I published my App ‘Status Saver’ & it got a lil bit attention on the Google PlayStore, I received a mail from a Company / Organization named as “FMFG” claiming that I had used a Feature (Push Notification) in my App whose Patent was registered by their client…
Wow! (like Seriously?) 😑
That guy even demanded a ‘Fee’ & that was somewhat Suspicious!
Below is the Mail Content…