imToken v2.14.1版本的 MD5 值为:83050b2c91219b46832c8336279e7878
以下内容为反编译后的 FacebookShare.java 源代码,内容仅作参考
package cl.json.social;
import android.content.ActivityNotFoundException;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReadableMap;
public class FacebookShare extends SingleShareIntent {
private static final String DEFAULT_WEB_LINK = "https://www.facebook.com/sharer/sharer.php?u={url}";
private static final String PACKAGE = "com.facebook.katana";
@Override
protected String getDefaultWebLink() {
return DEFAULT_WEB_LINK;
}
@Override
protected String getPackage() {
return PACKAGE;
}
@Override
protected String getPlayStoreLink() {
return null;
}
public FacebookShare(ReactApplicationContext reactApplicationContext) {
super(reactApplicationContext);
}
@Override
public void open(ReadableMap readableMap) throws ActivityNotFoundException {
super.open(readableMap);
openIntentChooser();
}
}