[SDK]What to do if Google Play bans your android app....Here's the solution

Search This thread

illuminatic

Senior Member
Jun 23, 2012
131
63
What to do when your app gets suspended??

Now that's a really tough question. Frankly speaking we cannot do anything, there is only 1 step i.e. appeal to google (yeah..if that really works).
Google never replies to our appeals. If it does, there is no positive response.
So, the only solution left is to update your app package and republish. But what about the thousands of users from our previous app. Well they are gone and we have to start from zero again(that really sucks ).
We all devs will agree that more the number of active users more is the revenue, but starting over is like going back to the stone age and is like a hard blow over our faces coz many of us work full time on apps and pay our bills from the revenue .

The Solution.

The solution that I am going to present won't protect your app from the Google ban hammer(No one can) coz of constantly changing google policies and not so compliant Ad networks(We all know that..right?). The solution will help you get back your 80% - 90% of active users from your previously banned app to your new more compliant app in just 8-10 days(that's awesome..agree??).

Introducing GetBackOnTrack SDK

GetBackOnTrack SDK (still working on the name) was developed as a result of the frustration I got from google when it banned 2 of my apps with over 100k downloads .

Simply add the SDK to your project which literally takes no more than 5 min(may be less, tried to keep it as simple as possible).
Just add the SDK to your libs folder and add 2 lines of code in your MainActivity and 2 activity declaration in AndroidManifest, that's it.

Using this SDK you can control your app to show a custom pop over if your app got suspended and redirect the user to your new app in google play .
If your app is not suspended and there is no pop over to display, the SDK will show a custom House ad(simple interstitial) only 3 ads per week (previously it was 1 ad per day ;)) you can consider it as a donation to me which can help me get back on track and besides 3 ads per week wont even cost you a cent.

This SDK is like an insurance for your App in which you invested so much time and energy.

(Releasing the tutorial in the next post)

Demo app popup screen

3427d1402853043-what-do-when-your-app-gets-suspended-heres-solution-demo-screen.jpg
 

Attachments

  • GetBackOnTrack.zip
    1.6 MB · Views: 48
Last edited:
  • Like
Reactions: Verbato and E:V:A

illuminatic

Senior Member
Jun 23, 2012
131
63
How to integrate the SDK

1. Download the SDK from the download link above. Extract the zip file.

2. Zip file contains 2 files
(i) GetBackOnTrack.jar (The SDK)
(ii) GetBackOnTrackAdmin.apk (The Admin control pannel)

3. Now the 1st thing you do is install the apk on your phone(it uses only Internet permission).
- Start the app and register with your email id and password (please remember the password, coz i am yet to implement the forgot password functionality :p).
- Now there will be 2 buttons 1. Add app 2. Refresh.
- Press "Add app" button > Enter your app packagename (be careful, the packagename should be same as your application packagename otherwise it will not work) > press save
- If there are no errors your new app will be registered and you will get back to the "Registered Apps" screen.
Press Refresh, you will see your new app in the list.
- your app is now activated and the SDK is ready to be integrated in your application.

4. Now copy the SDK in your app's libs folder.
- open your AndroidManifest.xml
- Add the Internet permisson
Code:
<uses-permission android:name="android.permission.INTERNET" />

- copy these lines inside your <application></application> tag.

Code:
<activity
android:name="com.lib.getbackontrack.AlertActivity "
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" />
<activity
android:name="com.lib.getbackontrack.AdActivity"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" />

- open your MainActivity(the first activity of your app) and copy the line below inside your onCreate().
Code:
GetBackOnTrack.initialize("YOUREMAILID@somesite.co m", "PASSWORD", getApplicationContext());

- That's it

- The above line initializes the SDK and checks if your app is suspended or not from the server, if it is suspended than a pop over is shown with your custom message and new packagename else it will show a house ad(if available) once a day.
- If you display ads on app launch as well than with the above code use a listener as well and implement your ad display code inside it coz if your app is suspended then you will only want to show the pop over for your new app and not your ad (if your fine with displaying pop over as well as ad then you don't have to implement it ;D).
copy the listener code below and paste it below "GetBackOnTrack.initialize("YOUREMAILID@somesite.c om", "PASSWORD", getApplicationContext());" method


Code:
GetBackOnTrack.setPostLibraryListener(new PostLibraryInitialization() {

@Override
public void onNoAlertDisplayed() 
{
// TODO Add your ad display code here..

}
});
- We are done

5. Now if your app got suspended than publish your new app again with different packagename(obviously) and open your GetBackOnTrackAdmin app
- Login with your registered Email ID and Password.
- You will see your registered app packagename(which is suspended now).
- Select your app > you will be taken to "App Details" screen
- Now fill in the details like - 1. Your new package name 2. Small heading for your new app (like App Moved!!) 3. Sub heading (like Get the updated version now!!) 4. Press the seekbar so that your App Status shows : "App Active : NO" and finally save.
- That's it, whenever your users open your previous app they will receive a pop over with your custom message.
- Users will click on download button and will be redirected to your new google play app page.


This is it.
Feel free to ask any question and i'll help you out.
And please give your valuable suggestions
Thank You
 

illuminatic

Senior Member
Jun 23, 2012
131
63
SDK updated: Ad frequency reduced

OK, 1 ad per day was too much i think...
So, reduced the ad frequency to 3 ads per week :good:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    What to do when your app gets suspended??

    Now that's a really tough question. Frankly speaking we cannot do anything, there is only 1 step i.e. appeal to google (yeah..if that really works).
    Google never replies to our appeals. If it does, there is no positive response.
    So, the only solution left is to update your app package and republish. But what about the thousands of users from our previous app. Well they are gone and we have to start from zero again(that really sucks ).
    We all devs will agree that more the number of active users more is the revenue, but starting over is like going back to the stone age and is like a hard blow over our faces coz many of us work full time on apps and pay our bills from the revenue .

    The Solution.

    The solution that I am going to present won't protect your app from the Google ban hammer(No one can) coz of constantly changing google policies and not so compliant Ad networks(We all know that..right?). The solution will help you get back your 80% - 90% of active users from your previously banned app to your new more compliant app in just 8-10 days(that's awesome..agree??).

    Introducing GetBackOnTrack SDK

    GetBackOnTrack SDK (still working on the name) was developed as a result of the frustration I got from google when it banned 2 of my apps with over 100k downloads .

    Simply add the SDK to your project which literally takes no more than 5 min(may be less, tried to keep it as simple as possible).
    Just add the SDK to your libs folder and add 2 lines of code in your MainActivity and 2 activity declaration in AndroidManifest, that's it.

    Using this SDK you can control your app to show a custom pop over if your app got suspended and redirect the user to your new app in google play .
    If your app is not suspended and there is no pop over to display, the SDK will show a custom House ad(simple interstitial) only 3 ads per week (previously it was 1 ad per day ;)) you can consider it as a donation to me which can help me get back on track and besides 3 ads per week wont even cost you a cent.

    This SDK is like an insurance for your App in which you invested so much time and energy.

    (Releasing the tutorial in the next post)

    Demo app popup screen

    3427d1402853043-what-do-when-your-app-gets-suspended-heres-solution-demo-screen.jpg