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

Safari extension for iOS #689

Closed
aptonline opened this issue Jan 20, 2022 · 23 comments
Closed

Safari extension for iOS #689

aptonline opened this issue Jan 20, 2022 · 23 comments
Labels
enhancement New feature or request

Comments

@aptonline
Copy link
Contributor

aptonline commented Jan 20, 2022

Recently came across this tweet and thought it might be useful if you wanted to port to an iOS Safari extension.

https://twitter.com/jensimmons/status/1483885578655608842?s=21

@aptonline aptonline added the enhancement New feature or request label Jan 20, 2022
@6c65726f79
Copy link
Owner

Thank you for sharing this, unfortunately the Web UI is not a browser extension, so I don't think it will work.

But the frameworks I use (Ionic and Capacitor) allows to build an iOS app, so it shouldn't be too hard to release the app for iOS. The main problem is that I don't have an Apple developer account and I'm not planning to pay for it, so I won't be able to sign the app. The best solution would be to find someone who has an Apple developer account and who would be willing to publish the application for me.

@aptonline
Copy link
Contributor Author

There are alternative solutions if you are wanting to get an app out into the hands of iOS users.
https://altstore.io/

@6c65726f79
Copy link
Owner

Thanks, I didn't know this method. I knew Cydia Impactor but you need a developer account since 2019.

The expiration after 7 days is rather annoying, but it's better than nothing. I will try to build the app for iOS, but it will take me some time because I'm not familiar with iOS development.

@aptonline
Copy link
Contributor Author

It’s not too much of an issues as it’s auto refreshes when your device in on the same wifi network. Works really well.

@aptonline
Copy link
Contributor Author

Btw happy to test 👍.

@6c65726f79
Copy link
Owner

Works really well.

Ok I see, good news.

Btw happy to test 👍.

Thanks, I'll let you know when I've managed to build the IPA.

@jiangjiangflies
Copy link

Waiting for iOS app, too!

6c65726f79 added a commit that referenced this issue Feb 3, 2022
@aptonline
Copy link
Contributor Author

Looks like at some point you won’t have to go through the App Store.
https://9to5mac.com/2022/02/03/app-store-open-markets-act-senate-advance/

@6c65726f79
Copy link
Owner

Awesome! Let's hope it doesn't take years to be voted and that this will apply outside of the US as well.

@6c65726f79
Copy link
Owner

I've managed to get the app running in an emulator. Everything seems to be working properly, so I'll try to build the IPA very soon so you can test it on real hardware.

ios screenshots

@6c65726f79
Copy link
Owner

The IPA is ready to be tested: v1.6.0-dev

I haven't tested it on real hardware yet, so I don't know if you will be able to install it.

@jiangjiangflies
Copy link

jiangjiangflies commented Feb 12, 2022

I tested ipa, awesome!But this is a minor annoying error message if I entered wrong credentials (see the second image).
微信图片_20220212155501
微信图片_20220212155511

@aptonline
Copy link
Contributor Author

aptonline commented Feb 12, 2022

Congratulations 🎉 managed to side-load with AltStore and it’s working well on first test.

Will do some further testing and let you know if I spot anything 👍.

@6c65726f79
Copy link
Owner

Perfect! Thanks for testing it. I still have some improvements to make on other platforms so the final version won't be released until next week.

But this is a minor annoying error message if I entered wrong credentials

Yes I've noticed it too, this will be fixed in the final release.

@aptonline
Copy link
Contributor Author

Not a bug but is there anyway to register magnet:// with the system so that magnet links can be recognised in Safari?

@6c65726f79
Copy link
Owner

It should works, it worked when I tested on the emulator, what version of iOS are you using?

@aptonline
Copy link
Contributor Author

iOS 15.3.1. Ok so it may be down to another app (DS Manager Pro) on my iPhone is also registered for magnet://. Not found a way to choose which one take precedent 🤔.

@6c65726f79
Copy link
Owner

6c65726f79 commented Feb 12, 2022

Yes, the problem surely comes from that. I tested on iOS 15 it works well.

2022-02-12 16-25-28 High Res Screenshot

From what I've found, there is no solution except to delete the other app and reboot: https://stackoverflow.com/questions/13130442/multiple-apps-with-the-same-url-scheme-ios

Edit: As mentioned in this answer, it may be necessary to reinstall the IPA to properly register the protocol.

@aptonline
Copy link
Contributor Author

Oh well will have to wait for another iOS update to address that hopefully.

@6c65726f79
Copy link
Owner

I'm not sure if they plan to change this behavior, as URL scheme is supposed to be unique for each app. If you're using DS Manager Pro to handle another type of scheme than magnet, I think you can install Transmissionic first and then reinstall the other app, the magnet links should open with Transmissionic.

@aptonline
Copy link
Contributor Author

aptonline commented Feb 12, 2022

There are always going to be a situation where you want/need the url scheme to handle ‘generic’ types like magnet:// as that shouldn’t be tied to a specific app. Much like Apple did for http:// allowing you to have another browser over the default Safari app.
992BAF4C-62AF-4113-870F-F59EF402A946

@6c65726f79
Copy link
Owner

I fully agree, this is what Google did with Android, but knowing that this problem has been present since at least 2012, I don't know if this will change soon. Let's hope! The last advice I could give is to switch to Android, but it depends on your preferences 😄

Screenshot_20220212-185135

@6c65726f79
Copy link
Owner

New version published: v1.6.0

Thank you again for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants