fttx / barcode-to-pc-server

Barcode to PC server
https://barcodetopc.com/
GNU General Public License v3.0
207 stars 85 forks source link

Improve automatic pairing with referrer parameter #358

Open fttx opened 2 years ago

fttx commented 2 years ago

The server is already generating an URL that looks like: https://app.barcodetopc.com/?h=REFFERERR&a=192.168.0.40-192.168.0.42 The page should redirect to an AppStore URL that looks like: https://play.google.com/store/apps/details?id=com.barcodetopc&referrer=utm_source%3Dbarcode-to-pc-server%26utm_medium%3Dqr-code-pairing%26a%3D192.168.0.40-192.168.0.42%26h%3DREFFERERR

(see HTML source code view-source:https://app.barcodetopc.com/)

App-side: