Giter Site home page Giter Site logo

flutter_open_appstore's Introduction

Flutter Moum

Flutter를 좋아하는 사람들이 모여 Flutter 관련한 지식과 기술을 모으는 장소입니다.

오픈소스 컨트리뷰톤 활동과 함께 관리됩니다. 참여해보세요!!!

2019년 컨트리뷰톤은 안드로이드, 아이폰 개발자들이 모여 Flutter를 같이 공부해나가며 아직 귀엽디 귀여운 Flutter 생태계에 도움이 되는 여러 플러그인들을 만들었습니다. 배운 내용을 토대로 위키도 정리했습니다.

Name Release Description Maintainer
all_sensors Pub A Flutter plugin to retreive Accelerometer, Gyroscope, Proximity sensor's data. songyiYu
headset_event Pub Flutter Plugin for headset events. Detect headset is plugged and unplugged. Get current headset state. yenoss, songyiYu
screen_keep_on Pub A Flutter plugin to keep screen on. AndroidX migrated. songyiYu
foreground_notification Pub A flutter plugin for customizing "forground service" notification with chronometer. (iOS is not supported) songyiYu
open_appstore Pub A Flutter plugin for opening the AppStore or PlayStore moonyoung, Chokyungjin
screenshot_callback Pub Flutter plugin that allows you to detect mobile screenshot and execute callback functions on iOS and Android. ByeongGyu Kim, k-elon, Gwangyu-Kim
hardware_buttons Pub A Flutter plugin for iOS and Android for detecting various hardware buttons such as volume and home button. Hansol Lee, Eojin
sim_info Pub A Flutter plugin for read SIM information. You can get SIM data for MCC, MNC, country code, etc There are similarities and differences between the data available on Android and iOS. Read the usage. Eungi Kim, You kwangwoo, Junyeong cho
flutter_airplane_mode_detection Pub Flutter plugin that allows you to detect and check mobile airplane mode callback functions on iOS and Android. moonyoung, Chokyungjin

2020년 컨트리뷰톤은 무섭게 성장하고있는 Flutter에 직접 기여할 수 있는 기회를 가져보게 됩니다.

Open: Open Closed: Closed Merged: Merged

김나연

김난

민경운

박원희

손영인

신영환

이주영

이찬호

이해석

임현호

정세희

최아현

flutter_open_appstore's People

Contributors

chokyungjin avatar moonyoungchae avatar songyiyu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

flutter_open_appstore's Issues

To make Flutter Project not using Kotlin

When you try to make flutter project by java or swift,
just make the project by using command.

Go to the directory you want and write the command on CMD.

flutter create  -i swift -a java project_name

deprecated version of the Android embedding

LOG:
The plugin open_appstore uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

does not specify a Swift version and none of the targets !

I import the open_appstore like this:

...
dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2

  # https://github.com/CaiJingLong/flutter_ijkplayer
  flutter_ijkplayer: 0.3.3

  # https://github.com/letsar/flutter_sticky_header
  flutter_sticky_header: 0.4.0

  # https://github.com/flutter-moum/flutter_open_appstore
  open_appstore: 1.0.2
...

BUT receive this:
open_appstore does not specify a Swift version and none of the targets (Runner) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION

my project using object_c

soukenbons-iMac:msk_s caojianfeng$ flutter run
Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Running pod install... 6.7s
CocoaPods' output:

Preparing

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Finding Podfile changes
  A open_appstore
  R url_launcher
  - Flutter
  - flutter_ijkplayer

Fetching external sources
-> Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
-> Fetching podspec for `flutter_ijkplayer` from `.symlinks/plugins/flutter_ijkplayer/ios`
-> Fetching podspec for `open_appstore` from `.symlinks/plugins/open_appstore/ios`

Resolving dependencies of `Podfile`

Comparing resolved specification to the sandbox manifest
  A Flutter
  A FlutterIJK
  A flutter_ijkplayer
  A open_appstore

Downloading dependencies

-> Installing Flutter (1.0.0)

-> Installing FlutterIJK (0.1.0)
  > Copying FlutterIJK from `/Users/caojianfeng/Library/Caches/CocoaPods/Pods/Release/FlutterIJK/0.1.0-68b00` to `Pods/FlutterIJK`

-> Installing flutter_ijkplayer (0.0.1)

-> Installing open_appstore (0.0.1)
  - Running pre install hooks
[!] Unable to determine Swift version for the following pods:

