Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pack is not marked as animated pack but contains animated stickers. even i pass the animated_sticker_pack true in json and content provider class[Android] #863

Closed
1 task
aktech-dev opened this issue Feb 3, 2022 · 2 comments
Assignees
Labels
Android android issues

Comments

@aktech-dev
Copy link

aktech-dev commented Feb 3, 2022

Specifications
OS Version: [FILL IN]
Device Manufacturer: [FILL IN]

Stickers

  • [ yes] My stickers do comply with the sticker requirements (512x512 and < 100 KB)
  • [yes ] My tray icon does comply with the requirements (96x96 and < 50 KB)
  • [yes ] I am using WebP images for stickers.
  • I am using PNG images for stickers.

Problem Description
[FILL IN WITH DETAILED DESCRIPTION OF THE PROBLEM]

Reproduction Steps
[FILL IN WITH DETAILED REPRODUCTION STEPS]

Head of Commit
[Do you have the latest commit from master? If not, please update your repo to the latest commit in master, and try again. If issue still occurs, please note down the commit hash (from this repo) here:]
[Commit hash]

Links
[FILL IN PLAY STORE LINK AND/OR LINK TO SOURCE CODE ON GIT]

@aktech-dev aktech-dev added the Android android issues label Feb 3, 2022
@DonMarv00
Copy link

Check the StickerContentProvider, I had the same error after updating my project

@nonnull
private Cursor getStickerPackInfo(@nonnull Uri uri, @nonnull List stickerPackList) {
MatrixCursor cursor = new MatrixCursor(
new String[]{
STICKER_PACK_IDENTIFIER_IN_QUERY,
STICKER_PACK_NAME_IN_QUERY,
STICKER_PACK_PUBLISHER_IN_QUERY,
STICKER_PACK_ICON_IN_QUERY,
ANDROID_APP_DOWNLOAD_LINK_IN_QUERY,
IOS_APP_DOWNLOAD_LINK_IN_QUERY,
PUBLISHER_EMAIL,
PUBLISHER_WEBSITE,
PRIVACY_POLICY_WEBSITE,
LICENSE_AGREENMENT_WEBSITE,
IMAGE_DATA_VERSION,
AVOID_CACHE,
ANIMATED_STICKER_PACK,
});
for (StickerPack stickerPack : stickerPackList) {
MatrixCursor.RowBuilder builder = cursor.newRow();
builder.add(stickerPack.identifier);
builder.add(stickerPack.name);
builder.add(stickerPack.publisher);
builder.add(stickerPack.trayImageFile);
builder.add(stickerPack.androidPlayStoreLink);
builder.add(stickerPack.iosAppStoreLink);
builder.add(stickerPack.publisherEmail);
builder.add(stickerPack.publisherWebsite);
builder.add(stickerPack.privacyPolicyWebsite);
builder.add(stickerPack.licenseAgreementWebsite);
builder.add(stickerPack.imageDataVersion);
builder.add(stickerPack.avoidCache ? 1 : 0);
builder.add(stickerPack.animatedStickerPack ? 1 : 0);
}
Log.d(TAG, "getStickerPackInfo: " + stickerPackList.size());
cursor.setNotificationUri(Objects.requireNonNull(getContext()).getContentResolver(), uri);
return cursor;
}

@Korogba
Copy link

Korogba commented Jun 3, 2024

Hi @aktech-dev, please re-open if you are still facing this issue

@Korogba Korogba closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android android issues
Projects
None yet
Development

No branches or pull requests

4 participants