facebook-android-sdk icon indicating copy to clipboard operation
facebook-android-sdk copied to clipboard

Message Dialog return result ok always even user send message or not

Open IbrahimHemaida opened this issue 2 years ago • 0 comments

Checklist before submitting a bug report

Java version

1.8

Android version

API 31 , Android 12

Android SDK version

31

Installation platform & version

Gradle

Package

Messenger

Goals

we need to get result from messenger if user send a message to any friend or not to do some flow inside application

Expected results

1- if user sent a message successfully should return -1 or Result .Ok 2- if user not sending message or back from messenger app return 0 or Result .Cancelled

Actual results

always return -1 or Result .Ok to activity result if user sent msg or click on back arrow

Steps to reproduce

No response

Code samples & details

// INSERT YOUR CODE HERE
val content = ShareLinkContent.Builder()
            .setContentUrl(Uri.parse("url here"))
            .build()

MessageDialog(requireActivity()).show(content)

IbrahimHemaida avatar Apr 27 '22 11:04 IbrahimHemaida