Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
/**
* @since 9.1.0
*/
- const USER_AGENT_CLIENT_ANDROID = '/^Mozilla\/5\.0 \(Android\) ownCloud\-android.*$/';
+ const USER_AGENT_CLIENT_ANDROID = '/^Mozilla\/5\.0 \(Android\) (ownCloud|Nextcloud)\-android.*$/';
/**
* @since 9.1.0
],
false,
],
+ [
+ 'Mozilla/5.0 (Android) ownCloud-android/2.0.0',
+ [
+ Request::USER_AGENT_CLIENT_ANDROID
+ ],
+ true,
+ ],
+ [
+ 'Mozilla/5.0 (Android) Nextcloud-android/2.0.0',
+ [
+ Request::USER_AGENT_CLIENT_ANDROID
+ ],
+ true,
+ ],
];
}