Adds an extra check for Android Native app for playing podcasts (#7651)

This commit is contained in:
Fernando Valverde 2020-05-01 13:04:26 -06:00 committed by GitHub
parent ba0ebbafa8
commit 8f567524f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,7 +114,8 @@ function initializePodcastPlayback() {
return (
navigator.userAgent === 'DEV-Native-android' &&
typeof AndroidBridge !== 'undefined' &&
AndroidBridge !== null
AndroidBridge !== null &&
AndroidBridge.metadataPodcast !== undefined
);
}