GeekyAnts / external_app_launcher

BSD 3-Clause "New" or "Revised" License
14 stars 31 forks source link

app store link not working #21

Closed shashikiran918 closed 2 years ago

shashikiran918 commented 2 years ago

this is my code

void launchApp() async { var openAppResult = await LaunchApp.openApp( androidPackageName: 'com.example.zoom_demo', appStoreLink: 'https://play.google.com/store/apps/details?id=com.aceenggacademy.mobile', ); } when external app is not available in device it should redirect to store right ! but in my code it is redirecting to playstore and still loading like circular progress indicator not showing app store link play store page .

This is my androidmanifestxml file

Screenshot from 2022-08-10 16-21-25

can u please help me to find this app store link problem?

Gayathri-GA commented 2 years ago

Hi @shashikiran918 You are specifying google play store link instead of passing App Store link. In order to open your app on App Store,You should declare variables as below

appStoreLink:'itms-apps://itunes.apple.com/us/app/ace-engineering-academy/id1039063761',

shashikiran918 commented 2 years ago

thank you got it