<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic AppStudio AuthenticationView using Google authentication causes error in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-authenticationview-using-google/m-p/798868#M1257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When&amp;nbsp;deployed to an actual device, the AuthenticationView does not work when a user tries to use Google to authenticate. Below is a screenshot of AppStudio Player working with one of the samples. Is there a workaround?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" height="848" src="https://community.esri.com/legacyfs/online/436669_Image-1.jpg" width="477" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2019 18:24:14 GMT</pubDate>
    <dc:creator>MattEnglish</dc:creator>
    <dc:date>2019-02-06T18:24:14Z</dc:date>
    <item>
      <title>AppStudio AuthenticationView using Google authentication causes error</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-authenticationview-using-google/m-p/798868#M1257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When&amp;nbsp;deployed to an actual device, the AuthenticationView does not work when a user tries to use Google to authenticate. Below is a screenshot of AppStudio Player working with one of the samples. Is there a workaround?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" height="848" src="https://community.esri.com/legacyfs/online/436669_Image-1.jpg" width="477" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 18:24:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-authenticationview-using-google/m-p/798868#M1257</guid>
      <dc:creator>MattEnglish</dc:creator>
      <dc:date>2019-02-06T18:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: AppStudio AuthenticationView using Google authentication causes error</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-authenticationview-using-google/m-p/798869#M1258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Matt,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We found that the &lt;A href="https://developers.arcgis.com/qt/latest/toolkit/api-reference/qml-authenticationview.html"&gt;AuthenticationView&lt;/A&gt; and &lt;A href="https://developers.arcgis.com/qt/latest/toolkit/api-reference/qml-oauth2view.html"&gt;OAuth2View&lt;/A&gt; from &lt;A href="https://community.esri.com/space/2136"&gt;ArcGIS Runtime SDK for Qt&lt;/A&gt; "import Esri.ArcGISRuntime.Toolkit.Dialogs" is using &lt;A href="http://doc.qt.io/qt-5/qml-qtwebview-webview.html"&gt;Qt WebView&lt;/A&gt; "import QtWebView 1.1" that does not&amp;nbsp;work with the Google login.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://doc.arcgis.com/en/appstudio/api/reference/framework/qml-arcgis-appframework-webview-webview/"&gt;AppStudio AppFramework WebView&lt;/A&gt; has solved this limitation from Qt WebView.&amp;nbsp; The workaround is to update the source code of the OAuth2View to use AppStudio AppFramework WebView instead of Qt WebView.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am showing the way to&amp;nbsp;implement this workaround as if you are using our "&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;OAuth + Biometric Authentication" sample because it can be reproducible on that sample.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;- Grab the source code of the AuthenticationView.qml and OAuth2View.qml from ArcGIS Runtime Toolkit Dialog installation. Under your AppStudio Installation folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;&lt;IMG __jive_id="436742" alt="" class="image-6 jive-image j-img-original" src="/legacyfs/online/436742_Screen Shot 2019-02-06 at 3.31.46 PM.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;- Add these to files into your project, I am adding these to the "controls" folder for OAuth sample. I renamed these files, by adding "New" to the file name, so that we can make sure that we are loading the updated files.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;&lt;IMG __jive_id="436737" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/436737_pastedImage_3.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;- On OAuth2ViewNew.qml, comment out the "import QtWebView 1.1" statement and add "import ArcGIS.AppFramework.WebView 1.0"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;&lt;IMG __jive_id="436738" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/436738_pastedImage_4.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;- On AuthenticationViewNew.qml, line 116, change the "OAuth2View.qml" to&amp;nbsp;load the new file "OAuth2ViewNew.qml"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;&lt;IMG __jive_id="436739" class="jive-image image-4" src="https://community.esri.com/legacyfs/online/436739_pastedImage_5.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;- On the views/Profile.qml, line 274, make sure to load the new qml file AuthenticationViewNew instead&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;&lt;IMG __jive_id="436740" alt="" class="image-5 jive-image j-img-original" src="/legacyfs/online/436740_Screen Shot 2019-02-06 at 3.34.57 PM.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;I tested this and it works on my side, let me know if this is working for you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-weight: normal; text-decoration: none; font-size: 14.666666984558105px;"&gt;Erwin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 23:44:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-authenticationview-using-google/m-p/798869#M1258</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2019-02-06T23:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: AppStudio AuthenticationView using Google authentication causes error</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-authenticationview-using-google/m-p/798870#M1259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached are the OAuth2View.qml and AuthenticationView.qml&amp;nbsp;from the Esri ArcGIS Runtime Qt Toolkit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 23:46:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-authenticationview-using-google/m-p/798870#M1259</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2019-02-06T23:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: AppStudio AuthenticationView using Google authentication causes error</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-authenticationview-using-google/m-p/798871#M1260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;works like a charm!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 00:14:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-authenticationview-using-google/m-p/798871#M1260</guid>
      <dc:creator>MattEnglish</dc:creator>
      <dc:date>2019-02-07T00:14:08Z</dc:date>
    </item>
  </channel>
</rss>

