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
325 stars 375 forks source link

Readme.md does not say Share Extension should choose Language as Swift. #315

Open tindi-plus opened 1 month ago

tindi-plus commented 1 month ago

The readme.md does not specify that the language for Share Extension should be Swift. As a result, I used Objective C which was the default selected by Xcode and I could not complete step 8 for iOS which was


// Go to Build Phases of your Runner target and
// move `Embed Foundation Extension` to the top of `Thin Binary`. 
import receive_sharing_intent

class ShareViewController: RSIShareViewController {

    // Use this method to return false if you don't want to redirect to host app automatically.
    // Default is true
    override func shouldAutoRedirect() -> Bool {
        return false
    }

}```

This is a super omission.