Hi, I have this problem when I try to send facebook appinvites of my application for Android, it just hangs the white dialogue for all:
. I tried in emulators and real devices, and it just continues to do the same. I followed this guide:
https://developers.facebook.com/docs/app-invites/android . It was strange, because when I started, I did not have this problem, it opened perfectly and could see facebook friends and send invitations, but suddenly it just stopped working. I was looking for a solution and did not find anything. Some information:
- Im using facebook-android-sdk: 4.20.0
sdk:
`@Override public void onCreate (Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_fbfriends);
FacebookSdk.sdkInitialize(this);
callbackManager = CallbackManager.Factory.create();
if (AppInviteDialog.canShow()) {
AppInviteContent content = new AppInviteContent.Builder()
.setApplinkUrl("facebook generated link to myapp")
.build();
AppInviteDialog.show(this, content);
}
} `
- -, AppInviteDialog.show(, ):
I/cr_LibraryLoader: : 6 ( 8392-8398)
I/cr_LibraryLoader: "52.0.2743.100", "52.0.2743.100"
I/cr_LibraryLoader: "52.0.2743.100", "52.0.2743.100"
I/chromium: [INFO: library_loader_hooks.cc(143)] : level = 0, verbosity = 0
I/cr_BrowserStartup: , singleProcess = true
W/cr_media: BLUETOOTH
I/cr_DRP: DRP - : java.lang.ClassNotFoundException: com.android.webview.chromium.Drp
W/cr_AwContents: onDetachedFromWindow , . I/cr_Ime: ImeThread .
I/: 33 ! .
E/libEGL: validate_display: 99 3008 (EGL_BAD_DISPLAY)
I/VideoCapabilities: 4 /mp 4v-es
[03-11 08: 03: 08.849 2642: 3328 D/] HostConnection:: get() - 0x6fff73f04ac0, tid 3328
D/FA:
I/art: , = 123 , = 109
I/art: GC JitCodeCache
I/art: , = 113 , = 74
W/cr_BindingManager: definedVisibility() - pid: 2642
W/art: , JNI,
I/art: , = 121 , = 88
I/art: , = 121 , = 88
I/art: 512
W/art: , JNI,
W/art: , JNI,
W/art: , JNI,
W/art: , JNI,
( :)
I/chromium: [INFO: CONSOLE (155)] " : Minified, .", source: https://m.facebook.com/connect/dialog/MPlatformAppInvitesJSDialog?app_id=MYAPPID&method_args=%7B%22destination%22%3A%22facebook%22%2C%22app_link_url%22%3A%22https%3A%5C%2F%5C%2Ffb.me%5C%2Fmyapplink%22%7D&bridge_args=%7B%22action_id%22%3A%22b60bf3e2-7b08-4fa0-b2c3-a4839b40b440%22%7D&display=touch&android_key_hash=MYAPPKEYHASH (155)
W/art: , JNI,
W/art: , JNI,
W/art: , JNI,
I/art: 6 void android.view.ViewRootImpl.performTraversals()
W/art: , JNI,
W/art: , JNI,
W/art: , JNI,
W/art: , JNI,
W/art: : 16.507ms
I/art: GC 19 (592B) AllocSpace, LOS (18 ), 17% , 19 /23 , 8,410 43,177
W/art: , JNI,
W/art: , JNI,
W/art: , JNI,
I/art: GC 23 (664B) AllocSpace, LOS 2 (12 ), 13% , 25 /29 , 7.096ms 37.376ms
W/art: , JNI,
W/art: , JNI,
W/art: , JNI,
.
, , - , .