Mattermost v2.15.0版本的 MD5 值为:b830f1c573090f102e13175fba2d5b44

以下内容为反编译后的 PinterestShare.java 源代码,内容仅作参考


package cl.json.social;

import android.content.ActivityNotFoundException;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReadableMap;

public class PinterestShare extends SingleShareIntent {
    private static final String DEFAULT_WEB_LINK = "https://pinterest.com/pin/create/button/?url={url}&media=$media&description={message}";
    private static final String PACKAGE = "com.pinterest";
    private static final String PLAY_STORE_LINK = "market://details?id=com.pinterest";

    @Override
    public String getDefaultWebLink() {
        return DEFAULT_WEB_LINK;
    }

    @Override
    public String getPackage() {
        return PACKAGE;
    }

    @Override
    public String getPlayStoreLink() {
        return PLAY_STORE_LINK;
    }

    public PinterestShare(ReactApplicationContext reactApplicationContext) {
        super(reactApplicationContext);
    }

    @Override
    public void open(ReadableMap readableMap) throws ActivityNotFoundException {
        super.open(readableMap);
        openIntentChooser();
    }
}