Hey Felipe, the app rocks, love it!
Question
How can I log in with my profile?
The majority would have used their NOSTR keys with nos2x Others would have used their LN wallet Others email etc
IMO, the safe bet is to start with NOSTR to sign in, what are your thought?
Thanks, man!
The only method of login available for now is the Magic Link, unfortunately
I'll implement the other methods some day 😅
reply
Okay, I will create an alias and test it with a temp profile and let you know my findings, working on it
reply
Ok, tested on the mobile, no luck, the magic link arrives, but once I click on it I am redirected to my mobile browser and it login in the browser, not the app.
reply
Hmm that's a bummer. I probably messed up something on the AndroidManifest file again. Or, it could be that you set your browser as the default app for handling links (which makes total sense) or something like that. Either way, I'm going to have to find a way.
I'll take a look at it later. Thanks again @rod!
reply
Okay, managed with the email as follows:
1.- in the info of the app, click on "Open by default", in there, you have by default the "Open supported links" already ON 2.- Under there is section that writes "Links to open in this app"
  • You see there "0 verified links" and just below
    • [ ] stacker.news unselected by default - here in my opinion is the key
I selected the tick box making any link of stacker.news to be open now with the app, went back to the email, and it worked.
I assume that if you have the tick box by default selected [x] stacker.news, that will suffice.
Hope this helps!
reply
Hmm yeah, I was reading the docs on web-links1 and app-links2 and it seems that is the default behavior on Android 12 and above.
I'll read the Flutter docs on app links3 again to see if I set it up correctly.

Footnotes

reply
Well, I think we're gonna need @k00b's and @ekzyis's help to make it work properly on Android 12+. 1
An Android App Link is a special type of deep link that allows your website URLs to immediately open the corresponding content in your Android app, without requiring the user to select the app. Android App Links use the Digital Asset Links API to establish trust that your app has been approved by the website to automatically open links for that domain. If the system successfully verifies that you own the URLs, the system automatically routes those URL intents to your app.
To verify that you own both your app and the website URLs, complete the following steps:
Add intent filters that contain the autoVerify attribute. This attribute signals to the system that it should verify whether your app belongs to the URL domains used in your intent filters.
...
@rod Maybe we should move this discussion to GitHub to stop flooding the comments 😅

Footnotes

reply
I see, sorry, no Github account, left it a while ago, Gitlab all the way now. Last time I needed an account again in Github, they flagged my account because I use a respectable paid alias forwarding service. I wrote them and told them their algo was non sense to unlock the account, they didn't care. Sorry, pass.
The workaround enabling the link embedded already in your app is not complex, but users need to be informed. The solution, IMO, is to let users to login with their LN wallets and more importantly with NOSTR, once you manage to add that part the adoption should follow...
reply
reply