Code Monkey home page Code Monkey logo

evilscheme's People

Contributors

lorenzopane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

evilscheme's Issues

[PRESET REQUEST] Twitter

Preset destination
Tweetbot - com.tapbots.Tweetbot4

Preset target
Twitter - com.atebits.Tweetie2

URL Scheme Info
Not sure on this one

[BUG] Opening a mailto URL opens the MailCompositionService and not mail app

Describe the bug
I have Spark set as my default mail app, but when I open a mailto URL, it opens the MailCompositionService and not my selected mail app.

To Reproduce
Steps to reproduce the behavior:

  1. Open a mailto URL such as the examples on this site in Safari (or Chrome, I tested both)
  2. The mail composition service will open, not the selected mail app

Expected behavior
For the email to be opened in Spark.

Screenshots
Video demo

Extra Info
Device model: iPhone 11 Pro Max
iOS version: 13.5
Evil Scheme version: 0.1.0
Crash report (if applicable): N/A

[PRESET REQUEST]

Preset destination
Gmail

Preset target
Mail

URL Scheme Info
Have not looked into it.

[FEATURE REQUEST]Add 'Apply' button at the edit page

Is your feature request related to a problem? Please describe.
Users often forget to apply the changes made after editing their default apps.

Describe the solution you'd like
Add apply button next to the right side of the folder icon (see picture below).

Additional context
046DD3EF-74A3-4D6A-BDB7-3C67568D7DD2

[BUG] Links created by 'Add to Home Screen' in safari still open in safari

Describe the bug
Not too sure if this fit as a new feature or a bug but..
Links created with Safari on the home screen using the 'Add To Home Screen' in safari are bypassing this and are opening in Safari..

To Reproduce
Steps to reproduce the behavior:

  1. Create a link on your home screen using 'Add to Home Screen' button in safari
  2. Click on said link
  3. Link will open in safari even if you have evil scheme set to Chrome as default browser.

Expected behavior
Link should open in chrome.

Extra Info
Please include

  1. iPhone 8 10,4
  2. IOS 13.5
  3. Evil Scheme version 0.1.1

Thanks!

[FEATURE REQUEST] Custom spolight search engine

Currently other search engine(eg, baidu) is not supported, a simple way is add a textbox and let users input url and {search} manually, eg, https://m.baidu.com/s?word={search}.

BTW, users can edit the plist of EvilScheme to archieve this in v0.1.1

[BUG] Search Engine Is Not Presented Correctly

Describe the bug
Tapping on the search engine will always present DuckDuckGo instead of the correct search engine.

