Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Android WebView - Uncaught ReferenceError: TiApp is not defined

$
0
0

Hello,

I put a webview to open links. The links are generated by adfly that you have to wait 5 seconds and then they redirect to the original page. If the original page contains a pdf file, this error appears and the webview doesn't do anything.

My code (theoretically) when the url contains ".pdf", download the file and then open it with default app. But I can't do this because the link is never load.

The error is:

[INFO] : I/TiWebChromeClient.console: (main) [76,238923] Uncaught ReferenceError: TiApp is not defined (3:http://.....)

Please, help me.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>