marzika/Snapprefs

Can't share a video on Bluestack

Closed this issue · 1 comments

Expected Behavior

Sharing videos from gallery should work

Current Behavior

When I share a video from the gallery with Snapprefs, Snapchat is launched with the sharing explanations but as soon as I keep my finger on the camera button to start a video, Snapchat shutdowns

Steps to Reproduce (for bugs)

  1. Get a Bluestack PreRooted and install Xposed Framework with BStweaker
  2. Install Snapchat 9.39.5 and Snapprefs from the artefact on Jenkins
  3. Share a video from the gallery by selecting Snapprefs
  4. Click on "Continue anyway"
  5. Keep your finger on the camera button to start a video
  6. Snapchat shutdowns
  7. See the Xposed logs:
----------------- SNAPPREFS HOOKED -----------------
SnapChat Version: 9.39.5.0 (933)
SnapPrefs Version: 2.0.0 beta (25)
Snapprefs: [Forced] Performing LogType load
Snapprefs: [Forced] Loaded [FORCED, DATABASE, PREFS, PREMIUM, GROUPS, LENS, SAVING, DEBUG, CHAT, FILTER] log types
Snapprefs: [Debug] Loading map from xposed
Snapprefs: [Prefs] XPrefs file exists: /data/data/com.marz.snapprefs/shared_prefs/com.marz.snapprefs_preferences.xml
Snapprefs: [Prefs] Loading preferences
Snapprefs: [Prefs] Null preferences... Creating new
Snapprefs: [Prefs] Package name: com.marz.snapprefs
Snapprefs: [Prefs] Making readable
Snapprefs: [Prefs] Starting spin locker
Snapprefs: [Prefs] Current spin count: 500
Snapprefs: [Prefs] Current spin count: 1000
Snapprefs: [Prefs] Current spin count: 1500
Snapprefs: [Prefs] Completed 1638 spins
Snapprefs: [Prefs] loading preference map: true
Snapprefs: [Prefs] Map size: 20
Snapprefs: [Debug] Initialising preferences from xposed
Snapprefs: [Debug] Adding Save Buttons
Snapprefs: [Debug] Application hook: com.snapchat.android.AppShell
Snapprefs: ROOTCHECK: b
Snapprefs: ROOTCHECK: c
Snapprefs: ROOTCHECK: d
Snapprefs: ROOTCHECK: e
Snapprefs: Setting static fields
----------------- SNAPSHARE HOOKED -----------------
SnapChat Version: 9.39.5.0 (933)
SnapPrefs Version: 2.0.0 beta (25)
SnapPrefs: Hooked onCameraStateEvent
Snapprefs: [Debug] Updating view_snap.snap_container layout
Snapprefs: SNAPCONTEXT, NULL? - false
----------------- SNAPSHARE STARTED -----------------
SnapPrefs: Intent type: video/mp4, intent action:android.intent.action.SEND
SnapPrefs: Already had File URI: file:///storage/sdcard/Snapprefs/temp/share834273287.no_media
SnapPrefs: Video resolution: 900 x 540 (w x h)
SnapPrefs: Keeping rotation at 90°, just creating a copy
SnapPrefs: Temporary file path: file:///data/data/com.snapchat.android/cache/snapshare_video834273287.tmp
Snapprefs: SNAPCONTEXT, NULL? - false
SnapPrefs: Doing it's magic!
Snapprefs: [Debug] Cached friendmoji match!
Snapprefs: [Database] Getting lens from database
Snapprefs: [Database] Is [3491_live] in [Table:LensTable][Column:mCode]: YES
Snapprefs: [Database] Getting lens from database

Your Environment

Emulators are not supported.