(PS: The page title is Experimental Preferences instead of Experimental Settings.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Experimental Settings
  2. Click on the Spotlight Search Engine
  3. The presented search engine is always DuckDuckGo instead of user's search engine

Expected behavior
Tapping on the search engine should present the correct search engine, which is the user's current search engine.

Screenshots
312B7633-AA1B-452E-BC35-CB4373CE9B02

Extra Info

  1. iPhone 8+
  2. iOS 13.5
  3. Evil Scheme 0.1.1

[BUG] Doesn't work with URL encoded characters in link

Describe the bug
When there are URL encoded parameters in the link, Evil Scheme doesn't trigger and the link is opened in the original app.

To Reproduce
Steps to reproduce the behavior:

  1. Add the preset Apollo rule in Evil Scheme settings
  2. Apply the settings
  3. Open this link: https://www.reddit.com/r/jailbreak/comments/esb80q/release_d%C3%A9verser_a_simple_script_for_dumping/
  4. Now open this one: https://www.reddit.com/r/jailbreak/comments/72vm21/question_restoring_using_onboard_blobs/

Expected behavior
Both should open in Apollo.

Actual behavior
The first link opens in the stock Reddit app.

Extra Info

  1. Device model: iPhone X
  2. iOS version: 14.3
  3. Evil Scheme version: 0.2.4
  4. Crash report: N/A

[PRESET REQUEST]

Preset destination
Microsoft Outlook

Preset target
Mail

URL Scheme Info
I have figured out & tested the scheme.

  • Bundle ID: com.microsoft.Office.Outlook
  • URL Scheme: ms-outlook://compose?to=email&subject=subject etc etc

I just modified the Spark template with the ms-outlook scheme and it works great.

[BUG] Default Web Browser not working.

Describe the bug
When clicking on a link from the Messages App for example, it takes me to Safari and not Chrome

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Messages'
  2. Click on a link someone has sent you
  3. See that it opens to Safari

Expected behavior
I expect the link to open in Google Chrome, not Safari

Extra Info
Please include

  1. iPhone 7
  2. iOS 13.6
  3. 0.2.4
Ignored: com.apple.mobilesafari
<FBSOpenApplicationOptions: 0x283770ef0> {
    PayloadOptions = {
        UIApplicationLaunchOptionsSourceApplicationKey = com.apple.MobileSMS;
    }
    PayloadURL = https://uk.ign.com/wikis/the-legend-of-zelda-ocarina-of-time-3d/Biggoron%27s_Sword;
}

[BUG] Unable to Remove Blueprint(s) Consistently

Describe the bug
Removing blueprints is inconsistent as sometimes I'm able to remove it and sometimes not. Tapping on the Delete button doesn't delete the blueprint(s). Same as using the Edit function.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any default apps
  2. Tap on any actions
  3. Slide any blueprints to the left and tap Delete
  4. Slide back to the previous page
  5. Tap again on the affected action(s)
  6. The blueprint(s) is still there

Expected behavior
Tapping on the Delete button should delete the blueprint(s)

Screenshots
Video: streamable

Extra Info

  1. iPhone 8+
  2. iOS 13.5
  3. Evil Scheme 0.1.1

[PRESET REQUEST] Google Calendar

Preset destination
The app you want links to open in. E.g. Google Maps

Google Calendar
com.google.calendar

Preset target
That app's stock counterpart. E.g. Apple Maps

Calendar
com.apple.mobilecal

URL Scheme Info
Found this address for the URS Scheme: googlecalendar://
I'm not sure if this is what you need. I would do this myself, I'm just having a hard time finding instruction on how to add defaults to Evil Scheme.

[FEATURE REQUEST] Add option to redirect only if match regex

Is your feature request related to a problem? Please describe.
I’d like to redirect all Safari requests to Brave except websites with domain invidio.us (because background audio is limited to 30 seconds in all browsers except Safari)

Describe the solution you'd like
An option to input a regex (e.g., http(s?):\/\/(?!(www\.)?invidio\.us).*) that would have to be met for the request to redirect.

Additional context
Thanks for the great tweak! I can see that you put a lot of effort into the post, documentation, and issue-resolving that is unmatched by any other in the jailbreak community, at the low, low price of free! We are so thankful for your hard work. :)

[BUG] Target bundle IDs disappear when leaving settings, only one stays

Describe the bug
When I add multiple target bundle IDs for an app, after leaving the EvilScheme settings and going back, the bundle IDs all disappear except for one of them. They all continue to work until I click "Apply" in the settings again, which actually makes the now disappeared bundle IDs stop redirecting .

To Reproduce
Steps to reproduce the behavior:

  1. Add an entry for an app (for example try the Zebra preset)
  2. Set multiple target bundle IDs
  3. Leave EvilScheme settings completely
  4. Return to EvilScheme settings and open the entry you added
  5. See that only one of the target bundle IDs is there

Expected behavior
All the target bundle IDs should stay.

Extra Info

  1. Device model: iPhone XR
  2. iOS version: iOS 13.3
  3. Evil Scheme version: 0.2.1

[BUG] opening links in uninstalled apps does nothing

Describe the bug

Setting an app substitution (e.g. Firefox as default browser), and then uninstalling said app, will lead to no-op when links are tapped.

To Reproduce

  1. Install Firefox
  2. Set it as default browser
  3. Uninstall Firefox

I'm using Firefox as an example but I'm pretty sure this bug can be reproduced with any setting/app

Expected behavior
Link gets opened with the OS default (e.g. Safari).
Extra Info
iPhone XS, ios 13.5, evil scheme 0.1.0

[BUG] Zebra preset is not working

Describe the bug
The Zebra preset is not working after chosen and saved.
A respring does not help too.

To Reproduce
Steps to reproduce the behavior:

  1. Choose the Zebra preset
  2. Save
  3. Press on "Add to Cydia" link
  4. See error

Expected behavior
It should open Zebra instead of an invalid URL alert.

Extra Info
Please include

  1. Device model: iPhone XS
  2. iOS version: 13.5
  3. Evil Scheme version: 0.1.0

