Jump to content

flipswitch not doing anything


Go to solution Solved by imp0ss1ble,

29 posts in this topic

Recommended Posts

Posted

Here's my tweak.xm

#define PLIST_PATH @"/var/mobile/Library/Preferences/iosgods.com.rot8.plist"
 
inline bool GetPrefBool(NSString *key)
{
return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}


%hook SBUIController

-(bool)shouldShowNotificationCentreTabOnFirstSwipe {
if(GetPrefBool(@"kEnabled")) {
return TRUE;
}
return %orig;
}
%end

Here's my plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>items</key>
	<array>
		<dict>
			<key>cell</key>
			<string>PSGroupCell</string>
			<key>footerText</key>
			<string>This text will appear under your first switch.</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<false/>
			<key>defaults</key>
			<string>iosgods.com.rot8</string>
			<key>key</key>
			<string>kEnabled</string>
			<key>label</key>
			<string>Enable Rotation On SpringBoard</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSGroupCell</string>
			<key>footerText</key>
			<string>This text will appear under your second switch.</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<false/>
			<key>defaults</key>
			<string>iosgods.com.rot8</string>
			<key>key</key>
			<string>kGems</string>
			<key>label</key>
			<string>Switch Text 2</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSGroupCell</string>
			<key>footerText</key>
			<string>This text will appear under your third switch.</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<false/>
			<key>defaults</key>
			<string>iosgods.com.rot8</string>
			<key>key</key>
			<string>kLives</string>
			<key>label</key>
			<string>Switch Text 3</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSGroupCell</string>
			<key>footerText</key>
			<string>This text will appear under your fourth switch.</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<false/>
			<key>defaults</key>
			<string>iosgods.com.rot8</string>
			<key>key</key>
			<string>kLives</string>
			<key>label</key>
			<string>Switch Text 4</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSGroupCell</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSTextCell</string>
			<key>label</key>
			<string>Made by Joker.</string>
		</dict>
		<dict>
			<key>action</key>
			<string>link</string>
			<key>cell</key>
			<string>PSButtonCell</string>
			<key>icon</key>
			<string>[email protected]</string>
			<key>label</key>
			<string>Visit iOSGods.com</string>
		</dict>
	</array>
	<key>title</key>
	<string>Rot8</string>
</dict>
</plist>

Posted

DiDA Made it for me. The thing is the preference bundle and switch loads, but the switch does absolutely nothing

because your bundle ID is wonky

Posted
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.asd.preferences.plist" 


inline bool GetPrefBool(NSString *key)
{
return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}


%hook SBUIController

-(bool)shouldShowNotificationCentreTabOnFirstSwipe {
if(GetPrefBool(@"kEnabled")) 
return TRUE;
}
return %orig;
}
%end

still not working

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>items</key>
	<array>
		<dict>
			<key>cell</key>
			<string>PSGroupCell</string>
			<key>label</key>
			<string>preferences First Page</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<true/>
			<key>defaults</key>
			<string>com.asd.preferences</string>
			<key>key</key>
			<string>kEnabled</string>
			<key>label</key>
			<string>Enable Rotation On SpringBoard</string>
		</dict>
		<dict>
			<key>action</key>
			<string>respring</string>
			<key>cell</key>
			<string>PSButtonCell</string>
			<key>label</key>
			<string>Respring</string>
		</dict>
	</array>
	<key>title</key>
	<string>preferences</string>
</dict>
</plist>

Posted

still not working

because you most likely created the tweak/patcher under a different bundle ID. You can't just change the text in Tweak.xm

Posted (edited)

this is a different tweak. DiDA made me the first one. that one's mine

Yes I know. You made this one (iosgods.com.rot8), DiDA made the com.asd.preferences. All you did just now was change "iosgods.com.rot8" in Tweak.xm to "com.asd.preferences". You can't just change text when you're under a completely different tweak with a completely different bundle ID.

Updated by Fumetsu
Posted

Nah man, this is a completely different project

