KasemJaffer / receive_sharing_intent

A Flutter plugin that enables flutter apps to receive sharing photos, text and url from other apps.
Apache License 2.0
334 stars 391 forks source link

**** Major Blocker *****, Please fix immediately #103

Open krsolutions opened 4 years ago

krsolutions commented 4 years ago

e: /Users/reddy/flutter/.pub-cache/hosted/pub.dartlang.org/receive_sharing_intent-1.4.1/android/src/main/kotlin/com/kasem/receive_sharing_intent/ReceiveSharingIntentPlugin.kt: (139, 67): Type mismatch: inferred type is Uri? but Uri was expected e: /Users/reddy/flutter/.pub-cache/hosted/pub.dartlang.org/receive_sharing_intent-1.4.1/android/src/main/kotlin/com/kasem/receive_sharing_intent/ReceiveSharingIntentPlugin.kt: (199, 95): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?

FAILURE: Build failed with an exception.

jonasN5 commented 3 years ago

Still an issue as of today

jonasN5 commented 3 years ago

Still an issue in the latest v1.4.3

LazyDave76 commented 3 years ago

i've fired in a PR to try and fix this issue (https://github.com/KasemJaffer/receive_sharing_intent/pull/137)

try adding this to your pubspec.yaml file...

receive_sharing_intent:
    git:
      url: https://github.com/LazyDave76/receive_sharing_intent.git
      ref: 7ec782f
jonasN5 commented 3 years ago

i've fired in a PR to try and fix this issue (#137)

try adding this to your pubspec.yaml file...

receive_sharing_intent:
    git:
      url: https://github.com/LazyDave76/receive_sharing_intent.git
      ref: 7ec782f

This works! Nice job! Did you also merge the pending PRs?

LazyDave76 commented 3 years ago

i've fired in a PR to try and fix this issue (#137) try adding this to your pubspec.yaml file...

receive_sharing_intent:
    git:
      url: https://github.com/LazyDave76/receive_sharing_intent.git
      ref: 7ec782f

This works! Nice job! Did you also merge the pending PRs?

no, just the failing on android issue

jonasN5 commented 3 years ago

i've fired in a PR to try and fix this issue (#137) try adding this to your pubspec.yaml file...

receive_sharing_intent:
    git:
      url: https://github.com/LazyDave76/receive_sharing_intent.git
      ref: 7ec782f

This works! Nice job! Did you also merge the pending PRs?

no, just the failing on android issue

Would be awesome if someone could maintain a new package, even just merging all the PRs would be good I think!

LazyDave76 commented 3 years ago

i've fired in a PR to try and fix this issue (#137) try adding this to your pubspec.yaml file...

receive_sharing_intent:
    git:
      url: https://github.com/LazyDave76/receive_sharing_intent.git
      ref: 7ec782f

This works! Nice job! Did you also merge the pending PRs?

no, just the failing on android issue

Would be awesome if someone could maintain a new package, even just merging all the PRs would be good I think!

@KasemJaffer will get around to it, I'm sure :)

jonasN5 commented 3 years ago

i've fired in a PR to try and fix this issue (#137) try adding this to your pubspec.yaml file...

receive_sharing_intent:
    git:
      url: https://github.com/LazyDave76/receive_sharing_intent.git
      ref: 7ec782f

This works! Nice job! Did you also merge the pending PRs?

no, just the failing on android issue

Would be awesome if someone could maintain a new package, even just merging all the PRs would be good I think!

@KasemJaffer will get around to it, I'm sure :)

When fetching with your git repo, the build fails on Xcode Module receive_sharing_intent not found. Does it work for you?

LazyDave76 commented 3 years ago

i've fired in a PR to try and fix this issue (#137)

try adding this to your pubspec.yaml file...


receive_sharing_intent:

    git:

      url: https://github.com/LazyDave76/receive_sharing_intent.git

      ref: 7ec782f

This works! Nice job! Did you also merge the pending PRs?

no, just the failing on android issue

Would be awesome if someone could maintain a new package, even just merging all the PRs would be good I think!

@KasemJaffer will get around to it, I'm sure :)

When fetching with your git repo, the build fails on Xcode Module receive_sharing_intent not found. Does it work for you?

Yeah, builds fine for me on Xcode with flutter 1.22.6 - maybe try running

Flutter clean

And trying again?