Direct navigation to web URL bypasses EvilScheme

This may very well be intentional (or an existing limitation within iOS), but if you directly navigate to a URL (type it by hand or paste) , the browser will simply navigate to the web page.

I found this while testing Apollo defined schemes.

[PRESET REQUEST]

Preset destination
Comet for Reddit

Preset target
Reddit

URL Scheme Info
There is an "Open in Comet" Button in the share menu.

[FEATURE REQUEST] Redirect chaining

Is your feature request related to a problem? Please describe.
Some apps, such as YouTube do not support opening in the standard safari browser. They support in-app safari, but that's not whatever i overrode it with. Specifically youtube even lets you choose... between in-app safari, googleapp, and chrome. A great workaround for this issue is installing googleapp or chrome, and manually overriding it (check your browser implementation for https and add another bundle ID target for com.google.GoogleMobile, and add an action with ^googleapp://open-url as the regex and replace "Full URL" in your browser's implementation with "Query Parameter: url", and set the percent encoding the same and you've got youtube opening links in any browser)

Describe the solution you'd like
The workaround i explained above isn't ideal, since it would have an entry for every app possible that can open a given type of link in every single preset for a given type of link. A better solution would be if we could chain multiple evilscheme redirects (i.e. google->safari->firefox), often just 2 or 3 but theoretically unlimited. That way, there could be a separate section of redirects that are not "open in this app", but rather "DON'T open in this app". I tried this and it didn't work, because it just opened in safari without checking for firefox again after redirecting.

Additional context
Many apps open in-app safari only, or if they don't open in safari usually have a setting that includes safari, and another feature that would solve almost every case of the issue i described above (specifically it would solve YouTube, the one i'm frustrated about) would be redirecting in-app safari too.

[BUG] QR code link not opening in browser

Describe the bug
When opening camera from the lockscreen, the scanned QR code containing URL couldn’t be open.
Camera launched from the home screen works though.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Lockscreen'
  2. Open up Camera from quick action
  3. Scan QR code (url)
  4. Tap on the notification to proceed to the URL
  5. Nothing happen

Expected behavior
The URL should open with the preferred browser chosen in evilscheme

Extra Info
Please include

  1. iPhone X
  2. iOS 13.5
  3. Evil Scheme version 0.2.4
  4. Crash report (if applicable)

[Feature Request] Siri support

Describe the bug
EvilScheme does not work when using siri

To Reproduce
Steps to reproduce the behavior:

  1. activate siri

  2. say "get directions to the closest movie theatre"

  3. opens directions in apple maps not google maps

  4. activate siri

  5. say "show me photos of dogs"

  6. tap result

  7. it opens in safari not brave

Expected behavior

  1. opens directions in google maps
  2. opens link from siri in brave

Extra Info

  1. Device model: iPhone 6s
  2. iOS version: 13.3.1
  3. Evil Scheme version: 0.1.1

Disapper in options settings.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Cydia;
  2. Update Evil Scheme 0.2.1 version to 0.2.2;
  3. Restart device;
  4. Go to see on options setting.

Device:

  • iPad 5th
  • iPadOS 13.5 (17F75)
  • Evil Scheme version 0.2.2

[PRESET REQUEST]

Preset destination
Apollo API

Preset target
Stock Apollo - Which is now not functional

URL Scheme Info
I believe the bundle id of the new apolloapi is different and needs to be edited

[BUG] Doesn't respect system text size (Dynamic Type)

Describe the bug
In some places of the tweak preferences, the system font size setting is not respected and it just uses the default font size.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Settings -> Accessibility -> Display & Text Size -> Larger Text
  2. Set the text size to the smallest
  3. Respring
  4. Go to Settings -> Evil Scheme
  5. Tap one of the entries under Default Apps

Expected behavior
All text should respect the specified system font size.

Actual behavior
The values for Name, New Bundle ID and Target Bundle IDs appear larger than the rest.

Screenshots
Screenshot

Extra Info

  1. Device model: iPhone X
  2. iOS version: 14.3
  3. Evil Scheme version: 0.2.4
  4. Crash report: N/A

[BUG] Siri Commands Still Open Apple Maps

Describe the bug
When telling Siri for directions to x place, the command is sent to Apple Maps and does not use Google Maps as the default

