Ionic googleplus plugin: Refused to display in a frame because it set 'X-Frame-Options' to 'sameorigin'











up vote
0
down vote

favorite












I am facing this issue when running in browser mode. How can I solve this? Would be possible to open this dialog in a new tab instead of an iFrame?



https://github.com/EddyVerbruggen/cordova-plugin-googleplus



Many thanks for the help!



introducir la descripción de la imagen aquí



Using Ionic with following settings:



cordova-plugin-googleplus 5.3.2 "Google SignIn"


Ionic:

ionic (Ionic CLI) : 4.0.5 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0

Cordova:

cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0, browser 5.0.4, ios 4.5.5

System:

NodeJS : v8.11.3 (/usr/local/bin/node)
npm : 5.6.0
OS : macOS High Sierra
Xcode : Xcode 10.0 Build version 10A255









share|improve this question


























    up vote
    0
    down vote

    favorite












    I am facing this issue when running in browser mode. How can I solve this? Would be possible to open this dialog in a new tab instead of an iFrame?



    https://github.com/EddyVerbruggen/cordova-plugin-googleplus



    Many thanks for the help!



    introducir la descripción de la imagen aquí



    Using Ionic with following settings:



    cordova-plugin-googleplus 5.3.2 "Google SignIn"


    Ionic:

    ionic (Ionic CLI) : 4.0.5 (/usr/local/lib/node_modules/ionic)
    Ionic Framework : ionic-angular 3.9.2
    @ionic/app-scripts : 3.2.0

    Cordova:

    cordova (Cordova CLI) : 8.0.0
    Cordova Platforms : android 7.0.0, browser 5.0.4, ios 4.5.5

    System:

    NodeJS : v8.11.3 (/usr/local/bin/node)
    npm : 5.6.0
    OS : macOS High Sierra
    Xcode : Xcode 10.0 Build version 10A255









    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am facing this issue when running in browser mode. How can I solve this? Would be possible to open this dialog in a new tab instead of an iFrame?



      https://github.com/EddyVerbruggen/cordova-plugin-googleplus



      Many thanks for the help!



      introducir la descripción de la imagen aquí



      Using Ionic with following settings:



      cordova-plugin-googleplus 5.3.2 "Google SignIn"


      Ionic:

      ionic (Ionic CLI) : 4.0.5 (/usr/local/lib/node_modules/ionic)
      Ionic Framework : ionic-angular 3.9.2
      @ionic/app-scripts : 3.2.0

      Cordova:

      cordova (Cordova CLI) : 8.0.0
      Cordova Platforms : android 7.0.0, browser 5.0.4, ios 4.5.5

      System:

      NodeJS : v8.11.3 (/usr/local/bin/node)
      npm : 5.6.0
      OS : macOS High Sierra
      Xcode : Xcode 10.0 Build version 10A255









      share|improve this question













      I am facing this issue when running in browser mode. How can I solve this? Would be possible to open this dialog in a new tab instead of an iFrame?



      https://github.com/EddyVerbruggen/cordova-plugin-googleplus



      Many thanks for the help!



      introducir la descripción de la imagen aquí



      Using Ionic with following settings:



      cordova-plugin-googleplus 5.3.2 "Google SignIn"


      Ionic:

      ionic (Ionic CLI) : 4.0.5 (/usr/local/lib/node_modules/ionic)
      Ionic Framework : ionic-angular 3.9.2
      @ionic/app-scripts : 3.2.0

      Cordova:

      cordova (Cordova CLI) : 8.0.0
      Cordova Platforms : android 7.0.0, browser 5.0.4, ios 4.5.5

      System:

      NodeJS : v8.11.3 (/usr/local/bin/node)
      npm : 5.6.0
      OS : macOS High Sierra
      Xcode : Xcode 10.0 Build version 10A255






      ionic-framework login x-frame-options






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 8 at 11:18









      Rubén Cougil

      915




      915
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Some plugins can only be tested/working inside a device.



          I remember that the google+ sign need to use the google play services and the apk signature those things aren't available running in local browser with chrome.



          It's likely you test the android push notifications with the chrome it won't work.



          For these type of things better if you call the ionic with the live reload to test in the device and reload when you make changes



               ionic cordova run android -l -c 





          share|improve this answer





















          • Hi! thank you for replying. But it is supposed to be able to work in browser mode according to github.com/EddyVerbruggen/cordova-plugin-googleplus#browser , actually, i've already have it working for mobile devices. The problem in the browser seems to be opening an iframe instead of new tab.
            – Rubén Cougil
            Nov 8 at 22:15











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53206693%2fionic-googleplus-plugin-refused-to-display-in-a-frame-because-it-set-x-frame-o%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          Some plugins can only be tested/working inside a device.



          I remember that the google+ sign need to use the google play services and the apk signature those things aren't available running in local browser with chrome.



          It's likely you test the android push notifications with the chrome it won't work.



          For these type of things better if you call the ionic with the live reload to test in the device and reload when you make changes



               ionic cordova run android -l -c 





          share|improve this answer





















          • Hi! thank you for replying. But it is supposed to be able to work in browser mode according to github.com/EddyVerbruggen/cordova-plugin-googleplus#browser , actually, i've already have it working for mobile devices. The problem in the browser seems to be opening an iframe instead of new tab.
            – Rubén Cougil
            Nov 8 at 22:15















          up vote
          0
          down vote













          Some plugins can only be tested/working inside a device.



          I remember that the google+ sign need to use the google play services and the apk signature those things aren't available running in local browser with chrome.



          It's likely you test the android push notifications with the chrome it won't work.



          For these type of things better if you call the ionic with the live reload to test in the device and reload when you make changes



               ionic cordova run android -l -c 





          share|improve this answer





















          • Hi! thank you for replying. But it is supposed to be able to work in browser mode according to github.com/EddyVerbruggen/cordova-plugin-googleplus#browser , actually, i've already have it working for mobile devices. The problem in the browser seems to be opening an iframe instead of new tab.
            – Rubén Cougil
            Nov 8 at 22:15













          up vote
          0
          down vote










          up vote
          0
          down vote









          Some plugins can only be tested/working inside a device.



          I remember that the google+ sign need to use the google play services and the apk signature those things aren't available running in local browser with chrome.



          It's likely you test the android push notifications with the chrome it won't work.



          For these type of things better if you call the ionic with the live reload to test in the device and reload when you make changes



               ionic cordova run android -l -c 





          share|improve this answer












          Some plugins can only be tested/working inside a device.



          I remember that the google+ sign need to use the google play services and the apk signature those things aren't available running in local browser with chrome.



          It's likely you test the android push notifications with the chrome it won't work.



          For these type of things better if you call the ionic with the live reload to test in the device and reload when you make changes



               ionic cordova run android -l -c 






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 8 at 12:51









          Guillem Perez

          1664




          1664












          • Hi! thank you for replying. But it is supposed to be able to work in browser mode according to github.com/EddyVerbruggen/cordova-plugin-googleplus#browser , actually, i've already have it working for mobile devices. The problem in the browser seems to be opening an iframe instead of new tab.
            – Rubén Cougil
            Nov 8 at 22:15


















          • Hi! thank you for replying. But it is supposed to be able to work in browser mode according to github.com/EddyVerbruggen/cordova-plugin-googleplus#browser , actually, i've already have it working for mobile devices. The problem in the browser seems to be opening an iframe instead of new tab.
            – Rubén Cougil
            Nov 8 at 22:15
















          Hi! thank you for replying. But it is supposed to be able to work in browser mode according to github.com/EddyVerbruggen/cordova-plugin-googleplus#browser , actually, i've already have it working for mobile devices. The problem in the browser seems to be opening an iframe instead of new tab.
          – Rubén Cougil
          Nov 8 at 22:15




          Hi! thank you for replying. But it is supposed to be able to work in browser mode according to github.com/EddyVerbruggen/cordova-plugin-googleplus#browser , actually, i've already have it working for mobile devices. The problem in the browser seems to be opening an iframe instead of new tab.
          – Rubén Cougil
          Nov 8 at 22:15


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53206693%2fionic-googleplus-plugin-refused-to-display-in-a-frame-because-it-set-x-frame-o%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Guess what letter conforming each word

          Port of Spain

          Run scheduled task as local user group (not BUILTIN)