Kaiak / kaiak-wallet

A secure and fast way to send and receive Nano cryptocurrency in KaiOS.
https://kaiak.cc
GNU General Public License v2.0
31 stars 9 forks source link

Deeplinking #26

Open Citrullin opened 3 years ago

Citrullin commented 3 years ago

Add Deep linking. Ideal case: nano://nano_3wm37qz19zhei7nzscjcopbrbnnachs4p1gnwo5oroi3qonw6inwgoeuufdp?amount=1 Still fine: app://nano/nano_3wm37qz19zhei7nzscjcopbrbnnachs4p1gnwo5oroi3qonw6inwgoeuufdp?amount=1 Maybe it is only possible to link with app:// and not with nano:// in that case, we have to use app, even though it is not the best case scenario.

Citrullin commented 3 years ago

Pushed progress to the branch deeplinking on fb4b16fd78b242b3afff2314399feb2e08c574e5. app:// looks more promising so far.

Citrullin commented 3 years ago

From perry on the discord:

"activities": {   
            "view": {
                "filters": {
                    "type": "url",
                    "url": {
                        "required": true,
                        "regexp":"/^https?:/"
                    }
                },
                "disposition": "inline",
                "returnValue": true,
                "href": "/index.html"
                }
          },

it works from the email app but not in the sms && browser app

Need to give it another try.