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

Open by default problems #437

Open
mfaathirarsa opened this issue Jul 28, 2024 · 8 comments
Open

Open by default problems #437

mfaathirarsa opened this issue Jul 28, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@mfaathirarsa
Copy link

mfaathirarsa commented Jul 28, 2024

It has come to my attention that Hacki does not open Hacker News links by default. Consequently, I configured my device to automatically open news.ycombinator.com links using Hacki. However, this setup has created a problem: I am now unable to open discussion pages in a browser, as my Android device automatically redirects these links to Hacki instead of my browser.

My original intention for this setting was to ensure that links sent by friends would open in Hacki by default. Unfortunately, since there is no share button available within a post in Hacki, and sharing can only be done from the home page, this setup does not meet my needs. It seems that the intended use case was to allow users to open links in their browser, copy the link from there, and then use it, but this is not possible with the current default settings.

I am using the default settings provided by my phone's operating system. For reference, I will provide my phone's specifications below.

Redmi Note 10 Pro M2101K6G

Device Overview:

  • Model: M2101K6G (sweet_id)
  • Manufacturer: Xiaomi
  • Board: sweet
  • Hardware: qcom
  • Android Version: 13
  • Platform: sm6150

CPU Details:

  • SoC: Qualcomm Snapdragon 732G (Model: Qualcomm Technologies, Inc SM7150)
  • Architecture: Kryo 470
  • Process Technology: 8 nm
  • Max Frequency: 2304 MHz
  • Total CPUs: 8

Core Sets:

  • Core Set 0: 6 cores, Max Clock 1804 MHz
  • Core Set 1: 2 cores, Max Clock 2304 MHz

GPU:

  • Vendor: Qualcomm
  • Renderer: Adreno (TM) 618

Battery Capacity:

  • Capacity: 5020 mAh

Supported ABIs:

  • 32-bit: armeabi-v7a, armeabi
  • 64-bit: arm64-v8a

@Livinglist
Copy link
Owner

Hi @mfaathirarsa, are you looking for ways to share a post from the post page? You can do so by swiping right on the post title/body like this, let me know if this solves your issue:

RPReplay_Final1722208681.MP4

@mfaathirarsa
Copy link
Author

That resolved one of the issues, but I’m still facing a significant problem. When my friends send me Hacker News links, they don’t open in the Hacki app by default. I have set these links to open in Hacki by default, but now I can’t open them in a browser. Clicking the "Open in Browser" button within Hacki just returns me to the Hacki app.

This creates quite a tricky conundrum.

@Livinglist
Copy link
Owner

@mfaathirarsa, I see, can you go to Hacki's setting page and enable "Use Custom Tabs" option and see if that solves your issue?

@mfaathirarsa
Copy link
Author

I'm sorry but that did not solve the issue as noted in the video below

223a157a-2def-48b0-a6e3-f6b639b69c68.mp4

Also is there a way to remove those blue bars when opening in browser, it seems that it follows my accent color but it's really distracting

@Livinglist Livinglist added the bug Something isn't working label Sep 4, 2024
@TriStaRvOiD
Copy link

Can confirm that Hacki doesn't seem to support opening Hacker News links on iOS either.

@Livinglist
Copy link
Owner

Hi @TriStaRvOiD, you can open HN links in Hacki by tapping on the Hacki icon in the share sheet:
IMG_3955

@TriStaRvOiD
Copy link

Hi @TriStaRvOiD, you can open HN links in Hacki by tapping on the Hacki icon in the share sheet:

IMG_3955

It would be helpful if Hacki supported deep linking though. For example, the way in which Safari suggests opening a Reddit post in the app.

image

image

Apologies if this form of implementation isn't possible.
I never thought about sharing the link to Hacki, that's neat.

For what's it's worth, this might help:
image

@Livinglist
Copy link
Owner

Hi @TriStaRvOiD, you can open HN links in Hacki by tapping on the Hacki icon in the share sheet:
IMG_3955

It would be helpful if Hacki supported deep linking though. For example, the way in which Safari suggests opening a Reddit post in the app.

image

image

Apologies if this form of implementation isn't possible. I never thought about sharing the link to Hacki, that's neat.

For what's it's worth, this might help: image

Unfortunately this is not possible since deep link on iOS (now even on Android) requires some sort of certificate to be setup in the web server: https://developer.apple.com/documentation/xcode/supporting-associated-domains

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants