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