feat: use native preview for pdf in mobile webview (#1728)
This commit is contained in:
@@ -34,7 +34,7 @@ const AndroidBackHandlerProvider = ({ application, children }: ProviderProps) =>
|
||||
|
||||
useEffect(() => {
|
||||
const removeListener = addAndroidBackHandler(() => {
|
||||
application.mobileDevice.confirmAndExit()
|
||||
application.mobileDevice().confirmAndExit()
|
||||
return true
|
||||
})
|
||||
return () => {
|
||||
|
||||
Reference in New Issue
Block a user