- `open_appstore` does not specify a Swift version and none of the targets (`Runner`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION`
attribute in at least one of the targets that integrate this pod.

/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/xcode/target_validator.rb:122:in `verify_swift_pods_swift_version'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/xcode/target_validator.rb:37:in `validate!'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:578:in `validate_targets'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:158:in `install!'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command/install.rb:51:in `run'
/Library/Ruby/Gems/2.3.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:22:in `load'
/usr/local/bin/pod:22:in `<main>'

Error output from CocoaPods:

[!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See
`https://guides.cocoapods.org/syntax/podfile.html#platform`.

Error running pod install
Error launching application on iPhone 11 Pro Max.
soukenbons-iMac:msk_s caojianfeng$

iOS에서 앱 링크 찾는법

앱 고유의 이름이 아니라 앱에대한 링크를 받아서 파라미터로 받아 처리해야 하는데

이 링크를 처음에 찾지 못해서 어려웠습니다!


IMG_8744

밑에 링크복사해서 URL 주소 복사하고 링크 확인!!

java.lang.IllegalStateException: Reply already submitted on Android

Getting the following error on Android with this simple use case:

OpenAppstore.launch(androidAppId: "...", iOSAppId: "...);

E/MethodChannel#flutter.moum.open_appstore(13237): Failed to handle method call
E/MethodChannel#flutter.moum.open_appstore(13237): java.lang.IllegalStateException: Reply already submitted
E/MethodChannel#flutter.moum.open_appstore(13237): 	at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:139)
E/MethodChannel#flutter.moum.open_appstore(13237): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:238)

The "Swift Language Version" (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.

I'm facing this issue when trying to compile ios version of my Flutter app (it's an Objective-C project) with flutter app build

I'm getting the following error:

The "Swift Language Version" (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.

This has probably something to do with issue flutter/flutter#16049 , and I guess the solution would be to edit the file flutter_open_appstore.podspec and add the following:

s.swift_versions = ['4.0', '4.2', '5.0']

Please see flutter/flutter#16049 (comment) for the complete fix example.

For now, I've just found a workaround, you can find my experience: flutter/flutter#16049 (comment)

Thanks

Works well on Android Simulator but errors are printed in the console

Hi fellows,

Just to let you know that I'm experiencing a non-critical issue with this fantastic plugin; while it's working perfectly under Android Simulator (I'm correctly redirected to the PlayStore), the following errors/warnings appear every time the function .redirect() is called :

E/MethodChannel#flutter.moum.open_appstore(32282): Failed to handle method call E/MethodChannel#flutter.moum.open_appstore(32282): java.lang.IllegalStateException: Reply already submitted E/MethodChannel#flutter.moum.open_appstore(32282): at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:151) E/MethodChannel#flutter.moum.open_appstore(32282): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:225) E/MethodChannel#flutter.moum.open_appstore(32282): at flutter.moum.open_appstore.OpenAppstorePlugin.onMethodCall(OpenAppstorePlugin.java:38) E/MethodChannel#flutter.moum.open_appstore(32282): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:222) E/MethodChannel#flutter.moum.open_appstore(32282): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:96) E/MethodChannel#flutter.moum.open_appstore(32282): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:656) E/MethodChannel#flutter.moum.open_appstore(32282): at android.os.MessageQueue.nativePollOnce(Native Method) E/MethodChannel#flutter.moum.open_appstore(32282): at android.os.MessageQueue.next(MessageQueue.java:326) E/MethodChannel#flutter.moum.open_appstore(32282): at android.os.Looper.loop(Looper.java:160) E/MethodChannel#flutter.moum.open_appstore(32282): at android.app.ActivityThread.main(ActivityThread.java:6669) E/MethodChannel#flutter.moum.open_appstore(32282): at java.lang.reflect.Method.invoke(Native Method) E/MethodChannel#flutter.moum.open_appstore(32282): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) E/MethodChannel#flutter.moum.open_appstore(32282): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) E/DartMessenger(32282): Uncaught exception in binary message listener E/DartMessenger(32282): java.lang.IllegalStateException: Reply already submitted E/DartMessenger(32282): at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:151) E/DartMessenger(32282): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:240) E/DartMessenger(32282): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:96) E/DartMessenger(32282): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:656) E/DartMessenger(32282): at android.os.MessageQueue.nativePollOnce(Native Method) E/DartMessenger(32282): at android.os.MessageQueue.next(MessageQueue.java:326) E/DartMessenger(32282): at android.os.Looper.loop(Looper.java:160) E/DartMessenger(32282): at android.app.ActivityThread.main(ActivityThread.java:6669) E/DartMessenger(32282): at java.lang.reflect.Method.invoke(Native Method) E/DartMessenger(32282): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) E/DartMessenger(32282): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Just wanna make sure it's not that bad, perhaps it's only due to my configuration and it cannot be reproduced.

Cheers

License link is wrong.

License link in README is wrong.

Wouldn't it be better to fix it with [https://mit-license.org]?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.