Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

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?