To Reproduce
Steps to reproduce the behavior:

  1. Set Default App for Google Maps
  2. Invoke Siri
  3. Ask Siri for directions to a place near you that you know of, e.g. “home” or “gas station”
  4. Directions are sent to Apple Maps and not using Google Maps

Expected behavior
With Google Maps selected as Default Map Preset, all Apple Map links should redirect to handle opening in Google Maps

Screenshots
None applicable at this time.

Extra Info
Please include

  1. iPhone Xs Max
  2. 13.5
  3. 0.2.4
  4. No crash report
  5. unc0ver jailbreak 5.3.1
  6. Package manager: Zebra

[FEATURE REQUEST] Apple Maps default

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Add Apple Maps as a default

Additional context
Add any other context or screenshots about the feature request here.

[PRESET REQUEST]

Preset destination
Apple Music: com.apple.Music

Preset target
Spotify: com.spotify.client

URL Scheme Info
(Spotify to Apple Music) OR Vice-Versa. Spotify api could be helpful and AMs api is limited. Thanks.

Tutanota Mail App Support

Good Morning.

First of all, enormous "thank you" to you for developing this tweak. Its - genuinely speaking - up there with the best ones.

Now to the "issue": Most of my time (basically 99% of it), I'm using Tutanota as my default mail client.

I would ideally like it to open any email address i select in the iOS Client and automatically compose an email with the address as the recipient.

To achieve that, i picked a pre-existing preset, and replaced the Bundle ID with Tutanota´s "de.tutao.tutanota". Now, every time i open an email address, it successfully opens the iOS Tutanota Client.

Though unfortunately, i can´t get it to automatically compose an email with the selected email address as a recipient (i.e. when i click on [email protected]). The reason being, that i lack the necessary knowledge when it comes to programming, and even though i know that i have to edit the "mail:to", every attempt in doing so has been therefore unsuccessful.

Do you think you could help me out here?

With regards!

[FEATURE REQUEST] iOS 11 & 12 Support

Describe the bug
Selecting the EvilScheme settings in Settings results in a freeze for about 5 seconds, followed by Settings closing.

To Reproduce
Steps to reproduce the behavior:

  1. Be on iOS 12.4.5
  2. Try to open EvilScheme settings

Expected behavior
It doesn’t crash.

Extra Info

  1. iPhone 6
  2. iOS 12.4.5
  3. Evil Scheme 0.1.0
  4. Crash report (if applicable): Settings crash does not actually produce a crash log for some reason. I wish it did.

[BUG] issue opening new tabs in chrome

Describe the bug
A clear and concise description of what the bug is.
Chrome crashes and fails to load or open a tab when evil scheme is enabled for chrome as default
To Reproduce
Steps to reproduce the behavior:

  1. Go to any app
  2. Click on a link
  3. Chrome will freeze

Expected behavior
A clear and concise description of what you expected to happen.
The tab opens as it normally does
Screenshots
If applicable, add screenshots to help explain your problem.

https://share.icloud.com/photos/0HivzJ5D4rFbRbSO7M7-Dwhlw

Extra Info
Please include

  1. Device model iPhone XS Max
  2. iOS version 13.5
  3. Evil Scheme version latest
  4. Crash report (if applicable)
    Ignored: com.google.chrome.ios
    <FBSOpenApplicationOptions: 0x2823e85f0> {
    __PayloadOptions = {
    UIApplicationLaunchOptionsSourceApplicationKey = com.google.Gmail;
    }
    __PayloadURL = googlechromes://www.google.com/url?q=https://github.com/Tyrrrz/DiscordChatExporter/wiki%23guides&source=gmail&ust=1598001756730000&usg=AFQjCNF7Gh_RSQok33tqyxw5pToKPyMffg&rct=i;
    }

Evil Scheme on iOS 11 PLEASE. Happy to pay!

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Additional context
Add any other context or screenshots about the feature request here.

[BUG] redirecting URLs from an app that isn’t installed doesn’t work, always sends to app page on AppStore

Describe the bug
redirecting URLs from an app that isn’t installed doesn’t work, always sends to app page on AppStore

To Reproduce
Steps to reproduce the behavior:

  1. Set up redirection for app that isn't installed (I used the default Apollo redirect)
  2. Try to open URL for said app (I used web Reddit and then "open in app")
  3. Target app's AppStore page will open (official Reddit app in this case)