I FREAKING KNOW! *facepalm* Dude the issue is your bundle ID. Stop trying to change facts so you don't have to admit you're wrong. They always start with "com". Okay?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Basketball Master: Dunk Hero v1.2.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Basketball Master: Dunk Hero By UDO GAMES OYUN YAZILIM ANONIM SIRKETI
      Bundle ID: com.udogames.dunkmasters
      App Store Link: https://apps.apple.com/us/app/basketball-master-dunk-hero/id6744168445?uo=4

      🤩 Hack Features

      - ADS NO
      - Unlimited Cash
      - Unlimited Gold / Tested No
      - Unlimited Energy
      • 3 replies
    • Basketball Master: Dunk Hero v1.2.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Basketball Master: Dunk Hero By UDO GAMES OYUN YAZILIM ANONIM SIRKETI
      Bundle ID: com.udogames.dunkmasters
      App Store Link: https://apps.apple.com/us/app/basketball-master-dunk-hero/id6744168445?uo=4

      🤩 Hack Features

      - ADS NO
      - Unlimited Cash
      - Unlimited Gold / Tested No
      - Unlimited Energy
      • 4 replies
    • Starbrew Cafe: Mystical Merge v1.63.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Starbrew Cafe: Mystical Merge By Extra Dimension Games Inc.
      Bundle ID: games.extradimension.cafemerge
      App Store Link: https://apps.apple.com/us/app/starbrew-cafe-mystical-merge/id6456751444?uo=4

        

      🤩 Hack Features

      - Gems      --- In Store Buy Items [ Items Sale Price ] Show Free When You Buy Then Get Gems
      - Coins
      - Energy [ Buy Cost 0 ]
      - All Order Completed
      • 17 replies
    • Starbrew Cafe: Mystical Merge v1.63.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Starbrew Cafe: Mystical Merge By Extra Dimension Games Inc.
      Bundle ID: games.extradimension.cafemerge
      App Store Link: https://apps.apple.com/us/app/starbrew-cafe-mystical-merge/id6456751444?uo=4
       

      🤩 Hack Features

      - Gems  --- In Store Buy Items [ Items Sale Price ] Show Free When You Buy Then Get Gems
      - Coins
      - Energy [ Buy Cost 0 ]
      - All Order Completed
      • 19 replies
    • Merge Cruise: Mystery Puzzle v0.37.420 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Merge Cruise: Mystery Puzzle By STUDIO PEERPLAY GAMES LTD
      Bundle ID: com.peerplay.megamerge
      iTunes Store Link: https://apps.apple.com/us/app/merge-cruise-mystery-puzzle/id6459056553?uo=4
       

      🤩 Hack Features

      - Cash
      - Energy

      • 41 replies
    • Merge Cruise: Mystery Puzzle v0.37.420 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Merge Cruise: Mystery Puzzle By STUDIO PEERPLAY GAMES LTD
      Bundle ID: com.peerplay.megamerge
      iTunes Store Link: https://apps.apple.com/us/app/merge-cruise-mystery-puzzle/id6459056553?uo=4
       

      🤩 Hack Features

      - Cash
      - Energy

      • 43 replies
    • Shiba Story Go! RPG Idle Game v1.4.48 [ +12 Cheats ] Always Win
      Modded/Hacked App: Shiba Story Go! RPG Idle Game By Proof of Play, Inc.
      Bundle ID: com.proofofplay.shibastorygo
      App Store Link: https://apps.apple.com/ph/app/shiba-story-go-rpg-idle-game/id6749783343?uo=4

      🤩 Hack Features

      - Gems

      - Gold

      - Energy

      - Keys+3

      - Enhance Items

      - Pet Egg

      - Chest Max [ Server Error Show Some Time But Works ]

      - Fast Travel Energy Cost 1

      - Enemy Easy Kill [ Both Of Linked ] Server Error Show Some Time

      - Alway My Turn

      - HP [ Enemy Easy Kill + Alway My Turn ] Disable Then Use This Feature

      - ATK

      - DEF
      • 27 replies
    • Shiba Story Go! RPG Idle Game v1.4.48 [ +12 Jailed ] Always Win
      Modded/Hacked App: Shiba Story Go! RPG Idle Game By Proof of Play, Inc.
      Bundle ID: com.proofofplay.shibastorygo
      App Store Link: https://apps.apple.com/ph/app/shiba-story-go-rpg-idle-game/id6749783343?uo=4 

      🤩 Hack Features

      - Gems

      - Gold

      - Energy

      - Keys+3

      - Enhance Items

      - Pet Egg

      - Chest Max [ Server Error Show Some Time But Works ]

      - Fast Travel Energy Cost 1

      - Enemy Easy Kill [ Both Of Linked ] Server Error Show Some Time

      - Alway My Turn

      - HP [ Enemy Easy Kill + Alway My Turn ] Disable Then Use This Feature

      - ATK

      - DEF
      • 32 replies
    • Slugterra: Slug it Out 2 v6.0.2 [ +17 Cheats ] Currency Max
      Modded/Hacked App: Slugterra: Slug it Out 2 By Nightmarket Games Inc.
      Bundle ID: com.dhxmedia.slugitout2
      iTunes Store Link: https://apps.apple.com/us/app/slugterra-slug-it-out-2/id1148766137?uo=4

      Hack Features:
      - Buy Chest And You'll Get Alot Of Gems
      - Leveling Up Gives High Gold Amount
      - Leveling Up Gives High Stone Amount
      - Instant Level Up 
      • 31 replies
    • Slugterra: Slug it Out 2 v6.0.2 [ +17 Jailed ] Currency Max
      Modded/Hacked App: Slugterra: Slug it Out 2 By Nightmarket Games Inc.
      Bundle ID: com.dhxmedia.slugitout2
      iTunes Store Link: https://apps.apple.com/us/app/slugterra-slug-it-out-2/id1148766137?uo=4

      Hack Features:
      - Buy Chest And You'll Get Alot Of Gems
      - Leveling Up Gives High Gold Amount
      - Leveling Up Gives High Stone Amount
      - Instant Level Up
      • 52 replies
    • Harry Potter: Puzzles & Spells v104.0.336 +1 Jailed Cheat [ Freeze Moves ]
      Modded/Hacked App: Harry Potter: Puzzles & Spells By Zynga Inc.
      Bundle ID: com.zynga.pottermatch
      iTunes Store Link: https://apps.apple.com/us/app/harry-potter-puzzles-spells/id1434505322?uo=4


      Hack Features:
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Harry Potter: Puzzles & Spells v85.0.271 +1 Cheat [ Unlimited Moves ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 125 replies
    • Disney Solitaire v1.11.0 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/ph/app/disney-solitaire/id6475757306?uo=4
       

      🤩 Hack Features

      - Coins [ Win Match ]

      - Task [ No Need Star ]

      - Stars

      - Undo

      - Wild Card

      - Free Ticket

      - Auto Win
      • 42 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines