You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I am trying to load stickers from server , I am saving them in internal storage and changed the content provider to suit my requirement but the problem here is when I tried to add 5 sticker packs only 2/3 are reflecting correctly in WhatsApp and they are loading very slowly . (sometimes all packs will show in WhatsApp but fail to display stickers if in case it displays stickers when i clear the app from background then they will disappear )
I have taken provider from your code only and made some changes
Here I have pasted my ContentProvider. Please Help !!
PS :: I have switched of battery optimisation for the app and tested in 4 different type of mobiles.
`package com.dsrtech.whatsappstickers.Whatsapp;
Hello I am trying to load stickers from server , I am saving them in internal storage and changed the content provider to suit my requirement but the problem here is when I tried to add 5 sticker packs only 2/3 are reflecting correctly in WhatsApp and they are loading very slowly . (sometimes all packs will show in WhatsApp but fail to display stickers if in case it displays stickers when i clear the app from background then they will disappear )
I have taken provider from your code only and made some changes
Here I have pasted my ContentProvider. Please Help !!
PS :: I have switched of battery optimisation for the app and tested in 4 different type of mobiles.
`package com.dsrtech.whatsappstickers.Whatsapp;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.content.res.AssetFileDescriptor;
import android.database.Cursor;
import android.database.MatrixCursor;
import android.net.Uri;
import android.os.Build;
import android.os.ParcelFileDescriptor;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.RequiresApi;
import android.text.TextUtils;
import android.util.Log;
import com.dsrtech.whatsappstickers.BuildConfig;
import com.dsrtech.whatsappstickers.utils.NewImageSaver;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import static android.os.ParcelFileDescriptor.MODE_READ_ONLY;
@RequiresApi(api = Build.VERSION_CODES.KITKAT)
public class StickerContentProvider extends ContentProvider {
}
`
The text was updated successfully, but these errors were encountered: