问题
App uploaded in playstore. Its not searchable in playstore also if i use link getting error
- "App is not compatible with this device" (already set to available in all countries)
- In playStore production upload,getting App vulnerability issues in notification
By mentioning my Content provider file of my framework ---> delete while delete method is here:
public class ContentProviderClass extends ContentProvider {
public static final int OUTBOX = 90;
public static final int OUTBOX_WITH_STATUS = 150;
public static final int OUTBOX_WITH_ID = 156;
private static final UriMatcher sUriMatcher = buildUriMatcher();
private FrameworkDBHelper mOpenHelper;
@Override
public boolean onCreate() {
mOpenHelper = new FrameworkDBHelper(getContext());
return true;
}
@Override
public int delete(Uri uri, String selection, String[] selectionArgs) {
final SQLiteDatabase db = mOpenHelper.getReadableDatabase();
final int match = sUriMatcher.match(uri);
int rowsDeleted=0;
switch(match)
{
case OUTBOX:{
rowsDeleted = db.delete(OutboxContract.OutboxEntry.TABLE_NAME,
selection,
selectionArgs);
break;
}
default:
throw new UnsupportedOperationException("Unknown URI: " + uri);
}
if(selection == null || rowsDeleted != 0)
getContext().getContentResolver().notifyChange(uri,null);
return rowsDeleted;
}
}
What's the solution to overcome this problem?
来源:https://stackoverflow.com/questions/53313418/android-app-playstore-failure-vulnerability