rhunk / SnapEnhance

An Xposed module offering an enhanced Snapchat experience
https://t.me/snapenhance
GNU General Public License v3.0
1.23k stars 117 forks source link

spoof "audio focus" #1078

Closed jDzmon closed 2 months ago

jDzmon commented 3 months ago

Description

In the resent version of snapchat, I go on call and then I try play music it says "audio focus denied".

please may you add a spoof so it stops the audio focus I am currently using V12.77 because of this.

Agreement

bocajthomas commented 3 months ago

@jDzmon bro I have the same thing, I use v12.79 since it's the last version that doesn't have that stupid feature 😤

jDzmon commented 3 months ago

@jDzmon bro I have the same thing, I use v12.79 since it's the last version that doesn't have that stupid feature 😤

thank you I will use this version

rhunk commented 3 months ago

@jDzmon Hey can you tell me which device you're on and which rom with which version of android?

jDzmon commented 3 months ago

@jDzmon Hey can you tell me which device you're on and which rom with which version of android?

google pixel 7 stock android 14

rhunk commented 3 months ago

@jDzmon Can you try the following build and tell me if you still have this issue? https://github.com/rhunk/SnapEnhance/actions/runs/9336991420

jDzmon commented 3 months ago

@jDzmon Can you try the following build and tell me if you still have this issue? https://github.com/rhunk/SnapEnhance/actions/runs/9336991420

sir, I still have this issue after using the link you sent

Screenshot_20240603_142400_SnapEnhance Screenshot_20240603_142345_Snapchat Screenshot_20240603_142325_Snapchat

rhunk commented 3 months ago

@jDzmon if you have a rooted phone you can try this xposed module which seems to work at first sight : https://github.com/auag0/DisableAudioFocus

jDzmon commented 3 months ago

@jDzmon if you have a rooted phone you can try this xposed module which seems to work at first sight : https://github.com/auag0/DisableAudioFocus

I am non rooted will this not be worked on then ?

rhunk commented 3 months ago

@jDzmon It takes a lot of research time indeed. You can try patching your music application with the xposed module I sent using LSPatch and let me know if it works, I'll consider the problem solved

jDzmon commented 2 months ago

@jDzmon It takes a lot of research time indeed. You can try patching your music application with the xposed module I sent using LSPatch and let me know if it works, I'll consider the problem solved

so I Embedded it in the music app and it works but I don't want to Embed this on every app only snapchat so snapchat does not take up no audio focus

rhunk commented 2 months ago

I fixed it by forcing the use of the older calling system so no need to use the xposed module. https://github.com/rhunk/SnapEnhance/commit/c8819cf2c2fd2776d17069e53f47e4f6662601d5

jDzmon commented 2 months ago

I fixed it by forcing the use of the older calling system so no need to use the xposed module. c8819cf

ok much appreciated