본문 바로가기
개발/Flutter

flutter app update 시키기

by dev_caleb 2023. 5. 21.
728x90

안드로이드 앱 업데이트가 잘 안되어서, 왜 그런지 많이 생각하고 수정도하고, 했는데

결국 인텐트 주소가 잘 못 된 것이었음. 

 

고치고 나서 생각해보면 왜 intent 주소 바꿀 생각을 왜 안했을까 싶다

 

playstore로 https로 옮기는 것이 아니고 마켓주소를 적어야하는 것이다.

static String androidStoreUrl = 'https://play.google.com/store/apps/details?id=
static String androidMarketUrl = 'market://details?id=

그래야 playstore가 켜지면서 정상적으로 작동함!!

 

근데 웹페이지를 키더라도 

mode: LaunchMode.externalApplication,

이것만 설정해줘도 문제가 안생기는데 

googlestore 주소로 보내고, externalApplication으로 안하면 동작 안하는 것 같다!

 

 

 

https://stackoverflow.com/questions/49685112/flutter-open-appstore-playstore-url

 

Flutter Open AppStore/PlayStore URL

How can I open a specific URL of the PlayStore/AppStore with flutter on Android and IOS, depending on which smartphone it is executed? I mean I want to open the application and not a browser or som...

stackoverflow.com

 

 

 

728x90