본문 바로가기
728x90

분류 전체보기574

게임을 하면 안되는 이유 https://www.youtube.com/watch?v=nL3vcZfSrQU 게임을 하면 안 되는 이유는 게임을 했을 때, 시간 낭비가 많아서 그렇다고 생각해왔다. 그런데 그게 아니었다. 게임을 하면 도파민으로 인해서 게임을, 계속 생각하게 된다. (게임을 하고 있지 않은 시간에도!) 그게 문제임! 2023. 6. 12.
In App 결제 기능 구축(5) 일단 UI를 대충 짜보았다. 다른 앱의 UI를 벤치마킹 했다! 일단 오른쪽 위에 있는 Text는 Obx로 User정보 가져와서 바꿔준다 -> User정보는 stream으로 계속 바뀌도록 되어있다 아래에 있는 구매 버튼은 market에서 product를 가져온 후에 FutureBuilder로 실행시켜줄 예정이다. Future loadingProductForSale() async { const Set _kIds = {'dia_1', 'dia_2'}; final ProductDetailsResponse response = await InAppPurchase.instance.queryProductDetails(_kIds); logger.d('response : $response'); List products =.. 2023. 6. 7.
In App 결제 기능 구축(4) Confirming subscription price changes 구독 가격 변경 확인 When the price of a subscription is changed the consumer will need to confirm that price change. If the consumer does not confirm the price change the subscription will not be auto-renewed. By default on both iOS and Android the consumer will automatically get a popup to confirm the price change, but App developers can override this mechanism and.. 2023. 6. 5.
Get.until로 bottom NavigationBar 종료하기 dialog 들은 아래 페이지로 모두 종료가 된다. Get.until((route) => route is! PopupRoute); //팝업창 모두 끄기 bottomnavigationbBar 중에서도 showCupertinoModalbottom sheet을 사용하고 있는데 잘 사용이 되지 않는 것 같다. 그렇다고 Get.back();을 사용하면 page 종료가 일어날 것 같아서, bottomsheet 또는 dialog만 종료 시킬 수 있도록 해보려고 한다. 2023. 6. 5.
728x90