Monaca Onsen UI Discord Chat Github Repo

Social Sharing, social authentication



  • Any recommended social sharing, social authentication plugin for cordova? I’m using Onsen + Vue + Cordova but no luck, I’m unable to find any good plugin, tried this social sharing plugin

    cordova plugin add cordova-plugin-x-socialsharing
    cordova prepare
    

    then on onsen actionsheet, on action button click

    methods : {
            shareto(){
                const _self = this;
                if( type == 'fb' ){
                                window.plugins.socialsharing.shareViaFacebook(
                                    '<p>test</p>',
                                    this.listdata.logo_source,
                                    this.listdata.url,
                                    function(){
                                       alert('Success');
                                    },
                                    function(errormsg){
                                        alert(errormsg);  
                                    }
                                );
                            }
                this.actionSheetVisible = false;
            },
    }
    

    then did npm run build, copy the distribution files to cordova www folder
    did cordova platform add android
    did cordova emulate android

    and this what It throws from catching the error on function(errormsg){ after trigger the share to facebook action button

    com.google.android.apps.photos,com.android.messaging,com.google.android.gm

    any help, ideas please?