pipacs / o2

OAuth 2.0 for Qt
BSD 2-Clause "Simplified" License
317 stars 147 forks source link

Reply content not shown on Android #116

Closed nebomuk closed 6 years ago

nebomuk commented 6 years ago

If you follow the Readme closely and open the browser in Android on void onOpenBrowser(const QUrl *url) then the QTcpSocket in O2ReplyServer will pause processing network requests and the reply content will never be shown. An easy fix is to change this line in the Qt-generated manifest.xml.

meta-data android:name="android.app.background_running" android:value="true"

This should be documented in the Readme.

pipacs commented 6 years ago

The preferred way is to open a web view, not an external browser.