jonataslaw / getx

Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
MIT License
10.35k stars 1.63k forks source link

Flutter web deepLink #3057

Open EDApps3 opened 7 months ago

EDApps3 commented 7 months ago

i tried to achieve deep linking using GetX on android and it works fine, Manifest :

 <!-- Deep linking -->
           <meta-data android:name="flutter_deeplinking_enabled" android:value="true" />
           <intent-filter android:autoVerify="true">
               <action android:name="android.intent.action.VIEW" />
               <category android:name="android.intent.category.DEFAULT" />
               <category android:name="android.intent.category.BROWSABLE" />
               <data android:scheme="http" />
               <data android:scheme="https" />
               <data android:host="fluttertutorialsandquizzes.com" />
               <data android:path="/" />
           </intent-filter>

GetMaterial :

 getPages: [
          GetPage(name: '/', page: () => const MainSplashScreen()),
        ],

by loading https://fluttertutorialsandquizzes.com/?categoryid=8 or https://fluttertutorialsandquizzes.com/?categoryid=8#/minified:Md on android the app knows the param but on web it is null

any idea?

EDApps3 commented 7 months ago

Getx5 solve the issue but had to disable the minify, url https://fluttertutorialsandquizzes.com/?category_id=8 works for both web and mobile

fisforfaheem commented 7 months ago

How to uae with get.named...also kindly do a full example

laterdayi commented 7 months ago

https://github.com/Aniketkhote/refreshed

fisforfaheem commented 7 months ago

Can u help me setup.my old project with this? As it breaking some things

On Wed, Apr 3, 2024, 7:09 AM laterdayi @.***> wrote:

https://github.com/Aniketkhote/refreshed

— Reply to this email directly, view it on GitHub https://github.com/jonataslaw/getx/issues/3057#issuecomment-2033407205, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSC3TPOBUDBJ42IXUUTY3NQHJAVCNFSM6AAAAABE6P6FO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZTGQYDOMRQGU . You are receiving this because you commented.Message ID: @.***>