Expected behavior
The URL should be redirected to the target app (Apollo in this case)

Extra Info
Please include

  1. Device model
    iPhone12,3 (iPhone 11 pro)
  2. iOS version
    14.3
  3. Evil Scheme version
    0.2.4
  4. Crash report (if applicable)
    No crash.

[BUG] Address is not passed to Google Maps from Yelp and red iCalendar entries

Describe the bug
When Google Maps is set as the default for Maps, activating directions in Yelp opens Google Maps but the address is not passed along.

In the iOS Calendar app, when the location field in an event entry is populated with an address from the Address Book or Apple Maps database, it appear in red and when tapped Evil Scheme opens Google maps but does not pass along the address. A manually typed address will appear in black underline and work with Evil Scheme temporarily, but often iOS soon turns it red and it no longer works.

To Reproduce
Steps to reproduce the behavior:

  1. Set Google Maps as the default maps app in EvilScheme
  2. Go to Yelp
  3. Click on any restaurant entry
  4. Scroll down to Get Directions and tap it
  5. Then Google Maps opens but with no address passed along

or for Calendar

  1. Set Google Maps as the default maps app in EvilScheme
  2. Open Calendar
  3. Tap the plus sign to start creating a New Event
  4. Type Lunch as the subject and tap the Location field
  5. Type Pizza Hut in the Enter Location search bar and scroll down to the Map Locations section tapping on the first entry
  6. Hit add
  7. Tap on the Lunch entry to display the Event Details
  8. Tap on the red Pizza Hut name and address
  9. Google Maps opens but with no address passed along

Note that the same thing happens with your GoogleMapsDefault tweak.

Expected behavior
I expected Google Maps to open with the address already searched and up on the screen, ready for me to hit the Directions or Start button

Screenshots
If applicable, add screenshots to help explain your problem.

Extra Info
Please include

  1. Device model
    iPhone 8 (10,1)

  2. iOS version
    13.5

  3. Evil Scheme version
    0.1.0

  4. Crash report (if applicable)

[BUG] Portion Type is Not Presented Properly

Describe the bug
While configuring fragments, tapping on the portion type will always present Domain.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any default apps
  2. Tap on any actions
  3. Tap on any blueprints
  4. Tap on the portion type
  5. The presented type is Domain instead of the correct type

Expected behavior
Tapping on the portion type should present the correct type.

Screenshots
Video: streamable

Extra Info
Please include

  1. iPhone 8+
  2. iOS 13.5
  3. Evil Scheme 0.1.1

Can someone help me change the default weather app?

I have Dark Sky and wanted to make that the default weather app. I read “Creating Custom Presets” but I have no experience with that. If anyone could help me with this I’d greatly appreciate it! Thanks guys!

[BUG] Gmail preset not working

Describe the bug
When clicking on a mailto link which should open the gmail app with the email in it, is not working. Ita still opening the Apple Mail

Extra Info
Please include

  1. iPhone XR
  2. iOS 13.5
  3. Evil Scheme version: 0.1.1

Apollo preset issues

I haven’t had time to look into the root cause or the correction, but the Apollo preset has a few issues.

  • Clicking the reddit image at the top when in google amp results in Apollo errors because the URL gets mangled.
  • Clicking “open in app” results in opening Apollo, but no change in navigation, this happens both directly on a Reddit page, and when in google amp.

[BUG]

Describe the bug
Firefox doesn’t open when I click on links even though I have Firefox as my default browser.

To Reproduce
Steps to reproduce the behavior:

  1. Make Firefox your default browser
  2. Click on a link

Expected behavior
When I click on a link it should open Firefox, not Safari

Screenshots
DDF44B67-718D-4D30-83DD-88A1848E051F

Extra Info

  1. Device model: iPhone XS
  2. iOS version: 13.5
  3. Evil Scheme version: 0.1.0

[PRESET REQUEST] Apple Maps

Preset destination
The app you want links to open in. E.g.

Apple Maps
Preset target
That app's stock counterpart. E.g.

Google Maps

URL Scheme Info

I’m not sure if this is possible but please please please take a look been looking for this forever. When I use google in safari to find an address and click on the address it always opens google maps to show directions, I would like to just open Apple Maps. If possible I’d be so happy. Do you accept donations?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.