0% found this document useful (0 votes)
19 views625 pages

Logfile Previous

The log details the initialization process of the Vuforia View application, highlighting issues such as the inability to start the debugger and the absence of JIT profile information. It also notes the successful initialization of Firebase APIs and Crashlytics, as well as the loading of necessary libraries. Additionally, there are warnings about access denials for certain properties and slow operations during the app's splash screen phase.

Uploaded by

chagin011
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views625 pages

Logfile Previous

The log details the initialization process of the Vuforia View application, highlighting issues such as the inability to start the debugger and the absence of JIT profile information. It also notes the successful initialization of Firebase APIs and Crashlytics, as well as the loading of necessary libraries. Additionally, there are warnings about access denials for certain properties and slow operations during the app's splash screen phase.

Uploaded by

chagin011
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 625

--------- beginning of main

04-05 14:32:25.777 10638 10638 E ptc.vuforiavie: Not starting debugger since


process cannot load the jdwp agent.
04-05 14:32:25.831 10638 10638 W ptc.vuforiavie: JIT profile information will not
be recorded: profile file does not exist.
04-05 14:32:25.831 10638 10638 I chatty : uid=10403(com.ptc.vuforiaview) identical
1 line
04-05 14:32:25.831 10638 10638 W ptc.vuforiavie: JIT profile information will not
be recorded: profile file does not exist.
04-05 14:32:25.847 10638 10638 D NetworkSecurityConfig: Using Network Security
Config from resource network_security_config debugBuild: false
04-05 14:32:25.848 10638 10638 D NetworkSecurityConfig: Using Network Security
Config from resource network_security_config debugBuild: false
04-05 14:32:25.872 10638 10638 I FirebaseApp: Device unlocked: initializing all
Firebase APIs for app [DEFAULT]
04-05 14:32:25.878 10638 10638 I FirebaseCrashlytics: Initializing Firebase
Crashlytics 18.2.6 for com.ptc.vuforiaview
04-05 14:32:25.890 10638 10671 I DynamiteModule: Considering local module
com.google.android.gms.measurement.dynamite:55 and remote module
com.google.android.gms.measurement.dynamite:67
04-05 14:32:25.890 10638 10671 I DynamiteModule: Selected remote version of
com.google.android.gms.measurement.dynamite, version >= 67
04-05 14:32:25.890 10638 10671 V DynamiteModule: Dynamite loader version >= 2,
using loadModule2NoCrashUtils
04-05 14:32:25.899 10638 10638 I FirebaseInitProvider: FirebaseApp initialization
successful
04-05 14:32:25.901 10638 10677 I System.out: [okhttp]:check permission begin!
04-05 14:32:25.901 10638 10677 W System : ClassLoader referenced unknown path:
system/framework/mediatek-cta.jar
04-05 14:32:25.901 10638 10677 I System.out: [okhttp]
e:java.lang.ClassNotFoundException: com.mediatek.cta.CtaUtils
04-05 14:32:25.908 10638 10675 D libcrashlytics: Initializing libcrashlytics
version 3.2.0
04-05 14:32:25.913 10638 10682 I System.out: [okhttp]:check permission begin!
04-05 14:32:25.913 10638 10682 I System.out: [okhttp]:not MMS!
04-05 14:32:25.913 10638 10682 I System.out: [okhttp]:not Email!
04-05 14:32:25.914 10638 10675 D libcrashlytics: Initializing native crash handling
successful.
04-05 14:32:25.938 10638 10677 I System.out: [socket]:check permission begin!
04-05 14:32:25.938 10638 10677 W System : ClassLoader referenced unknown path:
system/framework/mediatek-cta.jar
04-05 14:32:25.939 10638 10677 I System.out: [socket]
e:java.lang.ClassNotFoundException: com.mediatek.cta.CtaUtils
04-05 14:32:25.939 10638 10682 I System.out: [socket]:check permission begin!
04-05 14:32:25.986 10638 10698 I FA : App measurement initialized, version:
58022
04-05 14:32:25.986 10638 10698 I FA : To enable debug logging run: adb shell
setprop log.tag.FA VERBOSE
04-05 14:32:25.986 10638 10698 I FA : To enable faster debug mode event
logging run:
04-05 14:32:25.986 10638 10698 I FA : adb shell setprop
debug.firebase.analytics.app com.ptc.vuforiaview
04-05 14:32:25.996 10638 10638 I TGX_Application: Overall log level set to 4
04-05 14:32:25.997 10638 10638 I TGX_Application: Android Build: RP1A.200720.011
04-05 14:32:25.997 10638 10638 I TGX_Application: HW Manufacturer: Xiaomi
04-05 14:32:25.997 10638 10638 I TGX_Application: HW Model: Redmi Note 8 Pro
04-05 14:32:25.997 10638 10638 I TGX_Application: Supported ABIs: [arm64-v8a,
armeabi-v7a, armeabi]
04-05 14:32:25.997 10638 10638 I TGX_Application: Build Type: release
04-05 14:32:25.997 10638 10638 I TGX_Application: Build Flavor: genuine
04-05 14:32:25.999 10638 10638 I TGX_Application: OpenGL ES Version: 3.2
04-05 14:32:26.000 10638 10638 I TGX_Application: ARCore Version: 1.30.220390123
04-05 14:32:26.000 10638 10638 I TGX_Application: Locales: [ru_RU]
04-05 14:32:26.001 10638 10700 D MediaScannerConnection: Scanned
/storage/emulated/0/Documents/Vuforia View/logfile-previous.txt to
content://media/external_primary/file/40360
04-05 14:32:26.001 10638 10638 I TGX_Application: Android Version: 11
04-05 14:32:26.001 10638 10702 I TGX_Application: TimeZone: Europe/Moscow (Moscow
Standard Time, offset: +3)
04-05 14:32:26.001 10638 10638 I TGX_Application: Application Version: 9.3.2.2749
04-05 14:32:26.005 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:26.007 10638 10638 D View : com.ptc.vuforiaview
initForcedUseForceDark: 1
04-05 14:32:26.016 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:26.031 10638 10638 I TGX_Application: Feature Flags: []
04-05 14:32:26.032 10638 10700 D MediaScannerConnection: Scanned
/storage/emulated/0/Documents/Vuforia View/logfile.txt to
content://media/external_primary/file/40367
04-05 14:32:26.033 10638 10698 I FA : Tag Manager is not found and thus will
not be used
04-05 14:32:26.047 10638 10638 D AnalyticsSDK: Data is not detected to be dev or qa
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: Event is valid
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: Message that has been sent to
https://usageservice.prod.vuforia.com/v3/metric or stored if offline: {
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "application": {
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "name": "Vuforia View",
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "version": "9.3.2.2749"
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: },
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "custom": {
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "applicationLaunchUUID":
"36cf2f46-af33-4ca8-af00-4d15c76b758f"
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: },
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "device": {
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "id": "65ecdd80-e96d-45e3-
8dec-98d6f18bf35f",
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "model": "Xiaomi Redmi Note
8 Pro",
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "version": "1.0.0"
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: },
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "event": {
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "result": "success",
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "timestamp": "2022-04-
05T11:32:26Z",
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "type": "Application
Launch",
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "version": "1.0.0"
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: },
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "os": {
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "locale": "ru-RU",
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "name": "Android",
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: "version": "30"
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: }
04-05 14:32:26.059 10638 10638 D AnalyticsSDK: }
04-05 14:32:26.070 10638 10638 I TetheringManager:
registerTetheringEventCallback:com.ptc.vuforiaview
04-05 14:32:26.072 10638 10682 I System.out: [OkHttp] sendRequest>>
04-05 14:32:26.072 10638 10682 I System.out: [OkHttp] sendRequest<<
04-05 14:32:26.080 10638 10745 D libMEOW : meow reload base cfg path: na
04-05 14:32:26.080 10638 10745 D libMEOW : meow reload overlay cfg path:
/vendor/etc/meow.cfg
04-05 14:32:26.081 10638 10745 D libMEOW : applied 1 plugins for
[com.ptc.vuforiaview]:
04-05 14:32:26.081 10638 10745 D libMEOW : plugin 1: [libMEOW_gift.so]:
04-05 14:32:26.081 10638 10677 I System.out: [OkHttp] sendRequest>>
04-05 14:32:26.081 10638 10677 I System.out: [OkHttp] sendRequest<<
04-05 14:32:26.085 10638 10740 I System.out: [okhttp]:check permission begin!
04-05 14:32:26.085 10638 10740 I System.out: [okhttp]:not MMS!
04-05 14:32:26.085 10638 10740 I System.out: [okhttp]:not Email!
04-05 14:32:26.087 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:26.087 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:26.088 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:32:26.088 10638 10638 D DecorView: createDecorCaptionView windowingMode:1
mWindowMode 1 isFullscreen: true
04-05 14:32:26.173 10638 10740 I System.out: [socket]:check permission begin!
--------- beginning of system
04-05 14:32:26.333 10638 10638 W Activity: Slow Operation: Activity
com.ptc.vuforiaview/com.ptc.thingbrowser.SplashScreen onResume took 242ms
04-05 14:32:26.335 10638 10638 I SurfaceFactory: [static] sSurfaceFactory =
com.mediatek.view.impl.SurfaceFactoryImpl@cf04333
04-05 14:32:26.347 10638 10638 D ViewRootImpl[SplashScreen]: hardware acceleration
= true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated =
false, sSystemRendererDisabled = false
04-05 14:32:26.348 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:32:26.387 10638 10795 I TGXLibLoader: Library libVuforiaEngine.so loaded.
04-05 14:32:26.387 10638 10638 D libMEOW : applied 1 plugins for
[com.ptc.vuforiaview]:
04-05 14:32:26.387 10638 10638 D libMEOW : plugin 1: [libMEOW_gift.so]:
04-05 14:32:26.612 10638 10795 I TGXLibLoader: Library libTGXEngine.so loaded.
04-05 14:32:26.612 10638 10638 I InputTransport: Create ARC handle:
0xb400007c4502fda0
04-05 14:32:26.612 10638 10638 V PhoneWindow: DecorView setVisiblity: visibility =
0, Parent = android.view.ViewRootImpl@9cc1f9e, this =
DecorView@fbfca7f[SplashScreen]
04-05 14:32:26.613 10638 10638 W Looper : PerfMonitor looperActivity :
package=com.ptc.vuforiaview/com.ptc.thingbrowser.SplashScreen time=0ms
latency=814ms running=0ms procState=2
ClientTransaction{ callbacks=[android.app.servertransaction.TopResumedActivityChang
eItem] } historyMsgCount=2 (msgIndex=1 wall=279ms seq=2 running=120ms runnable=12ms
io=34ms late=1ms h=android.app.ActivityThread$H w=110) (msgIndex=2 wall=541ms seq=3
running=28ms runnable=5ms late=273ms h=android.app.ActivityThread$H w=159)
04-05 14:32:26.625 10638 10743 D libMEOW : applied 1 plugins for
[com.ptc.vuforiaview]:
04-05 14:32:26.625 10638 10743 D libMEOW : plugin 1: [libMEOW_gift.so]:
04-05 14:32:26.633 10638 10743 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:32:26.633 10638 10743 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:32:26.633 10638 10743 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:32:26.633 10638 10743 I libMEOW_gift: ctx:0xb400007bdcec8ee8, ARC not
Enabled.
04-05 14:32:26.649 10638 10743 E ion : ioctl c0044901 failed with code -1:
Invalid argument
04-05 14:32:26.736 10638 10740 I System.out: [OkHttp] sendRequest>>
04-05 14:32:26.736 10638 10740 I System.out: [OkHttp] sendRequest<<
04-05 14:32:26.892 10638 10740 I System.out: [okhttp]:check permission begin!
04-05 14:32:26.893 10638 10740 I System.out: [okhttp]:not MMS!
04-05 14:32:26.893 10638 10740 I System.out: [okhttp]:not Email!
04-05 14:32:26.935 10638 10740 I System.out: [socket]:check permission begin!
04-05 14:32:28.334 10638 10638 I Timeline: Timeline: Activity_launch_request
time:192982943
04-05 14:32:28.352 10638 10847 D libMEOW : applied 1 plugins for
[com.ptc.vuforiaview]:
04-05 14:32:28.352 10638 10847 D libMEOW : plugin 1: [libMEOW_gift.so]:
04-05 14:32:28.354 10638 10638 I CordovaLog: Changing log level to DEBUG(3)
04-05 14:32:28.354 10638 10638 I CordovaActivity: Apache Cordova native platform
version 8.0.0 is starting
04-05 14:32:28.354 10638 10638 D CordovaActivity: CordovaActivity.onCreate()
04-05 14:32:28.355 10638 10848 I TGX : TGXCordovaPluginActivity: Vuforia SDK:
10.4.4+10014
04-05 14:32:28.367 10638 10638 I WebViewFactory: Loading com.google.android.webview
version 99.0.4844.88 (code 484408833)
04-05 14:32:28.367 10638 10848 I TGX : TGXCordovaPluginActivity: Spatial
tracking supported according to saved preferences
04-05 14:32:28.393 10638 10638 I cr_WVCFactoryProvider: Loaded version=99.0.4844.88
minSdkVersion=29 isBundle=true multiprocess=true packageId=2
04-05 14:32:28.408 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.409 10638 10638 I cr_LibraryLoader: Successfully loaded native
library
04-05 14:32:28.410 10638 10638 I cr_CachingUmaRecorder: Flushed 9 samples from 9
histograms.
04-05 14:32:28.511 10638 10638 D EgretLoader: EgretLoader(Context context)
04-05 14:32:28.513 10638 10638 D EgretLoader: The context is not activity
04-05 14:32:28.516 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:32:28.516 10638 10638 D DecorView: createDecorCaptionView windowingMode:1
mWindowMode 1 isFullscreen: true
04-05 14:32:28.519 10638 10638 D SystemWebViewEngine: CordovaWebView is running on
device made by: Xiaomi
04-05 14:32:28.521 10638 10638 D PluginManager: init()
04-05 14:32:28.540 10638 10638 I TGX : TGXCordovaPluginActivity: User-Agent:
Mozilla/5.0 (Linux; Android 11; Redmi Note 8 Pro Build/RP1A.200720.011; wv)
AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/99.0.4844.88 Mobile
Safari/537.36 VuforiaView/9.3.2.2749 (Redmi Note 8 Pro; 11)
04-05 14:32:28.547 10638 10638 D AudioTrack: INSP:
type=audio,case=1,set=0xb400007bdd544200,stream_type=-
1,sample_rate=0,format=0x1,channel_mask=0x1,frame_count=960,flags=0x4,notification_
frames=0,session_id=0,transfer_type=1,uid=-1,pid=-1
04-05 14:32:28.547 10638 10638 D AudioTrack: INSP:
type=audio,case=1,attributes=1,content_type=0,usage=5,source=0,flags=0x0
04-05 14:32:28.547 10638 10638 D AudioTrack: set(sessionID=0)
04-05 14:32:28.547 10638 10638 D AudioTrack: set(): Building AudioTrack with
attributes: usage = 5, content = 0, flags = 0x0, tags = []
04-05 14:32:28.547 10638 10638 D AudioTrack: set(): 0xb400007bdd544200, Create
AudioTrackThread, tid = 10931
04-05 14:32:28.552 10638 10638 I AudioTrack: createTrack_l(0):
AUDIO_OUTPUT_FLAG_FAST successful; frameCount 960 -> 960
04-05 14:32:28.552 10638 10638 D AudioTrack: checkWhiteListPackage() Uid 10403,
package name com.ptc.vuforiaview
04-05 14:32:28.553 10638 10638 D AudioTrack: createTrack_l(3216):
0xb400007bdd544200, mCblk = 0x7ba40cb000, mLatency = 62, mAfLatency = 42,
frameCount = 960, mSampleRate = 48000, mFlags = 0x4, mReqFrameCount = 960,
mNotificationFramesAct = 256
04-05 14:32:28.553 10638 10638 D AudioTrack: createTrack_l() isReduceVolume 0
04-05 14:32:28.553 10638 10638 D AudioTrack: setVolume(3216): 0xb400007bdd544200,
left = 1.000000, right = 1.000000
04-05 14:32:28.553 10638 10638 D AudioTrack: setVolume() isReduceVolume, 0
04-05 14:32:28.559 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.573 10638 10638 I chatty : uid=10403(com.ptc.vuforiaview) identical
10 lines
04-05 14:32:28.578 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.579 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.583 10638 10638 I chatty : uid=10403(com.ptc.vuforiaview) identical
3 lines
04-05 14:32:28.584 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.598 10638 10638 I ExoPlayerImpl: Init 51d74a8 [ExoPlayerLib/2.16.1]
[begonia, Redmi Note 8 Pro, Xiaomi, 30]
04-05 14:32:28.601 10638 10638 E libc : Access denied finding property
"vendor.displayfeature_hidl"
04-05 14:32:28.601 10638 10638 E libc : Access denied finding property
"ro.vendor.df.effect.conflict"
04-05 14:32:28.601 10638 10638 E libc : Access denied finding property
"ro.vendor.knock.type"
04-05 14:32:28.606 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.607 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.613 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.615 10638 10638 I chatty : uid=10403(com.ptc.vuforiaview) identical
2 lines
04-05 14:32:28.615 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.618 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.627 10638 10638 I chatty : uid=10403(com.ptc.vuforiaview) identical
13 lines
04-05 14:32:28.628 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.629 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.636 10638 10638 I chatty : uid=10403(com.ptc.vuforiaview) identical
1 line
04-05 14:32:28.636 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.643 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.644 10638 10638 I chatty : uid=10403(com.ptc.vuforiaview) identical
1 line
04-05 14:32:28.644 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.646 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.659 10638 10638 I chatty : uid=10403(com.ptc.vuforiaview) identical
14 lines
04-05 14:32:28.659 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.664 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.665 10638 10938 I TGXIdentityRequestTask: TGXIdentityRequestTask
starting on thread 91262 (ExperienceListLoader-1) for
https://gallery.vuforia.io/ExperienceService/id-resolution/resolutions?
key=urn:vuforia:nokey&resourcetype=Experience&wNdp=392 ...
04-05 14:32:28.666 10638 10938 I TGXIdentityRequestTask: TGXIdentityRequestTask
full request URL:
https://gallery.vuforia.io/ExperienceService/id-resolution/resolutions?
key=urn:vuforia:nokey&resourcetype=Experience&wNdp=392&aspect=spatial-tracking
04-05 14:32:28.668 10638 10940 I TGXIdentityRequestTask: TGXIdentityRequestTask
starting on thread 91264 (ExperienceListLoader-1) for
http://192.168.1.32:2019/ExperienceService/id-resolution/resolutions?
key=urn:vuforia:nokey&resourcetype=Experience&wNdp=392 ...
04-05 14:32:28.668 10638 10940 I TGXIdentityRequestTask: TGXIdentityRequestTask
full request URL:
http://192.168.1.32:2019/ExperienceService/id-resolution/resolutions?
key=urn:vuforia:nokey&resourcetype=Experience&wNdp=392&aspect=spatial-tracking
04-05 14:32:28.669 10638 10638 D CordovaActivity: Started the activity.
04-05 14:32:28.670 10638 10638 D CordovaActivity: Resumed the activity.
04-05 14:32:28.671 10638 10939 I System.out: [okhttp]:check permission begin!
04-05 14:32:28.671 10638 10939 I System.out: [okhttp]:not MMS!
04-05 14:32:28.671 10638 10939 I System.out: [okhttp]:not Email!
04-05 14:32:28.673 10638 10941 I System.out: [okhttp]:check permission begin!
04-05 14:32:28.673 10638 10941 I System.out: [okhttp]:not MMS!
04-05 14:32:28.673 10638 10941 I System.out: [okhttp]:not Email!
04-05 14:32:28.673 10638 10941 I System.out: [socket]:check permission begin!
04-05 14:32:28.676 10638 10738 I TGX : UniversalLinkStatusManager: Unable to
reach universal link server https://view.vuforia.com/command/ping
04-05 14:32:28.676 10638 10738 I TGX : java.io.InterruptedIOException: Thread
interrupted while waiting for HttpURLConnection.getResponseCode() result
04-05 14:32:28.676 10638 10738 I TGX : at
com.ptc.thingx.cordova.plugin.core.TGXUtils.getResponseCode(TGXUtils.java:438)
04-05 14:32:28.676 10638 10738 I TGX : at
com.ptc.thingbrowser.UniversalLinkStatusManager.lambda$checkUniversalLinkAvailabili
ty$0$com-ptc-thingbrowser-
UniversalLinkStatusManager(UniversalLinkStatusManager.java:78)
04-05 14:32:28.676 10638 10738 I TGX : at
com.ptc.thingbrowser.UniversalLinkStatusManager$
$ExternalSyntheticLambda0.run(Unknown Source:2)
04-05 14:32:28.676 10638 10738 I TGX : at
java.lang.Thread.run(Thread.java:923)
04-05 14:32:28.676 10638 10738 I TGX : Caused by:
java.lang.InterruptedException
04-05 14:32:28.676 10638 10738 I TGX : at
java.util.concurrent.FutureTask.awaitDone(FutureTask.java:420)
04-05 14:32:28.676 10638 10738 I TGX : at
java.util.concurrent.FutureTask.get(FutureTask.java:192)
04-05 14:32:28.676 10638 10738 I TGX : at
com.ptc.thingx.cordova.plugin.core.TGXUtils.getResponseCode(TGXUtils.java:433)
04-05 14:32:28.676 10638 10738 I TGX : ... 3 more
04-05 14:32:28.678 10638 10944 I System.out: [okhttp]:check permission begin!
04-05 14:32:28.678 10638 10944 I System.out: [okhttp]:not MMS!
04-05 14:32:28.678 10638 10944 I System.out: [okhttp]:not Email!
04-05 14:32:28.679 10638 10944 I System.out: [OkHttp] sendRequest>>
04-05 14:32:28.679 10638 10944 I System.out: [OkHttp] sendRequest<<
04-05 14:32:28.681 10638 10946 D libMEOW : applied 1 plugins for
[com.ptc.vuforiaview]:
04-05 14:32:28.681 10638 10946 D libMEOW : plugin 1: [libMEOW_gift.so]:
04-05 14:32:28.684 10638 10946 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:32:28.684 10638 10946 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:32:28.684 10638 10946 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:32:28.684 10638 10946 I libMEOW_gift: ctx:0xb400007bdd333dd8, ARC not
Enabled.
04-05 14:32:28.685 10638 10891 W cr_media: Requires BLUETOOTH permission
04-05 14:32:28.689 10638 10638 V PhoneWindow: DecorView setVisiblity: visibility =
4, Parent = null, this = DecorView@7687baf[]
04-05 14:32:28.691 10638 10638 D ViewRootImpl[MainActivity]: hardware acceleration
= true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated =
false, sSystemRendererDisabled = false
04-05 14:32:28.691 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:32:28.696 10638 10638 I InputTransport: Create ARC handle:
0xb400007bddb13d80
04-05 14:32:28.696 10638 10638 V PhoneWindow: DecorView setVisiblity: visibility =
0, Parent = android.view.ViewRootImpl@1299d23, this =
DecorView@7687baf[MainActivity]
04-05 14:32:28.698 10638 10890 E chromium: [ERROR:simple_index_file_posix.cc(36)]
opendir /data/user/0/com.ptc.vuforiaview/cache/WebView/Default/HTTP Cache/Code
Cache/js: No such file or directory (2)
04-05 14:32:28.698 10638 10890 E chromium: [ERROR:simple_index_file.cc(575)] Could
not reconstruct index from disk
04-05 14:32:28.698 10638 10883 E chromium: [ERROR:simple_index_file_posix.cc(36)]
opendir /data/user/0/com.ptc.vuforiaview/cache/WebView/Default/HTTP Cache/Code
Cache/wasm: No such file or directory (2)
04-05 14:32:28.698 10638 10883 E chromium: [ERROR:simple_index_file.cc(575)] Could
not reconstruct index from disk
04-05 14:32:28.703 10638 10946 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:32:28.703 10638 10946 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:32:28.703 10638 10946 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:32:28.703 10638 10946 I libMEOW_gift: ctx:0xb400007bdd333dd8, ARC not
Enabled.
04-05 14:32:28.703 10638 10638 W Looper : PerfMonitor looperActivity :
package=com.ptc.vuforiaview/com.ptc.thingbrowser.MainActivity time=0ms
latency=355ms running=0ms procState=2
ClientTransaction{ callbacks=[android.app.servertransaction.TopResumedActivityChang
eItem] } historyMsgCount=4 (msgIndex=2 wall=346ms seq=44 running=253ms runnable=5ms
io=15ms late=2ms h=android.app.ActivityThread$H w=159)
04-05 14:32:28.726 10638 10638 D CompatibilityChangeReporter: Compat change id
reported: 147600208; UID 10403; state: ENABLED
04-05 14:32:28.740 10638 10638 W ContentCatcher: Failed to notify a WebView
04-05 14:32:28.819 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.820 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.827 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:28.836 10638 10638 D CordovaWebViewImpl:
onPageDidNavigate(file:///android_asset/www/ScanningExperience/index.html)
04-05 14:32:28.841 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:32:28.846 10638 10939 I System.out: [socket]:check permission begin!
04-05 14:32:28.847 10638 10944 I System.out: [okhttp]:check permission begin!
04-05 14:32:28.847 10638 10944 I System.out: [okhttp]:not MMS!
04-05 14:32:28.847 10638 10944 I System.out: [okhttp]:not Email!
04-05 14:32:28.847 10638 10944 I System.out: [socket]:check permission begin!
04-05 14:32:29.055 10638 10638 D CordovaWebViewImpl:
onPageFinished(file:///android_asset/www/ScanningExperience/index.html)
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: >>>
loadUrl(javascript:setTimeout(function(){
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /*
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: Licensed to the Apache
Software Foundation (ASF) under one
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: or more contributor license
agreements. See the NOTICE file
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: distributed with this work
for additional information
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: regarding copyright
ownership. The ASF licenses this file
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: to you under the Apache
License, Version 2.0 (the
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: "License"); you may not use
this file except in compliance
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: with the License. You may
obtain a copy of the License at
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: http:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: Unless required by applicable
law or agreed to in writing,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: software distributed under
the License is distributed on an
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: KIND, either express or
implied. See the License for the
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: specific language governing
permissions and limitations
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: under the License.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: ;(function() {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var
PLATFORM_VERSION_BUILD_LABEL = '8.0.0';
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var require;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var define;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: (function () {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var modules = {};
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var requireStack = [];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var inProgressModules =
{};
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var SEPARATOR = '.';
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: function build (module) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var factory =
module.factory;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var localRequire =
function (id) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var resultantId =
id;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (id.charAt(0)
=== '.') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: resultantId =
module.id.slice(0, module.id.lastIndexOf(SEPARATOR)) + SEPARATOR + id.slice(2);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return
require(resultantId);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: module.exports = {};
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: delete module.factory;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: factory(localRequire,
module.exports, module);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return module.exports;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: require = function (id) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (!modules[id]) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' not found';
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else if (id in
inProgressModules) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var cycle =
requireStack.slice(inProgressModules[id]).join('->') + '->' + id;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: throw 'Cycle in
require graph: ' + cycle;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if
(modules[id].factory) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
inProgressModules[id] = requireStack.length;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
requireStack.push(id);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return
build(modules[id]);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: delete
inProgressModules[id];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
requireStack.pop();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return
modules[id].exports;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: define = function (id,
factory) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (modules[id]) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' already defined';
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: modules[id] = {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: id: id,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: factory: factory
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: define.remove = function
(id) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: delete modules[id];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: define.moduleMap =
modules;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: })();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeof module === 'object'
&& typeof require === 'function') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: module.exports.require =
require;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: module.exports.define =
define;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: define("cordova",
function(require, exports, module) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (window.cordova && !
(window.cordova instanceof HTMLElement)) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: throw new Error('cordova
already defined');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Intercept calls to
addEventListener + removeEventListener and handle deviceready,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * resume, and pause events.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var
m_document_addEventListener = document.addEventListener;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var
m_document_removeEventListener = document.removeEventListener;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var m_window_addEventListener
= window.addEventListener;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var
m_window_removeEventListener = window.removeEventListener;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Houses custom event
handlers to intercept on document + window event listeners.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var documentEventHandlers =
{};
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var windowEventHandlers = {};
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: document.addEventListener =
function (evt, handler, capture) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].subscribe(handler);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
m_document_addEventListener.call(document, evt, handler, capture);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: window.addEventListener =
function (evt, handler, capture) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].subscribe(handler);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
m_window_addEventListener.call(window, evt, handler, capture);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: document.removeEventListener =
function (evt, handler, capture) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].unsubscribe(handler);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
m_document_removeEventListener.call(document, evt, handler, capture);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: window.removeEventListener =
function (evt, handler, capture) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].unsubscribe(handler);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
m_window_removeEventListener.call(window, evt, handler, capture);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: function createEvent (type,
data) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var event =
document.createEvent('Events');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: event.initEvent(type,
false, false);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (data) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: for (var i in data) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if
(data.hasOwnProperty(i)) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: event[i] =
data[i];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return event;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-undef */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var cordova = {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: define: define,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: require: require,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: version:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: platformVersion:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: platformId: platform.id,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-undef
*/
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Methods to add/remove
your own addEventListener hijacking on document + window.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: addWindowEventHandler:
function (event) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return
(windowEventHandlers[event] = channel.create(event));
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
addStickyDocumentEventHandler: function (event) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.createSticky(event));
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: addDocumentEventHandler:
function (event) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.create(event));
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: removeWindowEventHandler:
function (event) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: delete
windowEventHandlers[event];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
removeDocumentEventHandler: function (event) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: delete
documentEventHandlers[event];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Retrieve original event
handlers that were replaced by Cordova
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * @return object
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: getOriginalHandlers:
function () {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return {'document':
{'addEventListener': m_document_addEventListener, 'removeEventListener':
m_document_removeEventListener},
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: 'window':
{'addEventListener': m_window_addEventListener, 'removeEventListener':
m_window_removeEventListener}};
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Method to fire event
from native code
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * bNoDetach is required
for events which cause an exception which needs to be caught in native code
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: fireDocumentEvent:
function (type, data, bNoDetach) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[type] !== 'undefined') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (bNoDetach) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (type
=== 'deviceready') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: fireWindowEvent: function
(type, data) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[type] !== 'undefined') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[type].fire(evt);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
window.dispatchEvent(evt);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Plugin callback
mechanism.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: callbackId:
Math.floor(Math.random() * 2000000000),
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: callbacks: {},
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: callbackStatus: {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: NO_RESULT: 0,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: OK: 1,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
CLASS_NOT_FOUND_EXCEPTION: 2,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
ILLEGAL_ACCESS_EXCEPTION: 3,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
INSTANTIATION_EXCEPTION: 4,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
MALFORMED_URL_EXCEPTION: 5,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: IO_EXCEPTION: 6,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: INVALID_ACTION: 7,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: JSON_EXCEPTION: 8,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: ERROR: 9
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning successful result from an action.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: callbackSuccess: function
(callbackId, args) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, true, args.status, [args.message],
args.keepCallback);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning error result from an action.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: callbackError: function
(callbackId, args) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, false, args.status, [args.message],
args.keepCallback);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning the result from an action.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: callbackFromNative:
function (callbackId, isSuccess, status, args, keepCallback) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var callback =
cordova.callbacks[callbackId];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (callback) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (isSuccess
&& status === cordova.callbackStatus.OK) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
callback.success && callback.success.apply(null, args);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else if (!
isSuccess) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
callback.fail && callback.fail.apply(null, args);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /*
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: else
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: Note, this
case is intentionally not caught.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: this can
happen if isSuccess is true, but callbackStatus is NO_RESULT
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: which is
used to remove a callback from the list without calling the callbacks
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: typically
keepCallback is false in this case
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (!
keepCallback) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: delete
cordova.callbacks[callbackId];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } catch (err) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var msg = 'Error
in ' + (isSuccess ? 'Success' : 'Error') + ' callbackId: ' + callbackId + ' : ' +
err;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: console &&
console.log && console.log(msg);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: console &&
console.log && err.stack && console.log(err.stack);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent('cordovacallbackerror', { 'message': msg });
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: throw err;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: addConstructor: function
(func) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function () {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: func();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
console.log('Failed to run constructor: ' + e);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: module.exports = cordova;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
define("cordova/android/nativeapiprovider", function(require, exports, module) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Exports the
ExposedJsApi.java object if available, otherwise exports the PromptBasedNativeApi.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var nativeApi =
this._cordovaNative || require('cordova/android/promptbasednativeapi');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var currentApi = nativeApi;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: get: function() { return
currentApi; },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: setPreferPrompt:
function(value) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: currentApi = value ?
require('cordova/android/promptbasednativeapi') : nativeApi;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: set: function(value) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: currentApi = value;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
define("cordova/android/promptbasednativeapi", function(require, exports, module) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Implements the API of
ExposedJsApi.java, but uses prompt() to communicate.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * This is used pre-JellyBean,
where addJavascriptInterface() is disabled.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: exec:
function(bridgeSecret, service, action, callbackId, argsJson) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return
prompt(argsJson, 'gap:'+JSON.stringify([bridgeSecret, service, action,
callbackId]));
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: setNativeToJsBridgeMode:
function(bridgeSecret, value) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: prompt(value,
'gap_bridge_mode:' + bridgeSecret);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: retrieveJsMessages:
function(bridgeSecret, fromOnlineEvent) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return
prompt(+fromOnlineEvent, 'gap_poll:' + bridgeSecret);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: define("cordova/argscheck",
function(require, exports, module) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var moduleExports =
module.exports;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var typeMap = {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: 'A': 'Array',
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: 'D': 'Date',
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: 'N': 'Number',
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: 'S': 'String',
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: 'F': 'Function',
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: 'O': 'Object'
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: function extractParamName
(callee, argIndex) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return (/.*?\
((.*?)\)/).exec(callee)[1].split(', ')[argIndex];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: function checkArgs (spec,
functionName, args, opt_callee) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (!
moduleExports.enableChecks) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var errMsg = null;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var typeName;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
spec.length; ++i) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var c =
spec.charAt(i);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var cUpper =
c.toUpperCase();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var arg = args[i];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (c === '*') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: typeName =
utils.typeName(arg);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if ((arg === null ||
arg === undefined) && c === cUpper) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeName !==
typeMap[cUpper]) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: errMsg = 'Expected
' + typeMap[cUpper];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: break;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (errMsg) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: errMsg += ', but got '
+ typeName + '.';
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: errMsg = 'Wrong type
for parameter "' + extractParamName(opt_callee || args.callee, i) + '" of ' +
functionName + ': ' + errMsg;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeof jasmine ===
'undefined') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
console.error(errMsg);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: throw
TypeError(errMsg);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: function getValue (value,
defaultValue) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return value === undefined
? defaultValue : value;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: moduleExports.checkArgs =
checkArgs;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: moduleExports.getValue =
getValue;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: moduleExports.enableChecks =
true;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: define("cordova/base64",
function(require, exports, module) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var base64 = exports;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: base64.fromArrayBuffer =
function (arrayBuffer) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return
uint8ToBase64(array);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: base64.toArrayBuffer =
function (str) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var decodedStr = typeof
atob !== 'undefined' ? atob(str) : Buffer.from(str, 'base64').toString('binary');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var arrayBuffer = new
ArrayBuffer(decodedStr.length);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
decodedStr.length; i < len; i++) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: array[i] =
decodedStr.charCodeAt(i);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return arrayBuffer;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /* This code is based on the
performance tests at http:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * This 12-bit-at-a-time
algorithm was the best performing version on all
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * platforms tested.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var b64_6bit =
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var b64_12bit;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var b64_12bitTable = function
() {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: b64_12bit = [];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < 64; i+
+) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
64; j++) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: b64_12bit[i * 64 +
j] = b64_6bit[i] + b64_6bit[j];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: b64_12bitTable = function
() { return b64_12bit; };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return b64_12bit;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: function uint8ToBase64
(rawData) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var numBytes =
rawData.byteLength;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var output = '';
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var segment;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var table =
b64_12bitTable();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
numBytes - 2; i += 3) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8) + rawData[i + 2];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: output +=
table[segment & 0xfff];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (numBytes - i === 2) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: output +=
b64_6bit[(segment & 0xfff) >> 6];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: output += '=';
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else if (numBytes - i
=== 1) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: output += '==';
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return output;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: define("cordova/builder",
function(require, exports, module) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: function each (objects, func,
context) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: for (var prop in objects)
{
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if
(objects.hasOwnProperty(prop)) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
func.apply(context, [objects[prop], prop]);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: function clobber (obj, key,
value) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
exports.replaceHookForTesting(obj, key);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var needsProperty = false;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: obj[key] = value;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: needsProperty = true;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (needsProperty ||
obj[key] !== value) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: function
assignOrWrapInDeprecateGetter (obj, key, value, message) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (message) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
console.log(message);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: delete obj[key];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: function include (parent,
objects, clobber, merge) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: each(objects, function
(obj, key) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var result =
obj.path ? require(obj.path) : {};
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (clobber) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else if
(typeof obj.path !== 'undefined') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (merge)
{
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
recursiveMerge(parent[key], result);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (obj.children)
{
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
include(result, obj.children, clobber, merge);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
utils.alert('Exception building Cordova JS globals: ' + e + ' for key "' + key +
'"');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Merge properties from one
object onto another recursively. Properties from
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * the src object will
overwrite existing target property.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * @param target Object to
merge properties into.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * @param src Object to merge
properties from.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: function recursiveMerge
(target, src) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: for (var prop in src) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if
(src.hasOwnProperty(prop)) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if
(target.prototype && target.prototype.constructor === target) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
clobber(target.prototype, prop, src[prop]);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeof
src[prop] === 'object' && typeof target[prop] === 'object') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
recursiveMerge(target[prop], src[prop]);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
clobber(target, prop, src[prop]);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
exports.buildIntoButDoNotClobber = function (objects, target) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: include(target, objects,
false, false);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndClobber =
function (objects, target) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, false);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndMerge =
function (objects, target) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, true);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: exports.recursiveMerge =
recursiveMerge;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
exports.assignOrWrapInDeprecateGetter = assignOrWrapInDeprecateGetter;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: exports.replaceHookForTesting
= function () {};
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: define("cordova/channel",
function(require, exports, module) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var nextGuid = 1;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Custom pub-sub "channel"
that can have functions subscribed to it
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * This object is used to
define and control firing of events for
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * cordova initialization, as
well as for custom events thereafter.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * The order of events during
page load and Cordova startup is as follows:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * onDOMContentLoaded*
Internal event that is received when the web page is loaded and parsed.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * onNativeReady*
Internal event that indicates the Cordova native side is ready.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * onCordovaReady*
Internal event fired when all Cordova JavaScript objects have been created.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * onDeviceReady*
User event fired to indicate that Cordova is ready
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * onResume
User event fired to indicate a start/resume lifecycle event
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * onPause
User event fired to indicate a pause lifecycle event
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * The events marked with an *
are sticky. Once they have fired, they will stay in the fired state.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * All listeners that
subscribe after the event is fired will be executed right away.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * The only Cordova events
that user code should register for are:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * deviceready
Cordova native code is initialized and Cordova APIs can be called from JavaScript
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * pause
App has moved to background
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * resume
App has returned to foreground
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Listeners can be registered
as:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("deviceready", myDeviceReadyListener, false);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("resume", myResumeListener, false);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("pause", myPauseListener, false);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * The DOM lifecycle events
should be used for saving and restoring state
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * window.onload
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * window.onunload
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Channel
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * @constructor
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * @param type String the
channel name
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var Channel = function (type,
sticky) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: this.type = type;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: this.handlers = {};
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: this.state = sticky ? 1 :
0;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: this.fireArgs = null;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: this.numHandlers = 0;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange = null;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var channel = {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Calls the provided
function only after all of the channels specified
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * have been fired. All
channels must be sticky channels.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: join: function (h, c) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var len = c.length;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var i = len;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var f = function () {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (!(--i)) h();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
len; j++) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (c[j].state ===
0) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: throw
Error('Can only use join with sticky channels.');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: c[j].subscribe(f);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (!len) h();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-
return-assign */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: create: function (type) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, false);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: createSticky: function
(type) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, true);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-
return-assign */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * cordova Channels that
must fire before "deviceready" is fired.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsArray:
[],
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsMap:
{},
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Indicate that a feature
needs to be initialized before it is ready to be used.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * This holds up Cordova's
"deviceready" event until the feature has been initialized
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * and
Cordova.initComplete(feature) is called.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: waitForInitialization:
function (feature) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (feature) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var c =
channel[feature] || this.createSticky(feature);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsMap[feature] = c;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsArray.push(c);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Indicate that
initialization code has completed and the feature is ready to be used.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: initializationComplete:
function (feature) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var c =
this.deviceReadyChannelsMap[feature];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (c) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: c.fire();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: function
checkSubscriptionArgument (argument) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeof argument !==
'function' && typeof argument.handleEvent !== 'function') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: throw new Error(
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: 'Must provide a
function or an EventListener object ' +
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: 'implementing
the handleEvent interface.'
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: );
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Subscribes the given
function to the channel. Any time that
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Channel.fire is called so
too will the function.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Optionally specify an
execution context for the function
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * and a guid that can be used
to stop subscribing to the channel.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Returns the guid.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: Channel.prototype.subscribe =
function (eventListenerOrFunction, eventListener) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var handleEvent, guid;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: eventListener =
eventListenerOrFunction;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (this.state === 2) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
handleEvent.apply(eventListener || this, this.fireArgs);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: guid =
eventListenerOrFunction.observer_guid;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (typeof eventListener
=== 'object') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: handleEvent =
utils.close(eventListener, handleEvent);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (!guid) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: guid = '' + nextGuid+
+;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: handleEvent.observer_guid
= guid;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
eventListenerOrFunction.observer_guid = guid;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (!this.handlers[guid])
{
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: this.handlers[guid] =
handleEvent;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: this.numHandlers++;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 1) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Unsubscribes the function
with the given guid from the channel.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: Channel.prototype.unsubscribe
= function (eventListenerOrFunction) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var handleEvent, guid,
handler;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: guid =
handleEvent.observer_guid;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: handler =
this.handlers[guid];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (handler) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: delete
this.handlers[guid];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: this.numHandlers--;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 0) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Calls all functions
subscribed to this channel.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: Channel.prototype.fire =
function (e) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var fail = false;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var fireArgs =
Array.prototype.slice.call(arguments);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (this.state === 1) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: this.state = 2;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: this.fireArgs =
fireArgs;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (this.numHandlers) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var toCall = [];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: for (var item in
this.handlers) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
toCall.push(this.handlers[item]);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
toCall.length; ++i) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
toCall[i].apply(this, fireArgs);
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (this.state === 2
&& this.numHandlers) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: this.numHandlers =
0;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: this.handlers =
{};
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDOMContentLoaded');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onNativeReady');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onCordovaReady');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onPluginsReady');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDeviceReady');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: channel.create('onResume');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: channel.create('onPause');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onCordovaReady');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onDOMContentLoaded');
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: module.exports = channel;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: define("cordova/exec",
function(require, exports, module) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Execute a cordova command.
It is up to the native side whether this action
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * is synchronous or
asynchronous. The native side can return:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Synchronous:
PluginResult object as a JSON string
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * Asynchronous: Empty
string ""
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * If async, the native side
will cordova.callbackSuccess or cordova.callbackError,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * depending upon the result
of the action.
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * @param {Function} success
The success callback
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * @param {Function} fail
The fail callback
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * @param {String} service
The name of the service to use
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * @param {String} action
Action to be run in cordova
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: * @param {String[]} [args]
Zero or more arguments to pass to the method
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova'),
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: nativeApiProvider =
require('cordova/android/nativeapiprovider'),
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: utils =
require('cordova/utils'),
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: base64 =
require('cordova/base64'),
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: channel =
require('cordova/channel'),
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: jsToNativeModes = {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: PROMPT: 0,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: JS_OBJECT: 1
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: nativeToJsModes = {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: POLLING: 0,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: LOAD_URL: 1,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: ONLINE_EVENT: 2,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: EVAL_BRIDGE: 3
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
nativeToJsModes.EVAL_BRIDGE,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: pollEnabled = false,
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: bridgeSecret = -1;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var messagesFromNative = [];
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var isProcessing = false;
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var resolvedPromise = typeof
Promise == 'undefined' ? null : Promise.resolve();
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: var nextTick = resolvedPromise
? function(fn) { resolvedPromise.then(fn); } : function(fn) { setTimeout(fn); };
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: function androidExec(success,
fail, service, action, args) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:32:29.056 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: throw new
Error('exec() called without bridgeSecret');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
=== undefined) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: args = args || [];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
args.length; i++) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if
(utils.typeName(args[i]) == 'ArrayBuffer') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: args[i] =
base64.fromArrayBuffer(args[i]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var callbackId = service +
cordova.callbackId++,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: argsJson =
JSON.stringify(args);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (success || fail) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordova.callbacks[callbackId] = {success:success, fail:fail};
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().exec(bridgeSecret, service, action, callbackId, argsJson);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
== jsToNativeModes.JS_OBJECT && msgs === "@Null arguments.") {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.PROMPT);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: androidExec(success,
fail, service, action, args);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else if (msgs) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: androidExec.init = function()
{
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: bridgeSecret = +prompt('',
'gap_init:' + nativeToJsBridgeMode);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function
pollOnceFromOnlineEvent() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: pollOnce(true);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function
pollOnce(opt_fromOnlineEvent) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().retrieveJsMessages(bridgeSecret, !!opt_fromOnlineEvent);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (msgs) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: processMessages();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function pollingTimerFunc() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (pollEnabled) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: pollOnce();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 50);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function hookOnlineApis() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function proxyEvent(e) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent(e.type);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
window.addEventListener('online', pollOnceFromOnlineEvent, false);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
window.addEventListener('offline', pollOnceFromOnlineEvent, false);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('online');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('offline');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
document.addEventListener('online', proxyEvent, false);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
document.addEventListener('offline', proxyEvent, false);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: hookOnlineApis();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: androidExec.jsToNativeModes =
jsToNativeModes;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: androidExec.nativeToJsModes =
nativeToJsModes;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode = function(mode) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (mode ==
jsToNativeModes.JS_OBJECT && !window._cordovaNative) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: mode =
jsToNativeModes.PROMPT;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.setPreferPrompt(mode == jsToNativeModes.PROMPT);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode =
mode;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
androidExec.setNativeToJsBridgeMode = function(mode) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsBridgeMode) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (nativeToJsBridgeMode
== nativeToJsModes.POLLING) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: pollEnabled = false;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
mode;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (bridgeSecret >= 0) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.get().setNativeToJsBridgeMode(bridgeSecret, mode);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsModes.POLLING) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: pollEnabled = true;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 1);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function buildPayload(payload,
message) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var payloadKind =
message.charAt(0);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (payloadKind == 's') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
payload.push(message.slice(1));
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
't') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: payload.push(true);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'f') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: payload.push(false);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'N') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: payload.push(null);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'n') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
payload.push(+message.slice(1));
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'A') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var data =
message.slice(1);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
payload.push(base64.toArrayBuffer(data));
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'S') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
payload.push(window.atob(message.slice(1)));
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'M') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var multipartMessages
= message.slice(1);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: while
(multipartMessages !== "") {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var spaceIdx =
multipartMessages.indexOf(' ');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var msgLen =
+multipartMessages.slice(0, spaceIdx);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var
multipartMessage = multipartMessages.substr(spaceIdx + 1, msgLen);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: multipartMessages
= multipartMessages.slice(spaceIdx + msgLen + 1);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
buildPayload(payload, multipartMessage);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
payload.push(JSON.parse(message));
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function
processMessage(message) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var firstChar =
message.charAt(0);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (firstChar == 'J') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
eval(message.slice(1));
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else if (firstChar ==
'S' || firstChar == 'F') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var success =
firstChar == 'S';
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var keepCallback =
message.charAt(1) == '1';
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var spaceIdx =
message.indexOf(' ', 2);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var status =
+message.slice(2, spaceIdx);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var nextSpaceIdx =
message.indexOf(' ', spaceIdx + 1);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var callbackId =
message.slice(spaceIdx + 1, nextSpaceIdx);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var payloadMessage =
message.slice(nextSpaceIdx + 1);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var payload = [];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: buildPayload(payload,
payloadMessage);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, success, status, payload, keepCallback);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
console.log("processMessage failed: invalid message: " + JSON.stringify(message));
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function processMessages() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (isProcessing) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length === 0) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: isProcessing = true;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var msg =
popMessageFromQueue();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (msg == '*' &&
messagesFromNative.length === 0) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
nextTick(pollOnce);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: processMessage(msg);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: isProcessing = false;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length > 0) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function popMessageFromQueue()
{
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var messageBatch =
messagesFromNative.shift();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (messageBatch == '*') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return '*';
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var spaceIdx =
messageBatch.indexOf(' ');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var msgLen =
+messageBatch.slice(0, spaceIdx);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var message =
messageBatch.substr(spaceIdx + 1, msgLen);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: messageBatch =
messageBatch.slice(spaceIdx + msgLen + 1);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (messageBatch) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
messagesFromNative.unshift(messageBatch);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return message;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: module.exports = androidExec;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: define("cordova/exec/proxy",
function(require, exports, module) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var CommandProxyMap = {};
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: add: function (id,
proxyObj) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: console.log('adding
proxy for ' + id);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
proxyObj;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return proxyObj;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: remove: function (id) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var proxy =
CommandProxyMap[id];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: delete
CommandProxyMap[id];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
null;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return proxy;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: get: function (service,
action) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return
(CommandProxyMap[service] ? CommandProxyMap[service][action] : null);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: define("cordova/init",
function(require, exports, module) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var pluginloader =
require('cordova/pluginloader');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var platformInitChannelsArray
= [channel.onNativeReady, channel.onPluginsReady];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function logUnfiredChannels
(arr) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
arr.length; ++i) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (arr[i].state !==
2) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
console.log('Channel not fired: ' + arr[i].type);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: window.setTimeout(function ()
{
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if
(channel.onDeviceReady.state !== 2) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
console.log('deviceready has not fired after 5 seconds.');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(platformInitChannelsArray);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(channel.deviceReadyChannelsArray);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }, 5000);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function replaceNavigator
(origNavigator) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var CordovaNavigator =
function () {};
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: CordovaNavigator.prototype
= origNavigator;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var newNavigator = new
CordovaNavigator();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (CordovaNavigator.bind)
{
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var key in
origNavigator) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (typeof
origNavigator[key] === 'function') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
newNavigator[key] = origNavigator[key].bind(origNavigator);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: (function (k)
{
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
utils.defineGetterSetter(newNavigator, key, function () {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return
origNavigator[k];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: })(key);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return newNavigator;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (window.navigator) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: window.navigator =
replaceNavigator(window.navigator);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (!window.console) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: window.console = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: log: function () {}
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (!window.console.warn) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: window.console.warn =
function (msg) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: this.log('warn: ' +
msg);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: channel.onPause =
cordova.addDocumentEventHandler('pause');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: channel.onResume =
cordova.addDocumentEventHandler('resume');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: channel.onActivated =
cordova.addDocumentEventHandler('activated');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: channel.onDeviceReady =
cordova.addStickyDocumentEventHandler('deviceready');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (document.readyState ===
'complete' || document.readyState === 'interactive') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
document.addEventListener('DOMContentLoaded', function () {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }, false);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (window._nativeReady) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova', 'cordova');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'cordova.exec');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'Cordova.exec');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: platform.bootstrap &&
platform.bootstrap();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: setTimeout(function () {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: pluginloader.load(function
() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
channel.onPluginsReady.fire();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Create all cordova objects
once native side is ready.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
modulemapper.mapModules(window);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: platform.initialize &&
platform.initialize();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.fire();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
require('cordova').fireDocumentEvent('deviceready');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
channel.deviceReadyChannelsArray);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }, platformInitChannelsArray);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: define("cordova/modulemapper",
function(require, exports, module) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var builder =
require('cordova/builder');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var moduleMap =
define.moduleMap;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var symbolList;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var deprecationMap;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exports.reset = function () {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: symbolList = [];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: deprecationMap = {};
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function addEntry (strategy,
moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (!(moduleName in
moduleMap)) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: throw new
Error('Module ' + moduleName + ' does not exist.');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: symbolList.push(strategy,
moduleName, symbolPath);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if
(opt_deprecationMessage) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
deprecationMap[symbolPath] = opt_deprecationMessage;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exports.clobbers = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: addEntry('c', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exports.merges = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: addEntry('m', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exports.defaults = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: addEntry('d', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exports.runs = function
(moduleName) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: addEntry('r', moduleName,
null);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function prepareNamespace
(symbolPath, context) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (!symbolPath) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return context;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cur = context;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var i = 0, part; part
= parts[i]; ++i) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cur = cur[part] =
cur[part] || {};
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return cur;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exports.mapModules = function
(context) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var origSymbols = {};
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: context.CDV_origSymbols =
origSymbols;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
symbolList.length; i < len; i += 3) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var strategy =
symbolList[i];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var moduleName =
symbolList[i + 1];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var module =
require(moduleName);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (strategy === 'r')
{
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var symbolPath =
symbolList[i + 2];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var lastDot =
symbolPath.lastIndexOf('.');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var namespace =
symbolPath.substr(0, lastDot);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var lastName =
symbolPath.substr(lastDot + 1);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var deprecationMsg =
symbolPath in deprecationMap ? 'Access made to deprecated symbol: ' + symbolPath +
'. ' + deprecationMsg : null;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var parentObj =
prepareNamespace(namespace, context);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var target =
parentObj[lastName];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (strategy === 'm'
&& target) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
builder.recursiveMerge(target, module);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else if ((strategy
=== 'd' && !target) || (strategy !== 'd')) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (!(symbolPath
in origSymbols)) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
origSymbols[symbolPath] = target;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
builder.assignOrWrapInDeprecateGetter(parentObj, lastName, module, deprecationMsg);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exports.getOriginalSymbol =
function (context, symbolPath) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var origSymbols =
context.CDV_origSymbols;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (origSymbols &&
(symbolPath in origSymbols)) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return
origSymbols[symbolPath];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var obj = context;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
parts.length; ++i) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: obj = obj &&
obj[parts[i]];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exports.reset();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: define("cordova/platform",
function(require, exports, module) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var lastResumeEvent = null;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: id: 'android',
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: bootstrap: function() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel'),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cordova =
require('cordova'),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exec =
require('cordova/exec'),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: modulemapper =
require('cordova/modulemapper');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exec.init();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/plugin/android/app', 'navigator.app');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(cordova.platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' : 'App';
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var backButtonChannel
= cordova.addDocumentEventHandler('backbutton');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
backButtonChannel.onHasSubscribersChange = function() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [this.numHandlers == 1]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('menubutton');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('searchbutton');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function
bindButtonChannel(buttonName) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var
volumeButtonChannel = cordova.addDocumentEventHandler(buttonName + 'button');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
volumeButtonChannel.onHasSubscribersChange = function() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exec(null,
null, APP_PLUGIN_NAME, "overrideButton", [buttonName, this.numHandlers == 1]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumeup');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumedown');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var
cordovaAddEventListener = document.addEventListener;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
document.addEventListener = function(evt, handler, capture) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaAddEventListener(evt, handler, capture);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (evt ===
'resume' && lastResumeEvent) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
handler(lastResumeEvent);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
exec(onMessageFromNative, null, APP_PLUGIN_NAME, 'messageChannel', []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "show", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function
onMessageFromNative(msg) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var action = msg.action;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: switch (action)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: case 'backbutton':
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: case 'menubutton':
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: case 'searchbutton':
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: case 'pause':
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: case
'volumedownbutton':
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: case 'volumeupbutton':
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: break;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: case 'resume':
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
if(arguments.length > 1 && msg.pendingResult) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
if(arguments.length === 2) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = arguments[1];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var res =
[];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for(var i
= 1; i < arguments.length; i++) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
res.push(arguments[i]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = res;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
lastResumeEvent = msg;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action, msg);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: break;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: default:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: throw new
Error('Unknown event action ' + action);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
define("cordova/plugin/android/app", function(require, exports, module) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var exec =
require('cordova/exec');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(require('cordova').platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' :
'App';
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Clear the resource
cache.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: clearCache:function() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearCache", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Load the url into the
webview or into new browser instance.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * @param url The
URL to load
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * @param props
Properties that can be passed in to the activity:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * wait: int
=> wait msec before loading URL
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * loadingDialog:
"Title,Message" => display a native loading dialog
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
loadUrlTimeoutValue: int => time in msec to wait before triggering a
timeout error
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * clearHistory:
boolean => clear webview history (default=false)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * openExternal:
boolean => open in a new browser (default=false)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Example:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
navigator.app.loadUrl("http:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: loadUrl:function(url,
props) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "loadUrl", [url, props]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Cancel loadUrl that is
waiting to be loaded.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cancelLoadUrl:function() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "cancelLoadUrl", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Clear web history in
this web view.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Instead of BACK button
loading the previous web page, it will exit the app.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: clearHistory:function() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearHistory", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Go to previous page
displayed.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * This is the same as
pressing the backbutton on Android device.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: backHistory:function() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "backHistory", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android back button.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * If overridden, when the
back button is pressed, the "backKeyDown" JavaScript event will be fired.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * registers for the
"backbutton" event, this is automatically done.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
overrideBackbutton:function(override) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [override]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android volume button.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * If overridden, when the
volume button is pressed, the "volume[up|down]button"
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * JavaScript event will be
fired.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * registers for the
"volume[up|down]button" event, this is automatically done.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * @param button
volumeup, volumedown
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
overrideButton:function(button, override) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideButton", [button, override]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Exit and terminate the
application.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exitApp:function() {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return exec(null,
null, APP_PLUGIN_NAME, "exitApp", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: define("cordova/pluginloader",
function(require, exports, module) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exports.injectScript =
function (url, onload, onerror) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var script =
document.createElement('script');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: script.onload = onload;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: script.onerror = onerror;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: script.src = url;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
document.head.appendChild(script);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function injectIfNecessary
(id, url, onload, onerror) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: onerror = onerror ||
onload;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
exports.injectScript(url, function () {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: onerror();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }, onerror);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function
onScriptLoadingComplete (moduleList, finishPluginLoading) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var i = 0, module;
module = moduleList[i]; i++) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (module.clobbers &&
module.clobbers.length) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var j = 0; j
< module.clobbers.length; j++) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers(module.id, module.clobbers[j]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (module.merges &&
module.merges.length) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var k = 0; k
< module.merges.length; k++) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
modulemapper.merges(module.id, module.merges[k]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (module.runs) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
modulemapper.runs(module.id);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function handlePluginsObject
(path, moduleList, finishPluginLoading) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var scriptCounter =
moduleList.length;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (!scriptCounter) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function
scriptLoadedCallback () {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (!--scriptCounter)
{
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
onScriptLoadingComplete(moduleList, finishPluginLoading);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
moduleList.length; i++) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
injectIfNecessary(moduleList[i].id, path + moduleList[i].file,
scriptLoadedCallback);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function findCordovaPath () {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var path = null;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var scripts =
document.getElementsByTagName('script');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var term = '/cordova.js';
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var n =
scripts.length - 1; n > -1; n--) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var src =
scripts[n].src.replace(/\?.*$/, '');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (src.indexOf(term)
=== (src.length - term.length)) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: path =
src.substring(0, src.length - term.length) + '/';
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: break;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exports.load = function
(callback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var pathPrefix =
findCordovaPath();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (pathPrefix === null) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: console.log('Could not
find cordova.js script tag. Plugin loading may fail.');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: pathPrefix = '';
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
injectIfNecessary('cordova/plugin_list', pathPrefix + 'cordova_plugins.js',
function () {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var moduleList =
require('cordova/plugin_list');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
handlePluginsObject(pathPrefix, moduleList, callback);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }, callback);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: define("cordova/urlutil",
function(require, exports, module) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * For already absolute URLs,
returns what is passed in.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * For relative URLs, converts
them to absolute ones.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exports.makeAbsolute =
function makeAbsolute (url) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var anchorEl =
document.createElement('a');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: anchorEl.href = url;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return anchorEl.href;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: define("cordova/utils",
function(require, exports, module) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var utils = exports;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Defines a property getter /
setter for obj[key].
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: utils.defineGetterSetter =
function (obj, key, getFunc, opt_setFunc) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (Object.defineProperty)
{
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var desc = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: get: getFunc,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: configurable: true
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: desc.set =
opt_setFunc;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
Object.defineProperty(obj, key, desc);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
obj.__defineGetter__(key, getFunc);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
obj.__defineSetter__(key, opt_setFunc);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Defines a property getter
for obj[key].
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: utils.defineGetter =
utils.defineGetterSetter;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: utils.arrayIndexOf = function
(a, item) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (a.indexOf) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return
a.indexOf(item);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var len = a.length;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < len; +
+i) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (a[i] === item) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return i;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Returns whether the item
was found in the array.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: utils.arrayRemove = function
(a, item) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var index =
utils.arrayIndexOf(a, item);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (index !== -1) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: a.splice(index, 1);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return index !== -1;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: utils.typeName = function
(val) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return
Object.prototype.toString.call(val).slice(8, -1);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is an array or not
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: utils.isArray = Array.isArray
||
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function (a) {
return utils.typeName(a) === 'Array'; };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is a Date or not
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: utils.isDate = function (d) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return (d instanceof
Date);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Does a deep clone of the
object.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: utils.clone = function (obj) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (!obj || typeof obj ===
'function' || utils.isDate(obj) || typeof obj !== 'object') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var retVal, i;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (utils.isArray(obj)) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: retVal = [];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (i = 0; i <
obj.length; ++i) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
retVal.push(utils.clone(obj[i]));
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: retVal = {};
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (i in obj) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if ((!(i in retVal) ||
retVal[i] !== obj[i]) && typeof obj[i] !== 'undefined' && typeof obj[i] !==
'unknown') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: retVal[i] =
utils.clone(obj[i]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Returns a wrapped version
of the function
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: utils.close = function
(context, func, params) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return function () {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var args = params ||
arguments;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return
func.apply(context, args);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function UUIDcreatePart
(length) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var uuidpart = '';
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
length; i++) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var uuidchar =
parseInt((Math.random() * 256), 10).toString(16);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (uuidchar.length
=== 1) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: uuidchar = '0' +
uuidchar;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: uuidpart += uuidchar;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return uuidpart;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Create a UUID
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: utils.createUUID = function ()
{
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return UUIDcreatePart(4) +
'-' +
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(6);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Extends a child object from
a parent object using classical inheritance
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * pattern.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: utils.extend = (function () {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var F = function () {};
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return function (Child,
Parent) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: F.prototype =
Parent.prototype;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: Child.prototype = new
F();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: Child.__super__ =
Parent.prototype;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
Child.prototype.constructor = Child;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }());
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Alerts a message in any
available way: alert or console.log.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: utils.alert = function (msg) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (window.alert) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: window.alert(msg);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else if (console &&
console.log) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: console.log(msg);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: window.cordova =
require('cordova');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: require('cordova/init');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: })();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordova.define('cordova/plugin_list', function(require, exports, module) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: module.exports = [
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/vuforia.js",
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.vuforia",
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "vuforia"
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: ]
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/identity_resolution.js",
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.irs",
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "irs"
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: ]
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/intent_navigation_filter.js",
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.inf",
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "inf"
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: ]
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: ];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: module.exports.metadata =
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "cordova-plugin-
whitelist": "1.3.3",
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: "cordova-plugin-thingx":
"1.0.0"
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.inf", function(require, exports, module) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: allowIntent: function
(theURL, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowIntent",
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: allowNavigation: function
(theURL, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowNavigation",
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.vuforia", function(require, exports, module) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /*
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * In case a new method is
created then follow following pattern:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * function(params,
successCallback, errorCallback)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * If there is a new
parameter required to be added to existing method then
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * follow following pattern:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * function(...args)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Note: Check add3DImage
function on how both old and new methods are supported for adding
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * new param.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function resolvePath(names) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var split = names.split("
");
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var result = "";
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var path =
location.pathname;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var lastIndexOfSlash =
path.lastIndexOf('/');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: path = path.substr(0,
lastIndexOfSlash);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: for (var
i=0;i<split.length;i++) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var name = split[i];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (lastIndexOfSlash >
-1) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (result.length
> 0) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: result += " ";
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if
(name.startsWith("/")) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: result +=
location.origin + name;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: result +=
location.origin + path + "/" + name;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return result;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function
resolvePathIfNeeded(path) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return
resolvePath(path);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function sanitizeURL(path) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (path.indexOf(' ')
>= 0) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return
encodeURI(path);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function asBoolean(arg) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"boolean") {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"string") {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var larg =
arg.toLowerCase();
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return larg ===
"true";
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"number") {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return arg !== 0;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return !!arg;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function asString(arg) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"string") {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return "" + arg;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function asNumber(arg) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"number") {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return Number(arg);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: function
asThreeStateBoolean(arg) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (arg === null || arg
=== undefined) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (arg === "true" || arg
=== true) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return 1;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (arg === "false" || arg
=== false) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return 0;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: return asNumber(arg);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: initializeAR: function
(arMechanism, maxtrackers, extendedtracking, persistmap, near, far,
successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initializeAR",
[asString(arMechanism),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(maxtrackers),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asBoolean(extendedtracking),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asBoolean(persistmap),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(near),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(far)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: setViewProperties:
function(properties, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{ };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if
(properties.dropshadow !== undefined) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties.dropshadow);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties["experimental-dropshadow"]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setViewProperties",
[cordovaParams]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: showARView: function
(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "showARView", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cleanUpAndPause: function
(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndPause",
[]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: pauseAR: function
(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "pauseAR", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: resumeAR: function
(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resumeAR", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: lockCameraAndOrientation:
function (successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"lockCameraAndOrientation", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
unlockCameraAndOrientation: function (successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"unlockCameraAndOrientation", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cleanUpAndContinue:
function (successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndContinue",
[]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: resetSpatialTracking:
function (successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetSpatialTracking", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: getTracked: function
(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getTracked", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: loadTrackerDef: function
(markerSet, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var ms = (markerSet
=== undefined) ? [] : markerSet;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadTrackerDef", [ms,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
window.location.href]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: addTracker: function
(nameOrParams, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var options =
nameOrParams;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if
(typeof(nameOrParams) === "string") {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: options = { name:
nameOrParams, trackingHints: { stationary: true } };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: options.name =
asString(options.name);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: options.trackingHints
= (options.trackingHints === undefined) ? {} : options.trackingHints;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
options.trackingHints.stationary = (options.trackingHints.stationary === false) ?
false : true;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addTracker",
[options]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: add3DObject: function
(trackerName, name, vertices, normals, texCoords, indexes, color, texture, parent,
successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DObject",
[asString(trackerName),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
normals,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
texCoords,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: addPVS: function
(trackerName, name, url, cull, parent, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: url =
resolvePathIfNeeded(sanitizeURL(url));
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addPVS",
[asString(trackerName),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(url),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: addLeaderLine: function
(trackerName, name, vertices, color, texture,
nbScreenCoord,pointSize,lineWidth,parent, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var
nbsc=(nbScreenCoord === undefined) ? "0" : nbScreenCoord;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var ps=(pointSize ===
undefined) ? "40" : pointSize;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var lw=(lineWidth ===
undefined) ? "5" : lineWidth;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addLeaderLine",
[asString(trackerName),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(nbsc),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(ps),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(lw),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: append3DObject: function
(name, mode, indexes, color, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "append3DObject",
[asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(mode),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
color
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: addEmitter: function
(trackerName, name, particles, radius, velocity, decay, gravity, spread, size,
mass, rate, wind, blend, color, texture, parent, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addEmitter",
[asString(trackerName),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(particles),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(radius),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(velocity),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(decay),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(gravity),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(spread),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(size),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(mass),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(rate),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
wind,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(blend),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /*
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: addGroup: function
(trackerName, name, cull, parent, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addGroup",
[asString(trackerName),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(parent)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: addMarker: function
(trackerName, name, src, size, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addMarker",
[asString(trackerName),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(src),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(size)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: add3DImage: function
(...args) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: let tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, preload, successCallback,
errorCallback;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (typeof args[0] ===
'object') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: let params;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: [params,
successCallback, errorCallback] = args;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: ({tracker, id,
src, parent, leaderX, leaderY, anchor, width, height, pivot, preload} = params);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else if (typeof
args[0] === 'string') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: preload = true;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: [tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, successCallback,
errorCallback] = args;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: throw new
Error('add3DImage call with invalid args');
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: src =
resolvePathIfNeeded(src);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DImage",
[asString(tracker),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(id),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
src,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
undefined,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(leaderX),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(leaderY),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(anchor),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(width),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(height),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(pivot)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: allowNextGesture:
function(params, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{};
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "allowNextGesture",
[cordovaParams]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: loadViewState:
function(params, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: viewStateID:
asNumber(params.viewStateID)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadViewState",
[cordovaParams]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: loadPVI: function (params,
successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var encodedURL =
sanitizeURL(params.url);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: url:
asString(resolvePathIfNeeded(encodedURL))
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadPVI",
[cordovaParams]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: playStep: function
(params, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playStep",
[cordovaParams]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: gotoStep: function
(params, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: position:
asString(params.position)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "gotoStep",
[cordovaParams]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: setModelURL: function
(params, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var modelURL =
resolvePathIfNeeded(sanitizeURL(params.modelURL));
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: modelURL:
asString(modelURL)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setModelURL",
[cordovaParams]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: setTexture: function
(name, texture, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTexture",
[asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
texture
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: setColor: function (name,
color, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setColor",
[asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
color
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: setVertices: function
(name, vertices, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setVertices",
[asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
vertices
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: insertGroupNode: function
(props, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "insertGroupNode",
[asString(props.name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(props.target)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: removeNode: function
(props, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "removeNode",
[asString(props.name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asBoolean(props.reparent)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: setProperties: function
(name, props, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var opacity
= (props.opacity === undefined) ? -1 : props.opacity;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var hidden
= (props.hidden === undefined) ? -1 : props.hidden;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var occlude
= (props.occlude === undefined) ? false : props.occlude;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var billboard
= (props.billboard === undefined) ? false : props.billboard;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var decal
= (props.decal === undefined) ? false : props.decal;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var shader
= (props.shader === undefined) ? null : props.shader;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var phantom
= (props.phantom === undefined) ? false : props.phantom;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var forceHidden
= (props.forceHidden === undefined) ? false : props.forceHidden;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var
experimentalOneSided = (props.experimentalOneSided === undefined) ? false :
props.experimentalOneSided;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setProperties",
[asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(opacity),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asThreeStateBoolean(hidden),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asBoolean(occlude),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asBoolean(billboard),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asBoolean(decal),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(shader),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asBoolean(phantom),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asBoolean(forceHidden),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asBoolean(experimentalOneSided)]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: getAllPropertyValues:
function (name, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"getAllPropertyValues", [asString(name)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: setTranslation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTranslation",
[asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: setRotation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setRotation",
[asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: setScale: function (name,
ax, ay, az, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 1.0 : ax;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 1.0 : ay;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 1.0 : az;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setScale",
[asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: setGestures: function
(params, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var gestures = {};
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableTranslate !== undefined) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
gestures.enableTranslate = asBoolean(params.gestures.enableTranslate);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableRotate !== undefined) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
gestures.enableRotate = asBoolean(params.gestures.enableRotate);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableScale !== undefined) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
gestures.enableScale = asBoolean(params.gestures.enableScale);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: nodeId:
asString(params.nodeId),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: gestures: gestures
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setGestures",
[cordovaParams]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: resetGestureTransforms:
function (successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetGestureTransforms", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: setupAREventsCommand:
function (successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupAREventsCommand", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
setupTrackingEventsCommand: function (successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupTrackingEventsCommand", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: transform: function (name,
dx, dy, dz, drx, dry, drz, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var x = (dx ===
undefined) ? 0.0 : dx;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var y = (dy ===
undefined) ? 0.0 : dy;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var z = (dz ===
undefined) ? 0.0 : dz;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var rx = (drx ===
undefined) ? 0.0 : drx;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var ry = (dry ===
undefined) ? 0.0 : dry;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var rz = (drz ===
undefined) ? 0.0 : drz;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "transform",
[asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(z),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(rx),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(ry),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(rz)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: resetAll: function
( successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resetAll", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: reset: function (name,
successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "reset",
[asString(name)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: setShader: function (name,
vertex, fragment, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setShader",
[asString(name),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(vertex),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(fragment)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: userPick: function
(params, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "userPick",
[asNumber(params.x),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asNumber(params.y)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: exitSpatialPlacementMode:
function(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"exitSpatialPlacementMode", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: takeScreenshot:
function(params, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: withAugmentation:
asBoolean(params.withAugmentation),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: dataURL:
asBoolean(params.dataURL),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: imgFormat:
asString(params.imgFormat),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: imgWidth:
params.imgWidth,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: imgHeight:
params.imgHeight
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "takeScreenshot",
[cordovaParams]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: startBatch: function
(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startBatch", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: executeBatch: function
(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "executeBatch", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: scanForNextBarCode:
function(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "scanForNextBarCode",
[]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: stopBarCodeScanning:
function(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopBarCodeScanning",
[]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: playSxsl: function(params,
successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playSxsl",
[asString(params.sxsl), window.location.href, params.autoOpenProcedure]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: goBack: function
(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "goBack", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
setupSpeechRecognitionCallback: function (params, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(function(guesses) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if
(successCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
successCallback(Array.isArray(guesses) ? guesses : null);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }, errorCallback,
"Vuforia", "setupSpeechRecognitionCallback", [asBoolean(params.unregister)]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: updateVoiceCommands:
function (params, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "updateVoiceCommands",
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
[asBoolean(params.clearCommands),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
params.commandsToRemove,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
params.commandsToAdd
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: ]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: forceRealWearRescan:
function(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "forceRealWearRescan",
[]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: getCameraImage:
function(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getCameraImage", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: synthesizeSpeech:
function(params, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "synthesizeSpeech",
[asString(params.text),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
asString(params.locale)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: stopSpeaking:
function(successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopSpeaking", []);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /** Ask the native plugin
to start atom on the added augmentation */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: initAtom: function(params,
successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: atomName:
asString(params.atomName),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initAtom",
[cordovaParams]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: startAtom:
function(params, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startAtom",
[cordovaParams]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: stopAtom: function(params,
successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopAtom",
[cordovaParams]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: configureAtom:
function(params, successCallback, errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var configureAtom =
(params.objectSet === undefined) ? {} : params.objectSet;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId),
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: configureAtom:
configureAtom
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "configureAtom",
[cordovaParams]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };});
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.irs", function(require, exports, module) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: queryIdentityService:
function (theID, theContentType, useFeedback, notifyNativeCode, successCallback,
errorCallback) {
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
"IdentityService", "queryIdentityService",
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
[theID, theContentType, useFeedback, notifyNativeCode]);
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl:
04-05 14:32:29.057 10638 10638 D CordovaWebViewImpl: window.thingworxview =
{"configuration":
{"nativeSequencer":true,"batchProcessing":true,"trackingHints":true,"setModelURL":t
rue}};},0);)
04-05 14:32:29.075 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:32:29.105 10638 10638 D JsMessageQueue: Set native->JS mode to
EvalBridgeMode
04-05 14:32:29.112 10638 10638 I TGX-JS-Console: "Could not find cordova.js script
tag. Plugin loading may fail.", source: (1)
04-05 14:32:29.123 10638 10638 I TGX-JS-Console: "onDeviceReady() fired.", source:
file:///android_asset/www/ScanningExperience/index.html (43)
04-05 14:32:29.160 10638 10971 I App : WARNING: Back Button Default Behavior
will be overridden. The backbutton event will be fired!
04-05 14:32:29.180 10638 10638 I TGX-JS-Console: "[ng-i18next] Can't find i18next
and/or i18next options! Please refer to i18next.", source:
file:///android_asset/www/ScanningExperience/lib/i18next/ng-i18next.js (318)
04-05 14:32:29.189 10638 10638 I TGXThreadChecker: MAIN_UI_THREAD is 10638 (main)
04-05 14:32:29.189 10638 10638 I CameraManagerGlobal: Connecting to camera service
04-05 14:32:29.190 10638 10971 I TGXThreadChecker: CORDOVA_THREAD is 10971
(JavaBridge)
04-05 14:32:29.192 10638 10638 W CameraManagerGlobal: [soar.cts] ignore the status
update of camera: 20
04-05 14:32:29.192 10638 10638 W CameraManagerGlobal: [soar.cts] ignore the status
update of camera: 21
04-05 14:32:29.192 10638 10638 W CameraManagerGlobal: [soar.cts] ignore the status
update of camera: 22
04-05 14:32:29.192 10638 10638 W CameraManagerGlobal: [soar.cts] ignore the status
update of camera: 61
04-05 14:32:29.193 10638 10657 W CameraManagerGlobal: ignore the torch status
update of camera: 21
04-05 14:32:29.193 10638 10657 W CameraManagerGlobal: ignore the torch status
update of camera: 22
04-05 14:32:29.193 10638 10657 W CameraManagerGlobal: ignore the torch status
update of camera: 61
04-05 14:32:29.329 10638 10638 V PhoneWindow: DecorView setVisiblity: visibility =
4, Parent = android.view.ViewRootImpl@9cc1f9e, this =
DecorView@fbfca7f[SplashScreen]
04-05 14:32:29.329 10638 10638 D View : [Warning] assignParent to null: this =
DecorView@fbfca7f[SplashScreen]
04-05 14:32:29.332 10638 10638 I InputTransport: Destroy ARC handle:
0xb400007c4502fda0
04-05 14:32:29.374 10638 10939 I System.out: [OkHttp] sendRequest>>
04-05 14:32:29.374 10638 10939 I System.out: [OkHttp] sendRequest<<
04-05 14:32:29.580 10638 10938 I TGXIdentityRequestTask: TGXIdentityRequestTask
complete.
04-05 14:32:30.042 10638 10638 D JsMessageQueue: Set native->JS mode to null
04-05 14:32:30.042 10638 10638 D CordovaWebViewImpl:
onPageDidNavigate(file:///android_asset/www/ScanningExperience/index.html)
04-05 14:32:30.042 10638 10638 D JsMessageQueue: Dropping Native->JS message due to
disabled bridge
04-05 14:32:30.042 10638 10638 I chatty : uid=10403(com.ptc.vuforiaview) identical
1 line
04-05 14:32:30.042 10638 10638 D JsMessageQueue: Dropping Native->JS message due to
disabled bridge
04-05 14:32:30.042 10638 10972 E TGXVuforiaPlugin: Wait for plugin engine
initialization was interrupted
04-05 14:32:30.042 10638 10972 E TGXVuforiaPlugin: java.lang.InterruptedException
04-05 14:32:30.042 10638 10972 E TGXVuforiaPlugin: at
java.lang.Object.wait(Native Method)
04-05 14:32:30.042 10638 10972 E TGXVuforiaPlugin: at
java.lang.Object.wait(Object.java:442)
04-05 14:32:30.042 10638 10972 E TGXVuforiaPlugin: at
java.lang.Object.wait(Object.java:568)
04-05 14:32:30.042 10638 10972 E TGXVuforiaPlugin: at
com.ptc.thingx.cordova.plugin.vuforia.TGXPluginEngine.waitUntilFullyInited(TGXPlugi
nEngine.java:116)
04-05 14:32:30.042 10638 10972 E TGXVuforiaPlugin: at
com.ptc.thingx.cordova.plugin.vuforia.TGXVuforiaPlugin.waitForPluginInitializationT
oComplete(TGXVuforiaPlugin.java:95)
04-05 14:32:30.042 10638 10972 E TGXVuforiaPlugin: at
com.ptc.thingx.cordova.plugin.vuforia.TGXVuforiaPlugin.
$r8$lambda$Yw2jP7TZTE2hS__Orpk_pan-xI0(Unknown Source:0)
04-05 14:32:30.042 10638 10972 E TGXVuforiaPlugin: at
com.ptc.thingx.cordova.plugin.vuforia.TGXVuforiaPlugin$
$ExternalSyntheticLambda6.run(Unknown Source:2)
04-05 14:32:30.042 10638 10972 E TGXVuforiaPlugin: at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
04-05 14:32:30.042 10638 10972 E TGXVuforiaPlugin: at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
04-05 14:32:30.042 10638 10972 E TGXVuforiaPlugin: at
java.lang.Thread.run(Thread.java:923)
04-05 14:32:30.054 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:32:30.058 10638 10638 D SurfaceView: UPDATE null, mIsCastMode = false
04-05 14:32:30.081 10638 10973 D libMEOW : applied 1 plugins for
[com.ptc.vuforiaview]:
04-05 14:32:30.081 10638 10973 D libMEOW : plugin 1: [libMEOW_gift.so]:
04-05 14:32:30.082 10638 10973 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:32:30.082 10638 10973 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:32:30.082 10638 10973 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:32:30.082 10638 10973 I libMEOW_gift: ctx:0xb400007bdd265ab0, ARC not
Enabled.
04-05 14:32:30.094 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:32:30.099 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:32:30.131 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:32:30.132 10638 10970 E TGX_C++ : [ CameraPreviewWatcherJavaBridge.cpp:73
|callGrayscaleCallback ] CameraScanner:: Image buffer is invalid
04-05 14:32:30.134 10638 10638 E TGX_C++ : [ VuforiaManager.cpp:501 |
resumeIfNeeded ] Vuforia:: Failed because VuforiaManager not
initialized
04-05 14:32:30.135 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:32:30.138 10638 10638 D CordovaWebViewImpl:
onPageFinished(file:///android_asset/www/ScanningExperience/index.html)
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: >>>
loadUrl(javascript:setTimeout(function(){
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: /*
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: Licensed to the Apache
Software Foundation (ASF) under one
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: or more contributor license
agreements. See the NOTICE file
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: distributed with this work
for additional information
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: regarding copyright
ownership. The ASF licenses this file
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: to you under the Apache
License, Version 2.0 (the
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: "License"); you may not use
this file except in compliance
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: with the License. You may
obtain a copy of the License at
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: http:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: Unless required by applicable
law or agreed to in writing,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: software distributed under
the License is distributed on an
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: KIND, either express or
implied. See the License for the
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: specific language governing
permissions and limitations
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: under the License.
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: ;(function() {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var
PLATFORM_VERSION_BUILD_LABEL = '8.0.0';
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var require;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var define;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: (function () {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var modules = {};
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var requireStack = [];
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var inProgressModules =
{};
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var SEPARATOR = '.';
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: function build (module) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var factory =
module.factory;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var localRequire =
function (id) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var resultantId =
id;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (id.charAt(0)
=== '.') {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: resultantId =
module.id.slice(0, module.id.lastIndexOf(SEPARATOR)) + SEPARATOR + id.slice(2);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: return
require(resultantId);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: module.exports = {};
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: delete module.factory;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: factory(localRequire,
module.exports, module);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: return module.exports;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: require = function (id) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (!modules[id]) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' not found';
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: } else if (id in
inProgressModules) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var cycle =
requireStack.slice(inProgressModules[id]).join('->') + '->' + id;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: throw 'Cycle in
require graph: ' + cycle;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if
(modules[id].factory) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
inProgressModules[id] = requireStack.length;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
requireStack.push(id);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: return
build(modules[id]);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: delete
inProgressModules[id];
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
requireStack.pop();
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: return
modules[id].exports;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: define = function (id,
factory) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (modules[id]) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' already defined';
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: modules[id] = {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: id: id,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: factory: factory
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: define.remove = function
(id) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: delete modules[id];
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: define.moduleMap =
modules;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: })();
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (typeof module === 'object'
&& typeof require === 'function') {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: module.exports.require =
require;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: module.exports.define =
define;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: define("cordova",
function(require, exports, module) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (window.cordova && !
(window.cordova instanceof HTMLElement)) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: throw new Error('cordova
already defined');
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: * Intercept calls to
addEventListener + removeEventListener and handle deviceready,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: * resume, and pause events.
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var
m_document_addEventListener = document.addEventListener;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var
m_document_removeEventListener = document.removeEventListener;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var m_window_addEventListener
= window.addEventListener;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var
m_window_removeEventListener = window.removeEventListener;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: * Houses custom event
handlers to intercept on document + window event listeners.
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var documentEventHandlers =
{};
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var windowEventHandlers = {};
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: document.addEventListener =
function (evt, handler, capture) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].subscribe(handler);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
m_document_addEventListener.call(document, evt, handler, capture);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: window.addEventListener =
function (evt, handler, capture) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].subscribe(handler);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
m_window_addEventListener.call(window, evt, handler, capture);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: document.removeEventListener =
function (evt, handler, capture) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].unsubscribe(handler);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
m_document_removeEventListener.call(document, evt, handler, capture);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: window.removeEventListener =
function (evt, handler, capture) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].unsubscribe(handler);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
m_window_removeEventListener.call(window, evt, handler, capture);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: function createEvent (type,
data) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var event =
document.createEvent('Events');
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: event.initEvent(type,
false, false);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (data) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: for (var i in data) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if
(data.hasOwnProperty(i)) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: event[i] =
data[i];
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: return event;
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-undef */
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var cordova = {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: define: define,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: require: require,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: version:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: platformVersion:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: platformId: platform.id,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-undef
*/
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: * Methods to add/remove
your own addEventListener hijacking on document + window.
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: addWindowEventHandler:
function (event) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: return
(windowEventHandlers[event] = channel.create(event));
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
addStickyDocumentEventHandler: function (event) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.createSticky(event));
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: addDocumentEventHandler:
function (event) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.create(event));
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: removeWindowEventHandler:
function (event) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: delete
windowEventHandlers[event];
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
removeDocumentEventHandler: function (event) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: delete
documentEventHandlers[event];
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: * Retrieve original event
handlers that were replaced by Cordova
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: * @return object
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: getOriginalHandlers:
function () {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: return {'document':
{'addEventListener': m_document_addEventListener, 'removeEventListener':
m_document_removeEventListener},
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: 'window':
{'addEventListener': m_window_addEventListener, 'removeEventListener':
m_window_removeEventListener}};
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: * Method to fire event
from native code
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: * bNoDetach is required
for events which cause an exception which needs to be caught in native code
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: fireDocumentEvent:
function (type, data, bNoDetach) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[type] !== 'undefined') {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (bNoDetach) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (type
=== 'deviceready') {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: fireWindowEvent: function
(type, data) {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[type] !== 'undefined') {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[type].fire(evt);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
window.dispatchEvent(evt);
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: * Plugin callback
mechanism.
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: callbackId:
Math.floor(Math.random() * 2000000000),
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: callbacks: {},
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: callbackStatus: {
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: NO_RESULT: 0,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: OK: 1,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
CLASS_NOT_FOUND_EXCEPTION: 2,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
ILLEGAL_ACCESS_EXCEPTION: 3,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
INSTANTIATION_EXCEPTION: 4,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
MALFORMED_URL_EXCEPTION: 5,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: IO_EXCEPTION: 6,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: INVALID_ACTION: 7,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: JSON_EXCEPTION: 8,
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: ERROR: 9
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.139 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning successful result from an action.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: callbackSuccess: function
(callbackId, args) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, true, args.status, [args.message],
args.keepCallback);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning error result from an action.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: callbackError: function
(callbackId, args) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, false, args.status, [args.message],
args.keepCallback);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning the result from an action.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: callbackFromNative:
function (callbackId, isSuccess, status, args, keepCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var callback =
cordova.callbacks[callbackId];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (callback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (isSuccess
&& status === cordova.callbackStatus.OK) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
callback.success && callback.success.apply(null, args);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if (!
isSuccess) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
callback.fail && callback.fail.apply(null, args);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /*
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: else
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: Note, this
case is intentionally not caught.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this can
happen if isSuccess is true, but callbackStatus is NO_RESULT
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: which is
used to remove a callback from the list without calling the callbacks
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: typically
keepCallback is false in this case
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!
keepCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: delete
cordova.callbacks[callbackId];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } catch (err) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var msg = 'Error
in ' + (isSuccess ? 'Success' : 'Error') + ' callbackId: ' + callbackId + ' : ' +
err;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: console &&
console.log && console.log(msg);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: console &&
console.log && err.stack && console.log(err.stack);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent('cordovacallbackerror', { 'message': msg });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: throw err;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: addConstructor: function
(func) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: func();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
console.log('Failed to run constructor: ' + e);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: module.exports = cordova;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
define("cordova/android/nativeapiprovider", function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Exports the
ExposedJsApi.java object if available, otherwise exports the PromptBasedNativeApi.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var nativeApi =
this._cordovaNative || require('cordova/android/promptbasednativeapi');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var currentApi = nativeApi;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: get: function() { return
currentApi; },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setPreferPrompt:
function(value) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: currentApi = value ?
require('cordova/android/promptbasednativeapi') : nativeApi;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: set: function(value) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: currentApi = value;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
define("cordova/android/promptbasednativeapi", function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Implements the API of
ExposedJsApi.java, but uses prompt() to communicate.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * This is used pre-JellyBean,
where addJavascriptInterface() is disabled.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exec:
function(bridgeSecret, service, action, callbackId, argsJson) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return
prompt(argsJson, 'gap:'+JSON.stringify([bridgeSecret, service, action,
callbackId]));
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setNativeToJsBridgeMode:
function(bridgeSecret, value) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: prompt(value,
'gap_bridge_mode:' + bridgeSecret);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: retrieveJsMessages:
function(bridgeSecret, fromOnlineEvent) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return
prompt(+fromOnlineEvent, 'gap_poll:' + bridgeSecret);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: define("cordova/argscheck",
function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var moduleExports =
module.exports;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var typeMap = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: 'A': 'Array',
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: 'D': 'Date',
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: 'N': 'Number',
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: 'S': 'String',
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: 'F': 'Function',
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: 'O': 'Object'
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function extractParamName
(callee, argIndex) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return (/.*?\
((.*?)\)/).exec(callee)[1].split(', ')[argIndex];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function checkArgs (spec,
functionName, args, opt_callee) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!
moduleExports.enableChecks) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var errMsg = null;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var typeName;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
spec.length; ++i) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var c =
spec.charAt(i);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cUpper =
c.toUpperCase();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var arg = args[i];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (c === '*') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: typeName =
utils.typeName(arg);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if ((arg === null ||
arg === undefined) && c === cUpper) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (typeName !==
typeMap[cUpper]) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: errMsg = 'Expected
' + typeMap[cUpper];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: break;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (errMsg) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: errMsg += ', but got '
+ typeName + '.';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: errMsg = 'Wrong type
for parameter "' + extractParamName(opt_callee || args.callee, i) + '" of ' +
functionName + ': ' + errMsg;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (typeof jasmine ===
'undefined') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
console.error(errMsg);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: throw
TypeError(errMsg);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function getValue (value,
defaultValue) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return value === undefined
? defaultValue : value;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: moduleExports.checkArgs =
checkArgs;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: moduleExports.getValue =
getValue;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: moduleExports.enableChecks =
true;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: define("cordova/base64",
function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var base64 = exports;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: base64.fromArrayBuffer =
function (arrayBuffer) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return
uint8ToBase64(array);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: base64.toArrayBuffer =
function (str) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var decodedStr = typeof
atob !== 'undefined' ? atob(str) : Buffer.from(str, 'base64').toString('binary');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var arrayBuffer = new
ArrayBuffer(decodedStr.length);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
decodedStr.length; i < len; i++) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: array[i] =
decodedStr.charCodeAt(i);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return arrayBuffer;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /* This code is based on the
performance tests at http:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * This 12-bit-at-a-time
algorithm was the best performing version on all
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * platforms tested.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var b64_6bit =
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var b64_12bit;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var b64_12bitTable = function
() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: b64_12bit = [];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < 64; i+
+) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
64; j++) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: b64_12bit[i * 64 +
j] = b64_6bit[i] + b64_6bit[j];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: b64_12bitTable = function
() { return b64_12bit; };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return b64_12bit;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function uint8ToBase64
(rawData) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var numBytes =
rawData.byteLength;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var output = '';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var segment;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var table =
b64_12bitTable();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
numBytes - 2; i += 3) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8) + rawData[i + 2];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: output +=
table[segment & 0xfff];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (numBytes - i === 2) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: output +=
b64_6bit[(segment & 0xfff) >> 6];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: output += '=';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if (numBytes - i
=== 1) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: output += '==';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return output;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: define("cordova/builder",
function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function each (objects, func,
context) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var prop in objects)
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(objects.hasOwnProperty(prop)) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
func.apply(context, [objects[prop], prop]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function clobber (obj, key,
value) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
exports.replaceHookForTesting(obj, key);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var needsProperty = false;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: obj[key] = value;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: needsProperty = true;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (needsProperty ||
obj[key] !== value) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function
assignOrWrapInDeprecateGetter (obj, key, value, message) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (message) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
console.log(message);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: delete obj[key];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function include (parent,
objects, clobber, merge) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: each(objects, function
(obj, key) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var result =
obj.path ? require(obj.path) : {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (clobber) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if
(typeof obj.path !== 'undefined') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (merge)
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
recursiveMerge(parent[key], result);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (obj.children)
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
include(result, obj.children, clobber, merge);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
utils.alert('Exception building Cordova JS globals: ' + e + ' for key "' + key +
'"');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Merge properties from one
object onto another recursively. Properties from
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * the src object will
overwrite existing target property.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param target Object to
merge properties into.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param src Object to merge
properties from.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function recursiveMerge
(target, src) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var prop in src) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(src.hasOwnProperty(prop)) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(target.prototype && target.prototype.constructor === target) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
clobber(target.prototype, prop, src[prop]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (typeof
src[prop] === 'object' && typeof target[prop] === 'object') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
recursiveMerge(target[prop], src[prop]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
clobber(target, prop, src[prop]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
exports.buildIntoButDoNotClobber = function (objects, target) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: include(target, objects,
false, false);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndClobber =
function (objects, target) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, false);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndMerge =
function (objects, target) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, true);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.recursiveMerge =
recursiveMerge;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
exports.assignOrWrapInDeprecateGetter = assignOrWrapInDeprecateGetter;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.replaceHookForTesting
= function () {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: define("cordova/channel",
function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var nextGuid = 1;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Custom pub-sub "channel"
that can have functions subscribed to it
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * This object is used to
define and control firing of events for
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * cordova initialization, as
well as for custom events thereafter.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * The order of events during
page load and Cordova startup is as follows:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * onDOMContentLoaded*
Internal event that is received when the web page is loaded and parsed.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * onNativeReady*
Internal event that indicates the Cordova native side is ready.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * onCordovaReady*
Internal event fired when all Cordova JavaScript objects have been created.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * onDeviceReady*
User event fired to indicate that Cordova is ready
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * onResume
User event fired to indicate a start/resume lifecycle event
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * onPause
User event fired to indicate a pause lifecycle event
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * The events marked with an *
are sticky. Once they have fired, they will stay in the fired state.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * All listeners that
subscribe after the event is fired will be executed right away.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * The only Cordova events
that user code should register for are:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * deviceready
Cordova native code is initialized and Cordova APIs can be called from JavaScript
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * pause
App has moved to background
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * resume
App has returned to foreground
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Listeners can be registered
as:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("deviceready", myDeviceReadyListener, false);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("resume", myResumeListener, false);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("pause", myPauseListener, false);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * The DOM lifecycle events
should be used for saving and restoring state
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * window.onload
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * window.onunload
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Channel
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @constructor
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param type String the
channel name
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var Channel = function (type,
sticky) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this.type = type;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this.handlers = {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this.state = sticky ? 1 :
0;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this.fireArgs = null;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this.numHandlers = 0;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange = null;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var channel = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Calls the provided
function only after all of the channels specified
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * have been fired. All
channels must be sticky channels.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: join: function (h, c) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var len = c.length;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var i = len;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var f = function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!(--i)) h();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
len; j++) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (c[j].state ===
0) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: throw
Error('Can only use join with sticky channels.');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: c[j].subscribe(f);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!len) h();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-
return-assign */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: create: function (type) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, false);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: createSticky: function
(type) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, true);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-
return-assign */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * cordova Channels that
must fire before "deviceready" is fired.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsArray:
[],
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsMap:
{},
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Indicate that a feature
needs to be initialized before it is ready to be used.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * This holds up Cordova's
"deviceready" event until the feature has been initialized
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * and
Cordova.initComplete(feature) is called.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: waitForInitialization:
function (feature) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (feature) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var c =
channel[feature] || this.createSticky(feature);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsMap[feature] = c;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsArray.push(c);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Indicate that
initialization code has completed and the feature is ready to be used.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: initializationComplete:
function (feature) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var c =
this.deviceReadyChannelsMap[feature];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (c) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: c.fire();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function
checkSubscriptionArgument (argument) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (typeof argument !==
'function' && typeof argument.handleEvent !== 'function') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: throw new Error(
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: 'Must provide a
function or an EventListener object ' +
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: 'implementing
the handleEvent interface.'
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: );
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Subscribes the given
function to the channel. Any time that
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Channel.fire is called so
too will the function.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Optionally specify an
execution context for the function
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * and a guid that can be used
to stop subscribing to the channel.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Returns the guid.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: Channel.prototype.subscribe =
function (eventListenerOrFunction, eventListener) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var handleEvent, guid;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: eventListener =
eventListenerOrFunction;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (this.state === 2) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
handleEvent.apply(eventListener || this, this.fireArgs);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: guid =
eventListenerOrFunction.observer_guid;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (typeof eventListener
=== 'object') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: handleEvent =
utils.close(eventListener, handleEvent);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!guid) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: guid = '' + nextGuid+
+;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: handleEvent.observer_guid
= guid;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
eventListenerOrFunction.observer_guid = guid;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!this.handlers[guid])
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this.handlers[guid] =
handleEvent;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this.numHandlers++;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 1) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Unsubscribes the function
with the given guid from the channel.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: Channel.prototype.unsubscribe
= function (eventListenerOrFunction) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var handleEvent, guid,
handler;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: guid =
handleEvent.observer_guid;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: handler =
this.handlers[guid];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (handler) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: delete
this.handlers[guid];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this.numHandlers--;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 0) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Calls all functions
subscribed to this channel.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: Channel.prototype.fire =
function (e) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var fail = false;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var fireArgs =
Array.prototype.slice.call(arguments);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (this.state === 1) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this.state = 2;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this.fireArgs =
fireArgs;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (this.numHandlers) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var toCall = [];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var item in
this.handlers) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
toCall.push(this.handlers[item]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
toCall.length; ++i) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
toCall[i].apply(this, fireArgs);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (this.state === 2
&& this.numHandlers) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this.numHandlers =
0;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this.handlers =
{};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDOMContentLoaded');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onNativeReady');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onCordovaReady');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onPluginsReady');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDeviceReady');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: channel.create('onResume');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: channel.create('onPause');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onCordovaReady');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onDOMContentLoaded');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: module.exports = channel;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: define("cordova/exec",
function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Execute a cordova command.
It is up to the native side whether this action
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * is synchronous or
asynchronous. The native side can return:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Synchronous:
PluginResult object as a JSON string
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Asynchronous: Empty
string ""
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * If async, the native side
will cordova.callbackSuccess or cordova.callbackError,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * depending upon the result
of the action.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param {Function} success
The success callback
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param {Function} fail
The fail callback
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param {String} service
The name of the service to use
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param {String} action
Action to be run in cordova
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param {String[]} [args]
Zero or more arguments to pass to the method
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova'),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: nativeApiProvider =
require('cordova/android/nativeapiprovider'),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: utils =
require('cordova/utils'),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: base64 =
require('cordova/base64'),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: channel =
require('cordova/channel'),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: jsToNativeModes = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: PROMPT: 0,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: JS_OBJECT: 1
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: nativeToJsModes = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: POLLING: 0,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: LOAD_URL: 1,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: ONLINE_EVENT: 2,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: EVAL_BRIDGE: 3
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
nativeToJsModes.EVAL_BRIDGE,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: pollEnabled = false,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: bridgeSecret = -1;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var messagesFromNative = [];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var isProcessing = false;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var resolvedPromise = typeof
Promise == 'undefined' ? null : Promise.resolve();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var nextTick = resolvedPromise
? function(fn) { resolvedPromise.then(fn); } : function(fn) { setTimeout(fn); };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function androidExec(success,
fail, service, action, args) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: throw new
Error('exec() called without bridgeSecret');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
=== undefined) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: args = args || [];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
args.length; i++) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(utils.typeName(args[i]) == 'ArrayBuffer') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: args[i] =
base64.fromArrayBuffer(args[i]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var callbackId = service +
cordova.callbackId++,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: argsJson =
JSON.stringify(args);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (success || fail) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordova.callbacks[callbackId] = {success:success, fail:fail};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().exec(bridgeSecret, service, action, callbackId, argsJson);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
== jsToNativeModes.JS_OBJECT && msgs === "@Null arguments.") {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.PROMPT);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: androidExec(success,
fail, service, action, args);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if (msgs) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: androidExec.init = function()
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: bridgeSecret = +prompt('',
'gap_init:' + nativeToJsBridgeMode);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function
pollOnceFromOnlineEvent() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: pollOnce(true);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function
pollOnce(opt_fromOnlineEvent) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().retrieveJsMessages(bridgeSecret, !!opt_fromOnlineEvent);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (msgs) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: processMessages();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function pollingTimerFunc() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (pollEnabled) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: pollOnce();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 50);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function hookOnlineApis() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function proxyEvent(e) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent(e.type);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
window.addEventListener('online', pollOnceFromOnlineEvent, false);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
window.addEventListener('offline', pollOnceFromOnlineEvent, false);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('online');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('offline');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
document.addEventListener('online', proxyEvent, false);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
document.addEventListener('offline', proxyEvent, false);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: hookOnlineApis();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: androidExec.jsToNativeModes =
jsToNativeModes;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: androidExec.nativeToJsModes =
nativeToJsModes;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode = function(mode) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (mode ==
jsToNativeModes.JS_OBJECT && !window._cordovaNative) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: mode =
jsToNativeModes.PROMPT;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.setPreferPrompt(mode == jsToNativeModes.PROMPT);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode =
mode;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
androidExec.setNativeToJsBridgeMode = function(mode) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsBridgeMode) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (nativeToJsBridgeMode
== nativeToJsModes.POLLING) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: pollEnabled = false;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
mode;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (bridgeSecret >= 0) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.get().setNativeToJsBridgeMode(bridgeSecret, mode);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsModes.POLLING) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: pollEnabled = true;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 1);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function buildPayload(payload,
message) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var payloadKind =
message.charAt(0);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (payloadKind == 's') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
payload.push(message.slice(1));
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
't') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: payload.push(true);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'f') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: payload.push(false);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'N') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: payload.push(null);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'n') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
payload.push(+message.slice(1));
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'A') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var data =
message.slice(1);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
payload.push(base64.toArrayBuffer(data));
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'S') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
payload.push(window.atob(message.slice(1)));
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'M') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var multipartMessages
= message.slice(1);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: while
(multipartMessages !== "") {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var spaceIdx =
multipartMessages.indexOf(' ');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var msgLen =
+multipartMessages.slice(0, spaceIdx);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var
multipartMessage = multipartMessages.substr(spaceIdx + 1, msgLen);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: multipartMessages
= multipartMessages.slice(spaceIdx + msgLen + 1);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
buildPayload(payload, multipartMessage);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
payload.push(JSON.parse(message));
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function
processMessage(message) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var firstChar =
message.charAt(0);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (firstChar == 'J') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
eval(message.slice(1));
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if (firstChar ==
'S' || firstChar == 'F') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var success =
firstChar == 'S';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var keepCallback =
message.charAt(1) == '1';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var spaceIdx =
message.indexOf(' ', 2);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var status =
+message.slice(2, spaceIdx);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var nextSpaceIdx =
message.indexOf(' ', spaceIdx + 1);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var callbackId =
message.slice(spaceIdx + 1, nextSpaceIdx);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var payloadMessage =
message.slice(nextSpaceIdx + 1);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var payload = [];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: buildPayload(payload,
payloadMessage);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, success, status, payload, keepCallback);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
console.log("processMessage failed: invalid message: " + JSON.stringify(message));
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function processMessages() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (isProcessing) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length === 0) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: isProcessing = true;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var msg =
popMessageFromQueue();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (msg == '*' &&
messagesFromNative.length === 0) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
nextTick(pollOnce);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: processMessage(msg);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: isProcessing = false;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length > 0) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function popMessageFromQueue()
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var messageBatch =
messagesFromNative.shift();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (messageBatch == '*') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return '*';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var spaceIdx =
messageBatch.indexOf(' ');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var msgLen =
+messageBatch.slice(0, spaceIdx);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var message =
messageBatch.substr(spaceIdx + 1, msgLen);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: messageBatch =
messageBatch.slice(spaceIdx + msgLen + 1);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (messageBatch) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
messagesFromNative.unshift(messageBatch);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return message;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: module.exports = androidExec;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: define("cordova/exec/proxy",
function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var CommandProxyMap = {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: add: function (id,
proxyObj) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: console.log('adding
proxy for ' + id);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
proxyObj;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return proxyObj;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: remove: function (id) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var proxy =
CommandProxyMap[id];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: delete
CommandProxyMap[id];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
null;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return proxy;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: get: function (service,
action) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return
(CommandProxyMap[service] ? CommandProxyMap[service][action] : null);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: define("cordova/init",
function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var pluginloader =
require('cordova/pluginloader');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var platformInitChannelsArray
= [channel.onNativeReady, channel.onPluginsReady];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function logUnfiredChannels
(arr) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
arr.length; ++i) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (arr[i].state !==
2) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
console.log('Channel not fired: ' + arr[i].type);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: window.setTimeout(function ()
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(channel.onDeviceReady.state !== 2) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
console.log('deviceready has not fired after 5 seconds.');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(platformInitChannelsArray);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(channel.deviceReadyChannelsArray);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }, 5000);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function replaceNavigator
(origNavigator) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var CordovaNavigator =
function () {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: CordovaNavigator.prototype
= origNavigator;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var newNavigator = new
CordovaNavigator();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (CordovaNavigator.bind)
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var key in
origNavigator) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (typeof
origNavigator[key] === 'function') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
newNavigator[key] = origNavigator[key].bind(origNavigator);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: (function (k)
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
utils.defineGetterSetter(newNavigator, key, function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return
origNavigator[k];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: })(key);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return newNavigator;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (window.navigator) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: window.navigator =
replaceNavigator(window.navigator);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!window.console) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: window.console = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: log: function () {}
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!window.console.warn) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: window.console.warn =
function (msg) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: this.log('warn: ' +
msg);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: channel.onPause =
cordova.addDocumentEventHandler('pause');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: channel.onResume =
cordova.addDocumentEventHandler('resume');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: channel.onActivated =
cordova.addDocumentEventHandler('activated');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: channel.onDeviceReady =
cordova.addStickyDocumentEventHandler('deviceready');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (document.readyState ===
'complete' || document.readyState === 'interactive') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
document.addEventListener('DOMContentLoaded', function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }, false);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (window._nativeReady) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova', 'cordova');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'cordova.exec');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'Cordova.exec');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: platform.bootstrap &&
platform.bootstrap();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setTimeout(function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: pluginloader.load(function
() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.onPluginsReady.fire();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Create all cordova objects
once native side is ready.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
modulemapper.mapModules(window);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: platform.initialize &&
platform.initialize();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.fire();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
require('cordova').fireDocumentEvent('deviceready');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
channel.deviceReadyChannelsArray);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }, platformInitChannelsArray);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: define("cordova/modulemapper",
function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var builder =
require('cordova/builder');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var moduleMap =
define.moduleMap;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var symbolList;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var deprecationMap;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.reset = function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: symbolList = [];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: deprecationMap = {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function addEntry (strategy,
moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!(moduleName in
moduleMap)) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: throw new
Error('Module ' + moduleName + ' does not exist.');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: symbolList.push(strategy,
moduleName, symbolPath);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(opt_deprecationMessage) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
deprecationMap[symbolPath] = opt_deprecationMessage;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.clobbers = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: addEntry('c', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.merges = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: addEntry('m', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.defaults = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: addEntry('d', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.runs = function
(moduleName) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: addEntry('r', moduleName,
null);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function prepareNamespace
(symbolPath, context) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!symbolPath) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return context;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cur = context;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0, part; part
= parts[i]; ++i) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cur = cur[part] =
cur[part] || {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return cur;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.mapModules = function
(context) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var origSymbols = {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: context.CDV_origSymbols =
origSymbols;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
symbolList.length; i < len; i += 3) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var strategy =
symbolList[i];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var moduleName =
symbolList[i + 1];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var module =
require(moduleName);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (strategy === 'r')
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var symbolPath =
symbolList[i + 2];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var lastDot =
symbolPath.lastIndexOf('.');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var namespace =
symbolPath.substr(0, lastDot);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var lastName =
symbolPath.substr(lastDot + 1);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var deprecationMsg =
symbolPath in deprecationMap ? 'Access made to deprecated symbol: ' + symbolPath +
'. ' + deprecationMsg : null;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var parentObj =
prepareNamespace(namespace, context);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var target =
parentObj[lastName];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (strategy === 'm'
&& target) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
builder.recursiveMerge(target, module);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if ((strategy
=== 'd' && !target) || (strategy !== 'd')) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!(symbolPath
in origSymbols)) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
origSymbols[symbolPath] = target;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
builder.assignOrWrapInDeprecateGetter(parentObj, lastName, module, deprecationMsg);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.getOriginalSymbol =
function (context, symbolPath) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var origSymbols =
context.CDV_origSymbols;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (origSymbols &&
(symbolPath in origSymbols)) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return
origSymbols[symbolPath];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var obj = context;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
parts.length; ++i) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: obj = obj &&
obj[parts[i]];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.reset();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: define("cordova/platform",
function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var lastResumeEvent = null;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: id: 'android',
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: bootstrap: function() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel'),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cordova =
require('cordova'),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exec =
require('cordova/exec'),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: modulemapper =
require('cordova/modulemapper');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exec.init();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/plugin/android/app', 'navigator.app');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(cordova.platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' : 'App';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var backButtonChannel
= cordova.addDocumentEventHandler('backbutton');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
backButtonChannel.onHasSubscribersChange = function() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [this.numHandlers == 1]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('menubutton');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('searchbutton');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function
bindButtonChannel(buttonName) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var
volumeButtonChannel = cordova.addDocumentEventHandler(buttonName + 'button');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
volumeButtonChannel.onHasSubscribersChange = function() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exec(null,
null, APP_PLUGIN_NAME, "overrideButton", [buttonName, this.numHandlers == 1]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumeup');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumedown');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var
cordovaAddEventListener = document.addEventListener;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
document.addEventListener = function(evt, handler, capture) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaAddEventListener(evt, handler, capture);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (evt ===
'resume' && lastResumeEvent) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
handler(lastResumeEvent);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
exec(onMessageFromNative, null, APP_PLUGIN_NAME, 'messageChannel', []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "show", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function
onMessageFromNative(msg) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var action = msg.action;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: switch (action)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: case 'backbutton':
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: case 'menubutton':
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: case 'searchbutton':
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: case 'pause':
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: case
'volumedownbutton':
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: case 'volumeupbutton':
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: break;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: case 'resume':
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
if(arguments.length > 1 && msg.pendingResult) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
if(arguments.length === 2) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = arguments[1];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var res =
[];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for(var i
= 1; i < arguments.length; i++) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
res.push(arguments[i]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = res;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
lastResumeEvent = msg;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action, msg);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: break;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: default:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: throw new
Error('Unknown event action ' + action);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
define("cordova/plugin/android/app", function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var exec =
require('cordova/exec');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(require('cordova').platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' :
'App';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Clear the resource
cache.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: clearCache:function() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearCache", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Load the url into the
webview or into new browser instance.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param url The
URL to load
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param props
Properties that can be passed in to the activity:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * wait: int
=> wait msec before loading URL
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * loadingDialog:
"Title,Message" => display a native loading dialog
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
loadUrlTimeoutValue: int => time in msec to wait before triggering a
timeout error
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * clearHistory:
boolean => clear webview history (default=false)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * openExternal:
boolean => open in a new browser (default=false)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Example:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
navigator.app.loadUrl("http:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: loadUrl:function(url,
props) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "loadUrl", [url, props]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Cancel loadUrl that is
waiting to be loaded.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cancelLoadUrl:function() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "cancelLoadUrl", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Clear web history in
this web view.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Instead of BACK button
loading the previous web page, it will exit the app.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: clearHistory:function() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearHistory", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Go to previous page
displayed.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * This is the same as
pressing the backbutton on Android device.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: backHistory:function() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "backHistory", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android back button.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * If overridden, when the
back button is pressed, the "backKeyDown" JavaScript event will be fired.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * registers for the
"backbutton" event, this is automatically done.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
overrideBackbutton:function(override) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [override]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android volume button.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * If overridden, when the
volume button is pressed, the "volume[up|down]button"
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * JavaScript event will be
fired.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * registers for the
"volume[up|down]button" event, this is automatically done.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param button
volumeup, volumedown
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
overrideButton:function(button, override) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideButton", [button, override]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Exit and terminate the
application.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exitApp:function() {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return exec(null,
null, APP_PLUGIN_NAME, "exitApp", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: define("cordova/pluginloader",
function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.injectScript =
function (url, onload, onerror) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var script =
document.createElement('script');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: script.onload = onload;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: script.onerror = onerror;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: script.src = url;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
document.head.appendChild(script);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function injectIfNecessary
(id, url, onload, onerror) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: onerror = onerror ||
onload;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
exports.injectScript(url, function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: onerror();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }, onerror);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function
onScriptLoadingComplete (moduleList, finishPluginLoading) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0, module;
module = moduleList[i]; i++) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (module.clobbers &&
module.clobbers.length) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var j = 0; j
< module.clobbers.length; j++) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers(module.id, module.clobbers[j]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (module.merges &&
module.merges.length) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var k = 0; k
< module.merges.length; k++) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
modulemapper.merges(module.id, module.merges[k]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (module.runs) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
modulemapper.runs(module.id);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function handlePluginsObject
(path, moduleList, finishPluginLoading) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var scriptCounter =
moduleList.length;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!scriptCounter) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function
scriptLoadedCallback () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!--scriptCounter)
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
onScriptLoadingComplete(moduleList, finishPluginLoading);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
moduleList.length; i++) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
injectIfNecessary(moduleList[i].id, path + moduleList[i].file,
scriptLoadedCallback);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function findCordovaPath () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var path = null;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var scripts =
document.getElementsByTagName('script');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var term = '/cordova.js';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var n =
scripts.length - 1; n > -1; n--) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var src =
scripts[n].src.replace(/\?.*$/, '');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (src.indexOf(term)
=== (src.length - term.length)) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: path =
src.substring(0, src.length - term.length) + '/';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: break;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.load = function
(callback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var pathPrefix =
findCordovaPath();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (pathPrefix === null) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: console.log('Could not
find cordova.js script tag. Plugin loading may fail.');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: pathPrefix = '';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
injectIfNecessary('cordova/plugin_list', pathPrefix + 'cordova_plugins.js',
function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var moduleList =
require('cordova/plugin_list');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
handlePluginsObject(pathPrefix, moduleList, callback);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }, callback);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: define("cordova/urlutil",
function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * For already absolute URLs,
returns what is passed in.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * For relative URLs, converts
them to absolute ones.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exports.makeAbsolute =
function makeAbsolute (url) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var anchorEl =
document.createElement('a');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: anchorEl.href = url;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return anchorEl.href;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: define("cordova/utils",
function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var utils = exports;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Defines a property getter /
setter for obj[key].
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: utils.defineGetterSetter =
function (obj, key, getFunc, opt_setFunc) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (Object.defineProperty)
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var desc = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: get: getFunc,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: configurable: true
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: desc.set =
opt_setFunc;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
Object.defineProperty(obj, key, desc);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
obj.__defineGetter__(key, getFunc);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
obj.__defineSetter__(key, opt_setFunc);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Defines a property getter
for obj[key].
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: utils.defineGetter =
utils.defineGetterSetter;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: utils.arrayIndexOf = function
(a, item) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (a.indexOf) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return
a.indexOf(item);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var len = a.length;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < len; +
+i) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (a[i] === item) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return i;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Returns whether the item
was found in the array.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: utils.arrayRemove = function
(a, item) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var index =
utils.arrayIndexOf(a, item);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (index !== -1) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: a.splice(index, 1);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return index !== -1;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: utils.typeName = function
(val) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return
Object.prototype.toString.call(val).slice(8, -1);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is an array or not
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: utils.isArray = Array.isArray
||
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function (a) {
return utils.typeName(a) === 'Array'; };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is a Date or not
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: utils.isDate = function (d) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return (d instanceof
Date);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Does a deep clone of the
object.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: utils.clone = function (obj) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (!obj || typeof obj ===
'function' || utils.isDate(obj) || typeof obj !== 'object') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var retVal, i;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (utils.isArray(obj)) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: retVal = [];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (i = 0; i <
obj.length; ++i) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
retVal.push(utils.clone(obj[i]));
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: retVal = {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (i in obj) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if ((!(i in retVal) ||
retVal[i] !== obj[i]) && typeof obj[i] !== 'undefined' && typeof obj[i] !==
'unknown') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: retVal[i] =
utils.clone(obj[i]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Returns a wrapped version
of the function
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: utils.close = function
(context, func, params) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var args = params ||
arguments;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return
func.apply(context, args);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function UUIDcreatePart
(length) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var uuidpart = '';
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
length; i++) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var uuidchar =
parseInt((Math.random() * 256), 10).toString(16);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (uuidchar.length
=== 1) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: uuidchar = '0' +
uuidchar;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: uuidpart += uuidchar;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return uuidpart;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Create a UUID
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: utils.createUUID = function ()
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return UUIDcreatePart(4) +
'-' +
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(6);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Extends a child object from
a parent object using classical inheritance
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * pattern.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: utils.extend = (function () {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var F = function () {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return function (Child,
Parent) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: F.prototype =
Parent.prototype;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: Child.prototype = new
F();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: Child.__super__ =
Parent.prototype;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
Child.prototype.constructor = Child;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }());
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Alerts a message in any
available way: alert or console.log.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: utils.alert = function (msg) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (window.alert) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: window.alert(msg);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if (console &&
console.log) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: console.log(msg);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: window.cordova =
require('cordova');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: require('cordova/init');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: })();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordova.define('cordova/plugin_list', function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: module.exports = [
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/vuforia.js",
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.vuforia",
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "vuforia"
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: ]
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/identity_resolution.js",
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.irs",
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "irs"
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: ]
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/intent_navigation_filter.js",
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.inf",
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "inf"
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: ]
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: ];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: module.exports.metadata =
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "cordova-plugin-
whitelist": "1.3.3",
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: "cordova-plugin-thingx":
"1.0.0"
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.inf", function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: allowIntent: function
(theURL, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowIntent",
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: allowNavigation: function
(theURL, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowNavigation",
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.vuforia", function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /*
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * In case a new method is
created then follow following pattern:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * function(params,
successCallback, errorCallback)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * If there is a new
parameter required to be added to existing method then
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * follow following pattern:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * function(...args)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Note: Check add3DImage
function on how both old and new methods are supported for adding
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * new param.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function resolvePath(names) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var split = names.split("
");
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var result = "";
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var path =
location.pathname;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var lastIndexOfSlash =
path.lastIndexOf('/');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: path = path.substr(0,
lastIndexOfSlash);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: for (var
i=0;i<split.length;i++) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var name = split[i];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (lastIndexOfSlash >
-1) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (result.length
> 0) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: result += " ";
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(name.startsWith("/")) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: result +=
location.origin + name;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: result +=
location.origin + path + "/" + name;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return result;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function
resolvePathIfNeeded(path) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return
resolvePath(path);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function sanitizeURL(path) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (path.indexOf(' ')
>= 0) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return
encodeURI(path);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function asBoolean(arg) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"boolean") {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"string") {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var larg =
arg.toLowerCase();
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return larg ===
"true";
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"number") {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return arg !== 0;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return !!arg;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function asString(arg) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"string") {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return "" + arg;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function asNumber(arg) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"number") {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return Number(arg);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: function
asThreeStateBoolean(arg) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (arg === null || arg
=== undefined) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (arg === "true" || arg
=== true) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return 1;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (arg === "false" || arg
=== false) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return 0;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: return asNumber(arg);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: initializeAR: function
(arMechanism, maxtrackers, extendedtracking, persistmap, near, far,
successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initializeAR",
[asString(arMechanism),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(maxtrackers),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asBoolean(extendedtracking),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asBoolean(persistmap),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(near),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(far)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setViewProperties:
function(properties, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{ };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(properties.dropshadow !== undefined) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties.dropshadow);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties["experimental-dropshadow"]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setViewProperties",
[cordovaParams]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: showARView: function
(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "showARView", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cleanUpAndPause: function
(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndPause",
[]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: pauseAR: function
(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "pauseAR", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: resumeAR: function
(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resumeAR", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: lockCameraAndOrientation:
function (successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"lockCameraAndOrientation", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
unlockCameraAndOrientation: function (successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"unlockCameraAndOrientation", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cleanUpAndContinue:
function (successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndContinue",
[]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: resetSpatialTracking:
function (successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetSpatialTracking", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: getTracked: function
(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getTracked", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: loadTrackerDef: function
(markerSet, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var ms = (markerSet
=== undefined) ? [] : markerSet;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadTrackerDef", [ms,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
window.location.href]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: addTracker: function
(nameOrParams, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var options =
nameOrParams;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(typeof(nameOrParams) === "string") {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: options = { name:
nameOrParams, trackingHints: { stationary: true } };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: options.name =
asString(options.name);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: options.trackingHints
= (options.trackingHints === undefined) ? {} : options.trackingHints;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
options.trackingHints.stationary = (options.trackingHints.stationary === false) ?
false : true;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addTracker",
[options]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: add3DObject: function
(trackerName, name, vertices, normals, texCoords, indexes, color, texture, parent,
successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DObject",
[asString(trackerName),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
normals,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
texCoords,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: addPVS: function
(trackerName, name, url, cull, parent, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: url =
resolvePathIfNeeded(sanitizeURL(url));
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addPVS",
[asString(trackerName),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(url),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: addLeaderLine: function
(trackerName, name, vertices, color, texture,
nbScreenCoord,pointSize,lineWidth,parent, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var
nbsc=(nbScreenCoord === undefined) ? "0" : nbScreenCoord;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var ps=(pointSize ===
undefined) ? "40" : pointSize;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var lw=(lineWidth ===
undefined) ? "5" : lineWidth;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addLeaderLine",
[asString(trackerName),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(nbsc),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(ps),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(lw),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: append3DObject: function
(name, mode, indexes, color, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "append3DObject",
[asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(mode),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
color
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: addEmitter: function
(trackerName, name, particles, radius, velocity, decay, gravity, spread, size,
mass, rate, wind, blend, color, texture, parent, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addEmitter",
[asString(trackerName),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(particles),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(radius),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(velocity),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(decay),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(gravity),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(spread),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(size),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(mass),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(rate),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
wind,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(blend),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /*
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: addGroup: function
(trackerName, name, cull, parent, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addGroup",
[asString(trackerName),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(parent)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: addMarker: function
(trackerName, name, src, size, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addMarker",
[asString(trackerName),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(src),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(size)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: add3DImage: function
(...args) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: let tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, preload, successCallback,
errorCallback;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (typeof args[0] ===
'object') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: let params;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: [params,
successCallback, errorCallback] = args;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: ({tracker, id,
src, parent, leaderX, leaderY, anchor, width, height, pivot, preload} = params);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else if (typeof
args[0] === 'string') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: preload = true;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: [tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, successCallback,
errorCallback] = args;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: throw new
Error('add3DImage call with invalid args');
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: src =
resolvePathIfNeeded(src);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DImage",
[asString(tracker),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(id),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
src,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
undefined,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(leaderX),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(leaderY),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(anchor),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(width),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(height),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(pivot)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: allowNextGesture:
function(params, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "allowNextGesture",
[cordovaParams]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: loadViewState:
function(params, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: viewStateID:
asNumber(params.viewStateID)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadViewState",
[cordovaParams]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: loadPVI: function (params,
successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var encodedURL =
sanitizeURL(params.url);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: url:
asString(resolvePathIfNeeded(encodedURL))
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadPVI",
[cordovaParams]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: playStep: function
(params, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playStep",
[cordovaParams]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: gotoStep: function
(params, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: position:
asString(params.position)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "gotoStep",
[cordovaParams]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setModelURL: function
(params, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var modelURL =
resolvePathIfNeeded(sanitizeURL(params.modelURL));
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: modelURL:
asString(modelURL)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setModelURL",
[cordovaParams]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setTexture: function
(name, texture, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTexture",
[asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
texture
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setColor: function (name,
color, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setColor",
[asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
color
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setVertices: function
(name, vertices, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setVertices",
[asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
vertices
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: insertGroupNode: function
(props, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "insertGroupNode",
[asString(props.name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(props.target)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: removeNode: function
(props, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "removeNode",
[asString(props.name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asBoolean(props.reparent)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setProperties: function
(name, props, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var opacity
= (props.opacity === undefined) ? -1 : props.opacity;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var hidden
= (props.hidden === undefined) ? -1 : props.hidden;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var occlude
= (props.occlude === undefined) ? false : props.occlude;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var billboard
= (props.billboard === undefined) ? false : props.billboard;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var decal
= (props.decal === undefined) ? false : props.decal;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var shader
= (props.shader === undefined) ? null : props.shader;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var phantom
= (props.phantom === undefined) ? false : props.phantom;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var forceHidden
= (props.forceHidden === undefined) ? false : props.forceHidden;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var
experimentalOneSided = (props.experimentalOneSided === undefined) ? false :
props.experimentalOneSided;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setProperties",
[asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(opacity),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asThreeStateBoolean(hidden),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asBoolean(occlude),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asBoolean(billboard),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asBoolean(decal),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(shader),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asBoolean(phantom),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asBoolean(forceHidden),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asBoolean(experimentalOneSided)]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: getAllPropertyValues:
function (name, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"getAllPropertyValues", [asString(name)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setTranslation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTranslation",
[asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setRotation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setRotation",
[asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setScale: function (name,
ax, ay, az, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 1.0 : ax;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 1.0 : ay;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 1.0 : az;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setScale",
[asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setGestures: function
(params, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var gestures = {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableTranslate !== undefined) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
gestures.enableTranslate = asBoolean(params.gestures.enableTranslate);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableRotate !== undefined) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
gestures.enableRotate = asBoolean(params.gestures.enableRotate);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableScale !== undefined) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
gestures.enableScale = asBoolean(params.gestures.enableScale);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: nodeId:
asString(params.nodeId),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: gestures: gestures
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setGestures",
[cordovaParams]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: resetGestureTransforms:
function (successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetGestureTransforms", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setupAREventsCommand:
function (successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupAREventsCommand", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
setupTrackingEventsCommand: function (successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupTrackingEventsCommand", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: transform: function (name,
dx, dy, dz, drx, dry, drz, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var x = (dx ===
undefined) ? 0.0 : dx;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var y = (dy ===
undefined) ? 0.0 : dy;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var z = (dz ===
undefined) ? 0.0 : dz;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var rx = (drx ===
undefined) ? 0.0 : drx;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var ry = (dry ===
undefined) ? 0.0 : dry;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var rz = (drz ===
undefined) ? 0.0 : drz;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "transform",
[asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(z),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(rx),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(ry),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(rz)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: resetAll: function
( successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resetAll", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: reset: function (name,
successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "reset",
[asString(name)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: setShader: function (name,
vertex, fragment, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setShader",
[asString(name),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(vertex),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(fragment)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: userPick: function
(params, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "userPick",
[asNumber(params.x),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asNumber(params.y)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: exitSpatialPlacementMode:
function(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"exitSpatialPlacementMode", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: takeScreenshot:
function(params, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: withAugmentation:
asBoolean(params.withAugmentation),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: dataURL:
asBoolean(params.dataURL),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: imgFormat:
asString(params.imgFormat),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: imgWidth:
params.imgWidth,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: imgHeight:
params.imgHeight
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "takeScreenshot",
[cordovaParams]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: startBatch: function
(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startBatch", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: executeBatch: function
(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "executeBatch", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: scanForNextBarCode:
function(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "scanForNextBarCode",
[]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: stopBarCodeScanning:
function(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopBarCodeScanning",
[]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: playSxsl: function(params,
successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playSxsl",
[asString(params.sxsl), window.location.href, params.autoOpenProcedure]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: goBack: function
(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "goBack", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
setupSpeechRecognitionCallback: function (params, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(function(guesses) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if
(successCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
successCallback(Array.isArray(guesses) ? guesses : null);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }, errorCallback,
"Vuforia", "setupSpeechRecognitionCallback", [asBoolean(params.unregister)]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: updateVoiceCommands:
function (params, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "updateVoiceCommands",
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
[asBoolean(params.clearCommands),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
params.commandsToRemove,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
params.commandsToAdd
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: ]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: forceRealWearRescan:
function(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "forceRealWearRescan",
[]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: getCameraImage:
function(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getCameraImage", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: synthesizeSpeech:
function(params, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "synthesizeSpeech",
[asString(params.text),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
asString(params.locale)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: stopSpeaking:
function(successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopSpeaking", []);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /** Ask the native plugin
to start atom on the added augmentation */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: initAtom: function(params,
successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: atomName:
asString(params.atomName),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initAtom",
[cordovaParams]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: startAtom:
function(params, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startAtom",
[cordovaParams]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: stopAtom: function(params,
successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopAtom",
[cordovaParams]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: configureAtom:
function(params, successCallback, errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var configureAtom =
(params.objectSet === undefined) ? {} : params.objectSet;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId),
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: configureAtom:
configureAtom
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "configureAtom",
[cordovaParams]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };});
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.irs", function(require, exports, module) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: queryIdentityService:
function (theID, theContentType, useFeedback, notifyNativeCode, successCallback,
errorCallback) {
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
"IdentityService", "queryIdentityService",
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
[theID, theContentType, useFeedback, notifyNativeCode]);
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl:
04-05 14:32:30.140 10638 10638 D CordovaWebViewImpl: window.thingworxview =
{"configuration":
{"nativeSequencer":true,"batchProcessing":true,"trackingHints":true,"setModelURL":t
rue}};},0);)
04-05 14:32:30.152 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:32:30.169 10638 10638 D JsMessageQueue: Set native->JS mode to
EvalBridgeMode
04-05 14:32:30.199 10638 10971 I App : WARNING: Back Button Default Behavior
will be overridden. The backbutton event will be fired!
04-05 14:32:30.202 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:32:30.202 10638 10743 I chatty : uid=10403(com.ptc.vuforiaview)
RenderThread identical 2 lines
04-05 14:32:30.202 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:32:30.211 10638 10638 I TGX-JS-Console: "Could not find cordova.js script
tag. Plugin loading may fail.", source: (1)
04-05 14:32:30.211 10638 10986 I AR : 2022-04-05 14:32:30: Vuforia build
version: 10.4.4+10014
04-05 14:32:30.211 10638 10638 I TGX-JS-Console: "onDeviceReady() fired.", source:
file:///android_asset/www/ScanningExperience/index.html (43)
04-05 14:32:30.211 10638 10638 I TGX-JS-Console: "[ng-i18next] Can't find i18next
and/or i18next options! Please refer to i18next.", source:
file:///android_asset/www/ScanningExperience/lib/i18next/ng-i18next.js (318)
04-05 14:32:30.216 10638 10986 D AR : Found and imported ARCore library.
04-05 14:32:30.218 10638 10638 W TGX-JS-Console: "TML layer asked to emit an event
with no name!", source: file:///android_asset/www/ScanningExperience/tml/vuforia-
angular.js (292)
04-05 14:32:30.223 10638 10986 I AR : 2022-04-05 14:32:30: Requested
permissions have been granted
04-05 14:32:30.241 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:32:30.241 10638 10743 I chatty : uid=10403(com.ptc.vuforiaview)
RenderThread identical 2 lines
04-05 14:32:30.241 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:32:30.243 10638 10987 I System.out: [okhttp]:check permission begin!
04-05 14:32:30.244 10638 10987 I System.out: [okhttp]:not MMS!
04-05 14:32:30.244 10638 10987 I System.out: [okhttp]:not Email!
04-05 14:32:30.333 10638 10987 I System.out: [socket]:check permission begin!
04-05 14:32:31.093 10638 10987 I System.out: [OkHttp] sendRequest>>
04-05 14:32:31.093 10638 10987 I System.out: [OkHttp] sendRequest<<
04-05 14:32:31.351 10638 10992 I
third_party/arcore/ar/core/android/sdk/session_create.cc: Entering ArSession_create
04-05 14:32:31.351 10638 10992 I
third_party/arcore/ar/core/android/sdk/session_create.cc: ARCore Version: SDK build
name: 1.29
04-05 14:32:31.352 10638 10992 I
third_party/arcore/ar/core/android/sdk/session_create.cc: ARCore Version: APK
version code: 220390123
04-05 14:32:31.386 10638 10992 I
third_party/arcore/ar/core/android/sdk/session_create.cc: Dynamite load ok.
04-05 14:32:31.387 10638 10992 I
third_party/arcore/java/com/google/vr/dynamite/client/native/dynamite_client.cc:
Attempting to load native library arcore_c from package com.google.ar.core
04-05 14:32:31.467 10638 10992 I
third_party/arcore/java/com/google/vr/dynamite/client/native/dynamite_client.cc:
Dynamite::LoadNativeRemoteLibrary handle=-4782386238254798015
04-05 14:32:31.467 10638 10992 I
third_party/arcore/ar/core/android/sdk/session_create.cc: ARCore SDK: dynamite
number_of_symbols_loaded=246
04-05 14:32:31.467 10638 10992 I native : I0405 14:32:31.467824 10992
session_create_implementation.cc:244] Entering
createImplementationWithFeaturesAndSettings. ARCore SDK version: [1.29.212840000].
04-05 14:32:31.482 10638 10992 I native : I0405 14:32:31.482397 10992
session_create_implementation.cc:208] AugmentedRegion downsample mode from
Phenotype: true
04-05 14:32:31.483 10638 10993 V
third_party/redwood/infrastructure/jni_common/jni_helper.cc: JniHelper: attached
thread (Called from line 364).
04-05 14:32:31.501 10638 10992 I native : I0405 14:32:31.501155 10992
session_create_implementation_shared.cc:2054] min_apk_version_code is: 212840000,
phenotype flag of enable_dual_camera_support is: false, phenotype flag of
unified_data_source_status is: 2, is_dual_camera_supported based on device profile
is: false
04-05 14:32:31.501 10638 10992 I native : I0405 14:32:31.501223 10992
session_create_implementation_shared.cc:2065] Settings.camera_stack_option is not
specified
04-05 14:32:31.501 10638 10992 I native : I0405 14:32:31.501234 10992
session_create_implementation_shared.cc:2142] Datasource will be created with
camera_stack_option = kUnifiedMono
04-05 14:32:31.501 10638 10992 I native : I0405 14:32:31.501312 10992
session_create_implementation_shared.cc:2236] Persistent online recalibration is
enabled by Phenotype.
04-05 14:32:31.508 10638 10992 I tflite : Initialized TensorFlow Lite runtime.
04-05 14:32:31.508 10638 10992 E libc : Access denied finding property
"ro.hardware.chipname"
04-05 14:32:31.509 10638 10992 I tflite : Created TensorFlow Lite XNNPACK delegate
for CPU.
04-05 14:32:31.509 10638 10992 I tflite : Replacing 2 node(s) with delegate
(TfLiteXNNPackDelegate) node, yielding 1 partitions.
04-05 14:32:31.510 10638 10992 I native : I0405 14:32:31.510349 10992
online_calibration_manager.cc:106] OnlineCalibrationManager: Read online
recalibration file successfully.
04-05 14:32:31.532 10638 10992 W ARCore-ContextUtils: The API key for use with the
Google AR service could not be obtained!
04-05 14:32:31.560 10638 10992 I native : I0405 14:32:31.560157 10992
android_sensors.cc:134] Using uncalibrated accelerometer.
04-05 14:32:31.560 10638 10992 I native : I0405 14:32:31.560292 10992
android_sensors.cc:173] Uncalibrated magnetometer available.
04-05 14:32:31.560 10638 10992 I native : I0405 14:32:31.560407 10992
android_sensors.cc:177] Calibrated magnetometer available.
04-05 14:32:31.560 10638 10992 I native : I0405 14:32:31.560563 10992
android_sensors.cc:190] Using SENSOR_TYPE_LIGHT
04-05 14:32:31.560 10638 10992 I native : I0405 14:32:31.560673 10992
android_sensors.cc:193] Could not find SENSOR_TYPE_PRESSURE
04-05 14:32:31.560 10638 10992 I native : I0405 14:32:31.560734 10992
android_sensors.cc:190] Using SENSOR_TYPE_PROXIMITY
04-05 14:32:31.560 10638 10992 I native : I0405 14:32:31.560775 10992
android_sensors.cc:190] Using SENSOR_TYPE_GRAVITY
04-05 14:32:31.560 10638 10992 I native : I0405 14:32:31.560820 10992
android_sensors.cc:190] Using SENSOR_TYPE_ROTATION_VECTOR
04-05 14:32:31.560 10638 10992 I native : I0405 14:32:31.560906 10992
android_sensors.cc:190] Using SENSOR_TYPE_GAME_ROTATION_VECTOR
04-05 14:32:31.560 10638 10992 I native : I0405 14:32:31.560960 10992
android_sensors.cc:190] Using SENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR
04-05 14:32:31.561 10638 10992 I native : I0405 14:32:31.561031 10992
android_sensors.cc:190] Using SENSOR_TYPE_STEP_DETECTOR
04-05 14:32:31.561 10638 10992 I native : I0405 14:32:31.561415 10992
android_platform_checks.cc:196] IsZeroRotationLandscape = false
04-05 14:32:31.561 10638 10992 I native : I0405 14:32:31.561714 10992
app_version_util.cc:50] Package name: com.google.ar.core App version:
1.30.220390123
04-05 14:32:31.561 10638 10992 I native : I0405 14:32:31.561824 10992
logger.h:28] DataSourceMetrics: CamerasInit: 1.231us
04-05 14:32:31.561 10638 10992 I native : I0405 14:32:31.561843 10992
session_create_implementation_shared.cc:1307] CPU Image enable frame delay to
compensate delay: false
04-05 14:32:31.569 10638 10992 I native : I0405 14:32:31.569146 10992
config_helpers.cc:397] Legacy IMU sigma values are used
04-05 14:32:31.570 10638 10992 I native : I0405 14:32:31.570758 10992
feature_matcher_and_filter.cc:88] Enabled the robustification to large-sized and
fast-moving objects on this mono-camera device.
04-05 14:32:31.574 10638 10992 I tflite : Replacing 3 node(s) with delegate
(TfLiteXNNPackDelegate) node, yielding 1 partitions.
04-05 14:32:31.574 10638 10992 I native : I0405 14:32:31.574878 10992
pose_confidence_estimator.cc:231] Pose confidence model loaded successfully
04-05 14:32:31.690 10638 10992 I native : I0405 14:32:31.690474 10992
asset_manager_util.cc:59] Created global reference to asset manager.
04-05 14:32:31.690 10638 10992 I native : I0405 14:32:31.690523 10992
session_create_implementation_shared.cc:1335] Normal detector created.
04-05 14:32:31.698 10638 10992 I native : I0405 14:32:31.698425 10992
planar_target_tracking_manager.h:116] Config of PlanarTargetTrackingManager:
04-05 14:32:31.698 10638 10992 I native : -
pose_refinement_with_detection_interval_ns: 0
04-05 14:32:31.698 10638 10992 I native : -min_interval_between_detections_ns:
500000000
04-05 14:32:31.698 10638 10992 I native : -filter_parallax: false
04-05 14:32:31.698 10638 10992 I native : -filter_result: true
04-05 14:32:31.698 10638 10992 I native : -multiple_targets: true
04-05 14:32:31.698 10638 10992 I native : -mini_detection: true
04-05 14:32:31.698 10638 10992 I native : -tracking_mode: 1
04-05 14:32:31.698 10638 10992 I native : -camera_id: 0
04-05 14:32:31.701 10638 10992 I native : I0405 14:32:31.701897 10992
session.cc:1624] Entering Session::Pause.
04-05 14:32:31.702 10638 10992 I native : I0405 14:32:31.702003 10992
plane_manager.cc:927] PopulatePlaneEstimationStatistics
number_of_normal_segmentations: 0, number_of_plane_normal_segment_matches: 0,
vertical_planes_boundary_area: 0, vertical_planes_ml_boundary_growth: 0,
number_of_vertical_planes: 0, number_of_vertical_planes_with_ml_boundary_growth: 0,
avg_duration_in_seconds: 0, tof_merge_quality_stats_.Empty(): true,
tof_merge_quality_stats_.hist_area_overlap_ratio_: [0.750, 0.760): 0.000000,
[0.760, 0.770): 0.000000, [0.770, 0.780): 0.000000, [0.780, 0.790): 0.000000,
[0.790, 0.800): 0.000000, [0.800, 0.810): 0.000000, [0.810, 0.820): 0.000000,
[0.820, 0.830): 0.000000, [0.830, 0.840): 0.000000, [0.840, 0.850): 0.000000,
[0.850, 0.860): 0.000000, [0.860, 0.870): 0.000000, [0.870, 0.880): 0.000000,
[0.880, 0.890): 0.000000, [0.890, 0.900): 0.000000, [0.900, 0.910): 0.000000,
[0.910, 0.920): 0.000000, [0.920, 0.930): 0.000000, [0.930, 0.940): 0.000000,
[0.940, 0.950): 0.000000, [0.950, 0.960): 0.000000, [0.960, 0.970): 0.000000,
[0.970, 0.980): 0.000000, [0.980, 0.990): 0.000000, [0.990, 1.000): 0.000000,
[1.000, inf): 0.000000, , tof_merge_quality_stats_.hist_feature_overlap_ratio_:
[0.900, 0.905): 0.000000, [0.905, 0.910): 0.000000, [0.910, 0.915): 0.000000,
[0.915, 0.920): 0.000000, [0.920, 0.925): 0.000000, [0.925, 0.930): 0.000000,
[0.930, 0.935): 0.000000, [0.935, 0.940): 0.000000, [0.940, 0.945): 0.000000,
[0.945, 0.950): 0.000000, [0.950, 0.955): 0.000000, [0.955, 0.960): 0.000000,
[0.960, 0.965): 0.000000, [0.965, 0.970): 0.000000, [0.970, 0.975): 0.000000,
[0.975, 0.980): 0.000000, [0.980, 0.985): 0.000000, [0.985, 0.990): 0.000000,
[0.990, 0.995): 0.000000, [0.995, 1.000): 0.000000, [1.000, inf): 0.000000, ,
tof_merge_quality_stats_.hist_normal_closeness_: [0.900, 0.905): 0.000000, [0.905,
0.910): 0.000000, [0.910, 0.915): 0.000000, [0.915, 0.920): 0.000000, [0.920,
0.925): 0.000000, [0.925, 0.930): 0.000000, [0.930, 0.935): 0.000000, [0.935,
0.940): 0.000000, [0.940, 0.945): 0.000000, [0.945, 0.950): 0.000000, [0.950,
0.955): 0.000000, [0.955, 0.960): 0.000000, [0.960, 0.965): 0.000000, [0.965,
0.970): 0.000000, [0.970, 0.975): 0.000000, [0.975, 0.980): 0.000000, [0.980,
0.985): 0.000000, [0.985, 0.990): 0.000000, [0.990, 0.995): 0.000000, [0.995,
1.000): 0.000000, [1.000, inf): 0.000000, ,
tof_merge_quality_stats_.hist_plane_distance_: [0.000, 0.010): 0.000000, [0.010,
0.020): 0.000000, [0.020, 0.030): 0.000000, [0.030, 0.040): 0.000000, [0.040,
0.050): 0.000000, [0.050, 0.060): 0.000000, [0.060, 0.070): 0.000000, [0.070,
0.080): 0.000000, [0.080, 0.090): 0.000000, [0.090, 0.100): 0.000000, [0.100,
0.110): 0.000000, [0.110, 0.120): 0.000000, [0.120, 0.130): 0.000000, [0.130,
0.140): 0.000000, [0.140, 0.150): 0.000000, [0.150, 0.160): 0.000000, [0.160,
0.170): 0.000000, [0.170, 0.180): 0.000000, [0.180, 0.190): 0.000000, [0.190,
0.200): 0.000000, [0.200, 0.210): 0.000000, [0.210, 0.220): 0.000000, [0.220,
0.230): 0.000000, [0.230, 0.240): 0.000000, [0.240, 0.250): 0.000000, [0.250,
0.260): 0.000000, [0.260, 0.270): 0.000000, [0.270, 0.280): 0.000000, [0.280,
0.290): 0.000000, [0.290, 0.300): 0.000000, [0.300, 0.310): 0.000000, [0.310,
0.320): 0.000000, [0.320, 0.330): 0.000000, [0.330, 0.340): 0.000000, [0.340,
0.350): 0.000000, [0.350, 0.360): 0.000000, [0.360, 0.370): 0.000000, [0.370,
0.380): 0.000000, [0.380, 0.390): 0.000000, [0.390, 0.400): 0.000000, [0.400,
0.410): 0.000000, [0.410, 0.420): 0.000000, [0.420, 0.430): 0.000000, [0.430,
0.440): 0.000000, [0.440, 0.450): 0.000000, [0.450, 0.460): 0.000000, [0.460,
0.470): 0.000000, [0.470, 0.480): 0.000000, [0.480, 0.490): 0.000000, [0.490,
0.500): 0.000000, [0.500, inf): 0.000000, , ms_merge_quality_stats_.Empty(): true,
ms_merge_quality_stats_.hist_area_overlap_ratio_: [0.750, 0.760): 0.000000, [0.760,
0.770): 0.000000, [0.770, 0.780): 0.000000, [0.780, 0.790): 0.000000, [0.790,
0.800): 0.000000, [0.800, 0.810): 0.000000, [0.810, 0.820): 0.000000, [0.820,
0.830): 0.000000, [0.830, 0.840): 0.000000, [0.840, 0.850): 0.0
04-05 14:32:31.702 10638 10992 I native :
04-05 14:32:31.702 10638 10992 I native : I0405 14:32:31.702187 10992
online_calibration_manager.cc:164] OnlineCalibrationManager: Discarding the new
online recalibration estimates.
04-05 14:32:31.702 10638 10992 I native : I0405 14:32:31.702198 10992
session.cc:1690] Session::PauseWithAnalytics returning OK.
04-05 14:32:31.702 10638 10993 W native : W0405 14:32:31.702532 10993
analytics_logger.cc:402] Could not send event. Event will be dropped.
04-05 14:32:31.702 10638 10993 W native : W0405 14:32:31.702620 10993
analytics_logger.cc:402] Could not send event. Event will be dropped.
04-05 14:32:31.702 10638 10993 W native : W0405 14:32:31.702676 10993
analytics_logger.cc:402] Could not send event. Event will be dropped.
04-05 14:32:31.702 10638 10993 W native : W0405 14:32:31.702733 10993
analytics_logger.cc:402] Could not send event. Event will be dropped.
04-05 14:32:31.702 10638 10993 W native : W0405 14:32:31.702789 10993
analytics_logger.cc:402] Could not send event. Event will be dropped.
04-05 14:32:31.702 10638 10993 W native : W0405 14:32:31.702845 10993
analytics_logger.cc:402] Could not send event. Event will be dropped.
04-05 14:32:31.702 10638 10993 W native : W0405 14:32:31.702898 10993
analytics_logger.cc:402] Could not send event. Event will be dropped.
04-05 14:32:31.702 10638 10993 W native : W0405 14:32:31.702953 10993
analytics_logger.cc:402] Could not send event. Event will be dropped.
04-05 14:32:31.703 10638 10993 W native : W0405 14:32:31.703009 10993
analytics_logger.cc:402] Could not send event. Event will be dropped.
04-05 14:32:31.703 10638 10993 W native : W0405 14:32:31.703064 10993
analytics_logger.cc:402] Could not send event. Event will be dropped.
04-05 14:32:31.703 10638 10993 W native : W0405 14:32:31.703144 10993
analytics_logger.cc:402] Could not send event. Event will be dropped.
04-05 14:32:31.703 10638 10993 W native : W0405 14:32:31.703212 10993
analytics_logger.cc:402] Could not send event. Event will be dropped.
04-05 14:32:31.704 10638 10992 I native : I0405 14:32:31.704772 10992
session_lite_c_api.cc:37] Deleting ArSession...
04-05 14:32:31.711 10638 10992 I native : I0405 14:32:31.711669 10992
session_lite_c_api.cc:39] Deleted ArSession.
04-05 14:32:31.713 10638 10986 I AR : Vuforia Fusion: Detected and enabled use
of Google ARCore
04-05 14:32:31.813 10638 10986 I
third_party/arcore/ar/core/android/sdk/session_create.cc: Entering ArSession_create
04-05 14:32:31.813 10638 10986 I
third_party/arcore/ar/core/android/sdk/session_create.cc: ARCore Version: SDK build
name: 1.29
04-05 14:32:31.813 10638 10986 I
third_party/arcore/ar/core/android/sdk/session_create.cc: ARCore Version: APK
version code: 220390123
04-05 14:32:31.814 10638 10986 I
third_party/arcore/ar/core/android/sdk/session_create.cc: Dynamite load ok.
04-05 14:32:31.814 10638 10986 I
third_party/arcore/ar/core/android/sdk/session_create.cc: ARCore SDK: dynamite
number_of_symbols_loaded=246
04-05 14:32:31.814 10638 10986 I native : I0405 14:32:31.814721 10986
session_create_implementation.cc:244] Entering
createImplementationWithFeaturesAndSettings. ARCore SDK version: [1.29.212840000].
04-05 14:32:31.818 10638 10986 I native : I0405 14:32:31.818469 10986
session_create_implementation.cc:208] AugmentedRegion downsample mode from
Phenotype: true
04-05 14:32:31.819 10638 11042 V
third_party/redwood/infrastructure/jni_common/jni_helper.cc: JniHelper: attached
thread (Called from line 364).
04-05 14:32:31.826 10638 10986 I native : I0405 14:32:31.826649 10986
session_create_implementation_shared.cc:2054] min_apk_version_code is: 212840000,
phenotype flag of enable_dual_camera_support is: false, phenotype flag of
unified_data_source_status is: 2, is_dual_camera_supported based on device profile
is: false
04-05 14:32:31.826 10638 10986 I native : I0405 14:32:31.826707 10986
session_create_implementation_shared.cc:2065] Settings.camera_stack_option is not
specified
04-05 14:32:31.826 10638 10986 I native : I0405 14:32:31.826717 10986
session_create_implementation_shared.cc:2142] Datasource will be created with
camera_stack_option = kUnifiedMono
04-05 14:32:31.826 10638 10986 I native : I0405 14:32:31.826952 10986
session_create_implementation_shared.cc:2236] Persistent online recalibration is
enabled by Phenotype.
04-05 14:32:31.827 10638 10986 I tflite : Replacing 2 node(s) with delegate
(TfLiteXNNPackDelegate) node, yielding 1 partitions.
04-05 14:32:31.827 10638 10986 I native : I0405 14:32:31.827932 10986
online_calibration_manager.cc:106] OnlineCalibrationManager: Read online
recalibration file successfully.
04-05 14:32:31.829 10638 10986 W ARCore-ContextUtils: The API key for use with the
Google AR service could not be obtained!
04-05 14:32:31.835 10638 10986 I native : I0405 14:32:31.835288 10986
android_sensors.cc:134] Using uncalibrated accelerometer.
04-05 14:32:31.835 10638 10986 I native : I0405 14:32:31.835402 10986
android_sensors.cc:173] Uncalibrated magnetometer available.
04-05 14:32:31.835 10638 10986 I native : I0405 14:32:31.835448 10986
android_sensors.cc:177] Calibrated magnetometer available.
04-05 14:32:31.835 10638 10986 I native : I0405 14:32:31.835491 10986
android_sensors.cc:190] Using SENSOR_TYPE_LIGHT
04-05 14:32:31.835 10638 10986 I native : I0405 14:32:31.835542 10986
android_sensors.cc:193] Could not find SENSOR_TYPE_PRESSURE
04-05 14:32:31.835 10638 10986 I native : I0405 14:32:31.835585 10986
android_sensors.cc:190] Using SENSOR_TYPE_PROXIMITY
04-05 14:32:31.835 10638 10986 I native : I0405 14:32:31.835628 10986
android_sensors.cc:190] Using SENSOR_TYPE_GRAVITY
04-05 14:32:31.835 10638 10986 I native : I0405 14:32:31.835677 10986
android_sensors.cc:190] Using SENSOR_TYPE_ROTATION_VECTOR
04-05 14:32:31.835 10638 10986 I native : I0405 14:32:31.835719 10986
android_sensors.cc:190] Using SENSOR_TYPE_GAME_ROTATION_VECTOR
04-05 14:32:31.835 10638 10986 I native : I0405 14:32:31.835756 10986
android_sensors.cc:190] Using SENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR
04-05 14:32:31.835 10638 10986 I native : I0405 14:32:31.835864 10986
android_sensors.cc:190] Using SENSOR_TYPE_STEP_DETECTOR
04-05 14:32:31.836 10638 10986 I native : I0405 14:32:31.836098 10986
android_platform_checks.cc:196] IsZeroRotationLandscape = false
04-05 14:32:31.836 10638 10986 I native : I0405 14:32:31.836341 10986
app_version_util.cc:50] Package name: com.google.ar.core App version:
1.30.220390123
04-05 14:32:31.836 10638 10986 I native : I0405 14:32:31.836438 10986
logger.h:28] DataSourceMetrics: CamerasInit: 924ns
04-05 14:32:31.836 10638 10986 I native : I0405 14:32:31.836457 10986
session_create_implementation_shared.cc:1307] CPU Image enable frame delay to
compensate delay: false
04-05 14:32:31.843 10638 10986 I native : I0405 14:32:31.843073 10986
config_helpers.cc:397] Legacy IMU sigma values are used
04-05 14:32:31.844 10638 10986 I native : I0405 14:32:31.844757 10986
feature_matcher_and_filter.cc:88] Enabled the robustification to large-sized and
fast-moving objects on this mono-camera device.
04-05 14:32:31.846 10638 10986 I tflite : Replacing 3 node(s) with delegate
(TfLiteXNNPackDelegate) node, yielding 1 partitions.
04-05 14:32:31.846 10638 10986 I native : I0405 14:32:31.846071 10986
pose_confidence_estimator.cc:231] Pose confidence model loaded successfully
04-05 14:32:31.846 10638 10993 V
third_party/redwood/infrastructure/jni_common/jni_helper.cc: ~JniHelper: about to
detach thread (Called from line 364).
04-05 14:32:31.846 10638 10993 V
third_party/redwood/infrastructure/jni_common/jni_helper.cc: ~JniHelper: detached
thread (Called from line 364).
04-05 14:32:31.959 10638 10986 I native : I0405 14:32:31.959771 10986
asset_manager_util.cc:59] Created global reference to asset manager.
04-05 14:32:31.959 10638 10986 I native : I0405 14:32:31.959836 10986
session_create_implementation_shared.cc:1335] Normal detector created.
04-05 14:32:31.962 10638 10986 I native : I0405 14:32:31.962891 10986
planar_target_tracking_manager.h:116] Config of PlanarTargetTrackingManager:
04-05 14:32:31.962 10638 10986 I native : -
pose_refinement_with_detection_interval_ns: 0
04-05 14:32:31.962 10638 10986 I native : -min_interval_between_detections_ns:
500000000
04-05 14:32:31.962 10638 10986 I native : -filter_parallax: false
04-05 14:32:31.962 10638 10986 I native : -filter_result: true
04-05 14:32:31.962 10638 10986 I native : -multiple_targets: true
04-05 14:32:31.962 10638 10986 I native : -mini_detection: true
04-05 14:32:31.962 10638 10986 I native : -tracking_mode: 1
04-05 14:32:31.962 10638 10986 I native : -camera_id: 0
04-05 14:32:31.991 10638 11094 D libMEOW : applied 1 plugins for
[com.ptc.vuforiaview]:
04-05 14:32:31.991 10638 11094 D libMEOW : plugin 1: [libMEOW_gift.so]:
04-05 14:32:31.993 10638 11094 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:32:31.993 10638 11094 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:32:31.993 10638 11094 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:32:31.993 10638 11094 I libMEOW_gift: ctx:0xb400007ba3b4fe90, ARC not
Enabled.
04-05 14:32:32.212 10638 10980 I TGXInitHandler: Vuforia initialization successful.
04-05 14:32:32.235 10638 10638 I TGX : TGXTrackerDataLoadHandler: Vuforia::
Tracker loading succeeded
04-05 14:32:32.236 10638 10638 I native : I0405 14:32:32.236896 10638
session.cc:1206] Entering Session::Resume.
04-05 14:32:32.237 10638 10638 I native : I0405 14:32:32.237181 10638
camera_config_manager.cc:719] UpdateBugFixes on CameraConfigManager is
unimplemented!
04-05 14:32:32.254 10638 10638 I native : I0405 14:32:32.254485 10638
session.cc:3334] Update Frame Delay to 0 frames.
04-05 14:32:32.256 10638 10638 I BufferQueueConsumer: [](id:298e00000000,api:0,p:-
1,c:10638) connect(): controlledByApp=true
04-05 14:32:32.257 10638 10638 I BufferQueueConsumer: [](id:298e00000001,api:0,p:-
1,c:10638) connect(): controlledByApp=true
04-05 14:32:32.257 10638 10638 I BufferQueueConsumer: [](id:298e00000002,api:0,p:-
1,c:10638) connect(): controlledByApp=true
04-05 14:32:32.257 10638 10638 I native : I0405 14:32:32.257756 10638
android_sensors.cc:212] Starting thread.
04-05 14:32:32.263 10638 10638 I native : I0405 14:32:32.263249 10638
logger.h:28] DataSourceMetrics: kStartImageSubSystem: 4.696384ms
04-05 14:32:32.263 10638 10638 I native : I0405 14:32:32.263308 10638
session.cc:1394] Session::ResumeWithAnalytics returning OK.
04-05 14:32:32.264 10638 11118 I native : I0405 14:32:32.263969 11118
android_sensors.cc:51] Gyro min delay 2.5ms requesting 5ms
04-05 14:32:32.264 10638 11119 D libMEOW : applied 1 plugins for
[com.ptc.vuforiaview]:
04-05 14:32:32.264 10638 11119 D libMEOW : plugin 1: [libMEOW_gift.so]:
04-05 14:32:32.265 10638 10999 E libc : Access denied finding property
"persist.vendor.camera.privapp.list"
04-05 14:32:32.266 10638 11119 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:32:32.266 10638 11119 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:32:32.266 10638 11119 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:32:32.266 10638 11119 I libMEOW_gift: ctx:0xb400007ba3b4fb58, ARC not
Enabled.
04-05 14:32:32.268 10638 11118 I native : I0405 14:32:32.267878 11118
android_sensors.cc:51] Accel min delay 2.5ms requesting 5ms
04-05 14:32:32.270 10638 11119 I native : I0405 14:32:32.270317 11119
session.cc:3334] Update Frame Delay to 0 frames.
04-05 14:32:32.271 10638 11119 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:32:32.271 10638 11119 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:32:32.271 10638 11119 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:32:32.271 10638 11119 I libMEOW_gift: ctx:0xb400007ba3b81f58, ARC not
Enabled.
04-05 14:32:32.273 10638 10638 I AR : Starting camera with profile for Redmi
Note 8 Pro, 0
04-05 14:32:32.280 10638 11105 E CameraManagerGlobal: Camera 61 is not available.
Ignore physical camera status change
04-05 14:32:32.320 10638 10654 W System : A resource failed to call end.
04-05 14:32:32.320 10638 10654 W System : A resource failed to call close.
04-05 14:32:32.333 10638 11105 W CameraManagerGlobal: ignore the torch status
update of camera: 21
04-05 14:32:32.333 10638 11105 W CameraManagerGlobal: ignore the torch status
update of camera: 22
04-05 14:32:32.333 10638 11105 W CameraManagerGlobal: ignore the torch status
update of camera: 61
04-05 14:32:32.339 10638 10638 I native : I0405 14:32:32.339851 10638
session.cc:566] New session config:
04-05 14:32:32.339 10638 10638 I native : {
04-05 14:32:32.339 10638 10638 I native : ArConfig:
04-05 14:32:32.339 10638 10638 I native : light_estimation_mode: 1
04-05 14:32:32.339 10638 10638 I native : plane_finding_mode: 3
04-05 14:32:32.339 10638 10638 I native : update_mode: 0
04-05 14:32:32.339 10638 10638 I native : earth_mode: 0
04-05 14:32:32.339 10638 10638 I native : depth_mode: 0
04-05 14:32:32.339 10638 10638 I native : augmented_face_mode: 0
04-05 14:32:32.339 10638 10638 I native : segmentation_mode: 0
04-05 14:32:32.339 10638 10638 I native : auto_framing_mode: 0
04-05 14:32:32.339 10638 10638 I native : cloud_anchor_mode: 0
04-05 14:32:32.339 10638 10638 I native : augmented_region_mode: 0
04-05 14:32:32.339 10638 10638 I native : instant_placement_mode: 0
04-05 14:32:32.339 10638 10638 I native : magical_surface_hit_test_mode: 0
04-05 14:32:32.339 10638 10638 I native : focus_mode: 1
04-05 14:32:32.339 10638 10638 I native : flash_mode: 0
04-05 14:32:32.339 10638 10638 I native : zoom_level: 1
04-05 14:32:32.339 10638 10638 I native : localize_options_base64url:
04-05 14:32:32.339 10638 10638 I native : frame_delay_override: -1
04-05 14:32:32.339 10638 10638 I native : }
04-05 14:32:32.339 10638 10638 I native : I0405 14:32:32.339974 10638
session.cc:559] Session::CheckAndWriteCurrentConfig returning OK.
04-05 14:32:32.340 10638 10638 I native : I0405 14:32:32.340011 10638
session.cc:1206] Entering Session::Resume.
04-05 14:32:32.340 10638 10638 I native : I0405 14:32:32.340025 10638
session.cc:1340] Session::ResumeWithAnalytics returning OK.
04-05 14:32:32.342 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.393 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.404 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.405 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.437 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.437 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.470 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.470 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.485 10638 11002 I BufferQueueProducer: [ImageReader-
1920x1080f22u256m16-10638-0](id:298e00000000,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=true
04-05 14:32:32.486 10638 11002 I BufferQueueProducer: [ImageReader-640x480f23m16-
10638-0](id:298e00000001,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=false
04-05 14:32:32.489 10638 11002 I BufferQueueProducer: [ImageReader-1920x1080f23m16-
10638-1](id:298e00000002,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=false
04-05 14:32:32.503 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.504 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.535 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.536 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.568 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.569 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.601 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.602 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.634 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.634 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.667 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.667 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.699 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.700 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.732 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.733 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.765 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.766 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.798 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.799 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.831 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.832 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.859 10638 11117 I native : I0405 14:32:32.858951 11117
logger.h:28] DataSourceMetrics: kFirstGlCallback: 600.396ms
04-05 14:32:32.864 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.865 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.897 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.897 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.915 10638 11230 I native : I0405 14:32:32.915231 11230
timebase_helpers.cc:169] Timebase offset intialized to 0
04-05 14:32:32.915 10638 11230 I native : I0405 14:32:32.915310 11230
logger.h:28] DataSourceMetrics: kFirstImageCallback: 656.757ms
04-05 14:32:32.919 10638 11058 W native : W0405 14:32:32.919861 11058
feature_matcher_and_filter_utils.cc:258] INVALID_ARGUMENT: integration window start
at 0
04-05 14:32:32.919 10638 11058 W native : === Source Location Trace: ===
04-05 14:32:32.919 10638 11058 W native :
third_party/redwood/perception/imu_processing/imu_integrator/imu_integrator_utils.c
c:96
04-05 14:32:32.919 10638 11058 W native : Use identity R.
04-05 14:32:32.924 10638 11230 W native : W0405 14:32:32.924471 11230
session.cc:1191] generic::invalid_argument: Sensor timestamps must be strictly
monotonically increasing.; Failed to add timestamp info to external data
synchronizer.
04-05 14:32:32.930 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:32.930 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:252 |
prepareToRender ] Vuforia:: Error getting vbMesh
04-05 14:32:32.943 10638 11119 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:32.978 10638 11119 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:33.007 10638 11119 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:33.043 10638 11119 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:33.076 10638 11119 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:33.105 10638 11119 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:33.133 10638 11119 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:33.174 10638 11119 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: Exception processing
identity resolution request
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: java.io.IOException:
Exception while obtaining HttpURLConnection.getResponseCode() result
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.ptc.thingx.cordova.plugin.core.TGXUtils.getResponseCode(TGXUtils.java:442)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.ptc.thingx.cordova.plugin.core.TGXUtils.openConnection(TGXUtils.java:601)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.ptc.thingx.cordova.plugin.identity.TGXIdentityRequestTask.run(TGXIdentityReques
tTask.java:76)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
java.util.concurrent.FutureTask.run(FutureTask.java:266)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
java.lang.Thread.run(Thread.java:923)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: Caused by:
java.util.concurrent.ExecutionException: java.net.SocketTimeoutException: failed to
connect to /192.168.1.32 (port 2019) from /100.66.225.38 (port 45652) after 5000ms
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
java.util.concurrent.FutureTask.report(FutureTask.java:123)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
java.util.concurrent.FutureTask.get(FutureTask.java:193)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.ptc.thingx.cordova.plugin.core.TGXUtils.getResponseCode(TGXUtils.java:433)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: ... 7 more
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: Caused by:
java.net.SocketTimeoutException: failed to connect to /192.168.1.32 (port 2019)
from /100.66.225.38 (port 45652) after 5000ms
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
libcore.io.IoBridge.connectErrno(IoBridge.java:190)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
libcore.io.IoBridge.connect(IoBridge.java:134)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
java.net.Socket.connect(Socket.java:631)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.android.okhttp.internal.Platform.connectSocket(Platform.java:182)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:145
)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.j
ava:186)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAlloc
ation.java:128)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:9
7)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:302)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:245)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl
.java:465)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnection
Impl.java:411)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnec
tionImpl.java:542)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.ptc.thingx.cordova.plugin.core.TGXUtils.lambda$getResponseCode$0(TGXUtils.java:
430)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: at
com.ptc.thingx.cordova.plugin.core.TGXUtils$$ExternalSyntheticLambda7.call(Unknown
Source:4)
04-05 14:32:33.681 10638 10940 E TGXIdentityRequestTask: ... 4 more
04-05 14:32:33.681 10638 10940 W TGX_ExperienceLoader: Error occurred while
fetching experiences from VES; error: java.io.IOException: Exception while
obtaining HttpURLConnection.getResponseCode() result, statusCode: 0,
wasInterrupted: false
04-05 14:32:33.681 10638 10940 I TGXIdentityRequestTask: TGXIdentityRequestTask
complete.
04-05 14:32:34.014 10638 10654 W System : A resource failed to call close.
04-05 14:32:34.613 10638 10638 D CompatibilityChangeReporter: Compat change id
reported: 147798919; UID 10403; state: ENABLED
04-05 14:32:34.758 10638 11057 E native : E0405 14:32:34.757994 11057
bundle_adjustment_initializer.cc:767] SSBA does not get enough landmarks. Found 4 <
16
04-05 14:32:34.759 10638 11057 E native : E0405 14:32:34.759859 11057
vio_initializer.cc:680] generic::internal: [SSBA Initialization] Failed to
initialize the network.;
04-05 14:32:34.759 10638 11057 E native : Initializer's SSBA failed to produce a
valid output.
04-05 14:32:34.886 10638 11057 E native : E0405 14:32:34.886792 11057
bundle_adjustment_initializer.cc:767] SSBA does not get enough landmarks. Found 7 <
16
04-05 14:32:34.886 10638 11057 E native : E0405 14:32:34.886939 11057
vio_initializer.cc:680] generic::internal: [SSBA Initialization] Failed to
initialize the network.;
04-05 14:32:34.886 10638 11057 E native : Initializer's SSBA failed to produce a
valid output.
04-05 14:32:34.963 10638 11057 E native : E0405 14:32:34.963638 11057
vio_initializer.cc:680] generic::internal: [SSBA Initialization] Failed: Image has
too few landmarks. [Required: 9, Actual: 4].;
04-05 14:32:34.963 10638 11057 E native : Initializer's SSBA failed to produce a
valid output.
04-05 14:32:35.032 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 5673(1132KB) AllocSpace objects, 14(15MB) LOS objects, 49% free, 10MB/21MB,
paused 230us total 116.383ms
04-05 14:32:35.089 10638 11057 I native : I0405 14:32:35.089237 11057
bundle_adjustment_initializer.cc:274] Intrinsic vector size of the camera 0 is 7
04-05 14:32:35.178 10638 11057 I native : I0405 14:32:35.178566 11057
bundle_adjustment_initialization.h:143] Number of measurements used in BA
initialization for temporal landmarks: 462
04-05 14:32:35.178 10638 11057 I native : I0405 14:32:35.178753 11057
bundle_adjustment_initialization.h:145] Number of good measurements (i.e.,
reprojection errors <= 3 pixels) in BA initialization for temporal landmarks: 453
04-05 14:32:35.231 10638 11119 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:35.245 10638 11119 E native : E0405 14:32:35.245086 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.266 10638 11062 I native : I0405 14:32:35.266029 11062
model_inference_cpu.cc:82] Successfully started the ArDepthCalculator graph.
04-05 14:32:35.271 10638 11237 I native : I0405 14:32:35.271407 11237
jni_util.cc:41] GetEnv: not attached
04-05 14:32:35.272 10638 11119 E native : E0405 14:32:35.272593 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.296 10638 11237 I tflite : Replacing 112 node(s) with delegate
(TfLiteXNNPackDelegate) node, yielding 12 partitions.
04-05 14:32:35.304 10638 11119 E native : E0405 14:32:35.304483 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.346 10638 11119 E native : E0405 14:32:35.346399 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.347 10638 10652 I ptc.vuforiavie: Background young concurrent
copying GC freed 11044(1546KB) AllocSpace objects, 9(9392KB) LOS objects, 43% free,
12MB/21MB, paused 271us total 116.259ms
04-05 14:32:35.372 10638 11119 E native : E0405 14:32:35.372098 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.407 10638 11119 E native : E0405 14:32:35.407177 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.438 10638 11119 E native : E0405 14:32:35.438143 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.467 10638 11119 E native : E0405 14:32:35.467485 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.501 10638 11119 E native : E0405 14:32:35.501698 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.536 10638 11119 E native : E0405 14:32:35.536826 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.567 10638 11119 E native : E0405 14:32:35.567243 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.622 10638 11119 E native : E0405 14:32:35.622372 11119
status.cc:162] FAILED_PRECONDITION:
04-05 14:32:35.622 10638 11119 E native : ARCoreError:
third_party/arcore/ar/core/cpu_image_manager.cc:308
04-05 14:32:35.622 10638 11119 E native :
[type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_A
VAILABLE']
04-05 14:32:35.622 10638 11119 E native : === Source Location Trace: ===
04-05 14:32:35.622 10638 11119 E native :
third_party/arcore/ar/core/cpu_image_manager.cc:308
04-05 14:32:35.622 10638 11119 E native :
04-05 14:32:35.667 10638 11119 E native : E0405 14:32:35.667559 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.674 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 34149(2833KB) AllocSpace objects, 10(9648KB) LOS objects, 50% free,
14MB/29MB, paused 174us total 126.117ms
04-05 14:32:35.694 10638 11119 E native : E0405 14:32:35.694469 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.723 10638 11119 E native : E0405 14:32:35.722988 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.755 10638 11119 E native : E0405 14:32:35.755916 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.789 10638 11119 E native : E0405 14:32:35.789583 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.828 10638 11119 E native : E0405 14:32:35.828060 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.854 10638 11119 E native : E0405 14:32:35.854793 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.887 10638 11119 E native : E0405 14:32:35.887680 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.927 10638 11119 E native : E0405 14:32:35.927635 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.955 10638 11119 E native : E0405 14:32:35.954973 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:35.988 10638 11119 E native : E0405 14:32:35.988854 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:36.030 10638 11119 E native : E0405 14:32:36.030641 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:36.070 10638 10731 I System.out: [okhttp]:check permission begin!
04-05 14:32:36.070 10638 10731 I System.out: [okhttp]:not MMS!
04-05 14:32:36.070 10638 10731 I System.out: [okhttp]:not Email!
04-05 14:32:36.073 10638 11119 E native : E0405 14:32:36.073558 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:36.096 10638 11119 E native : E0405 14:32:36.096035 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:36.127 10638 11119 E native : E0405 14:32:36.127343 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:36.136 10638 10731 I System.out: [socket]:check permission begin!
04-05 14:32:36.162 10638 11119 E native : E0405 14:32:36.162226 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:36.199 10638 11119 E native : E0405 14:32:36.199382 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:36.227 10638 11119 E native : E0405 14:32:36.227421 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:36.259 10638 11119 E native : E0405 14:32:36.259555 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:36.302 10638 11119 E native : E0405 14:32:36.302232 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:36.365 10638 11119 E native : E0405 14:32:36.365577 11119
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:36.433 10638 10638 I native : I0405 14:32:36.433488 10638
session.cc:1624] Entering Session::Pause.
04-05 14:32:36.434 10638 10638 I native : I0405 14:32:36.433884 10638
plane_manager.cc:927] PopulatePlaneEstimationStatistics
number_of_normal_segmentations: 0, number_of_plane_normal_segment_matches: 0,
vertical_planes_boundary_area: 0, vertical_planes_ml_boundary_growth: 0,
number_of_vertical_planes: 0, number_of_vertical_planes_with_ml_boundary_growth: 0,
avg_duration_in_seconds: 0, tof_merge_quality_stats_.Empty(): true,
tof_merge_quality_stats_.hist_area_overlap_ratio_: [0.750, 0.760): 0.000000,
[0.760, 0.770): 0.000000, [0.770, 0.780): 0.000000, [0.780, 0.790): 0.000000,
[0.790, 0.800): 0.000000, [0.800, 0.810): 0.000000, [0.810, 0.820): 0.000000,
[0.820, 0.830): 0.000000, [0.830, 0.840): 0.000000, [0.840, 0.850): 0.000000,
[0.850, 0.860): 0.000000, [0.860, 0.870): 0.000000, [0.870, 0.880): 0.000000,
[0.880, 0.890): 0.000000, [0.890, 0.900): 0.000000, [0.900, 0.910): 0.000000,
[0.910, 0.920): 0.000000, [0.920, 0.930): 0.000000, [0.930, 0.940): 0.000000,
[0.940, 0.950): 0.000000, [0.950, 0.960): 0.000000, [0.960, 0.970): 0.000000,
[0.970, 0.980): 0.000000, [0.980, 0.990): 0.000000, [0.990, 1.000): 0.000000,
[1.000, inf): 0.000000, , tof_merge_quality_stats_.hist_feature_overlap_ratio_:
[0.900, 0.905): 0.000000, [0.905, 0.910): 0.000000, [0.910, 0.915): 0.000000,
[0.915, 0.920): 0.000000, [0.920, 0.925): 0.000000, [0.925, 0.930): 0.000000,
[0.930, 0.935): 0.000000, [0.935, 0.940): 0.000000, [0.940, 0.945): 0.000000,
[0.945, 0.950): 0.000000, [0.950, 0.955): 0.000000, [0.955, 0.960): 0.000000,
[0.960, 0.965): 0.000000, [0.965, 0.970): 0.000000, [0.970, 0.975): 0.000000,
[0.975, 0.980): 0.000000, [0.980, 0.985): 0.000000, [0.985, 0.990): 0.000000,
[0.990, 0.995): 0.000000, [0.995, 1.000): 0.000000, [1.000, inf): 0.000000, ,
tof_merge_quality_stats_.hist_normal_closeness_: [0.900, 0.905): 0.000000, [0.905,
0.910): 0.000000, [0.910, 0.915): 0.000000, [0.915, 0.920): 0.000000, [0.920,
0.925): 0.000000, [0.925, 0.930): 0.000000, [0.930, 0.935): 0.000000, [0.935,
0.940): 0.000000, [0.940, 0.945): 0.000000, [0.945, 0.950): 0.000000, [0.950,
0.955): 0.000000, [0.955, 0.960): 0.000000, [0.960, 0.965): 0.000000, [0.965,
0.970): 0.000000, [0.970, 0.975): 0.000000, [0.975, 0.980): 0.000000, [0.980,
0.985): 0.000000, [0.985, 0.990): 0.000000, [0.990, 0.995): 0.000000, [0.995,
1.000): 0.000000, [1.000, inf): 0.000000, ,
tof_merge_quality_stats_.hist_plane_distance_: [0.000, 0.010): 0.000000, [0.010,
0.020): 0.000000, [0.020, 0.030): 0.000000, [0.030, 0.040): 0.000000, [0.040,
0.050): 0.000000, [0.050, 0.060): 0.000000, [0.060, 0.070): 0.000000, [0.070,
0.080): 0.000000, [0.080, 0.090): 0.000000, [0.090, 0.100): 0.000000, [0.100,
0.110): 0.000000, [0.110, 0.120): 0.000000, [0.120, 0.130): 0.000000, [0.130,
0.140): 0.000000, [0.140, 0.150): 0.000000, [0.150, 0.160): 0.000000, [0.160,
0.170): 0.000000, [0.170, 0.180): 0.000000, [0.180, 0.190): 0.000000, [0.190,
0.200): 0.000000, [0.200, 0.210): 0.000000, [0.210, 0.220): 0.000000, [0.220,
0.230): 0.000000, [0.230, 0.240): 0.000000, [0.240, 0.250): 0.000000, [0.250,
0.260): 0.000000, [0.260, 0.270): 0.000000, [0.270, 0.280): 0.000000, [0.280,
0.290): 0.000000, [0.290, 0.300): 0.000000, [0.300, 0.310): 0.000000, [0.310,
0.320): 0.000000, [0.320, 0.330): 0.000000, [0.330, 0.340): 0.000000, [0.340,
0.350): 0.000000, [0.350, 0.360): 0.000000, [0.360, 0.370): 0.000000, [0.370,
0.380): 0.000000, [0.380, 0.390): 0.000000, [0.390, 0.400): 0.000000, [0.400,
0.410): 0.000000, [0.410, 0.420): 0.000000, [0.420, 0.430): 0.000000, [0.430,
0.440): 0.000000, [0.440, 0.450): 0.000000, [0.450, 0.460): 0.000000, [0.460,
0.470): 0.000000, [0.470, 0.480): 0.000000, [0.480, 0.490): 0.000000, [0.490,
0.500): 0.000000, [0.500, inf): 0.000000, , ms_merge_quality_stats_.Empty(): true,
ms_merge_quality_stats_.hist_area_overlap_ratio_: [0.750, 0.760): 0.000000, [0.760,
0.770): 0.000000, [0.770, 0.780): 0.000000, [0.780, 0.790): 0.000000, [0.790,
0.800): 0.000000, [0.800, 0.810): 0.000000, [0.810, 0.820): 0.000000, [0.820,
0.830): 0.000000, [0.830, 0.840): 0.000000, [0.840, 0.850): 0.0
04-05 14:32:36.434 10638 10638 I native :
04-05 14:32:36.434 10638 10638 I native : I0405 14:32:36.434356 10638
online_calibration_manager.cc:164] OnlineCalibrationManager: Discarding the new
online recalibration estimates.
04-05 14:32:36.436 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:32:36.629 10638 10930 W CameraManagerGlobal: ignore the torch status
update of camera: 21
04-05 14:32:36.629 10638 10930 W CameraManagerGlobal: ignore the torch status
update of camera: 22
04-05 14:32:36.629 10638 10930 W CameraManagerGlobal: ignore the torch status
update of camera: 61
04-05 14:32:36.630 10638 11150 I BufferQueueProducer: [ImageReader-
1920x1080f22u256m16-10638-0](id:298e00000000,api:4,p:858,c:10638) disconnect():
api=4
04-05 14:32:36.632 10638 11150 I BufferQueueProducer: [ImageReader-640x480f23m16-
10638-0](id:298e00000001,api:4,p:858,c:10638) disconnect(): api=4
04-05 14:32:36.636 10638 11150 I BufferQueueProducer: [ImageReader-1920x1080f23m16-
10638-1](id:298e00000002,api:4,p:858,c:10638) disconnect(): api=4
04-05 14:32:36.641 10638 11105 E CameraManagerGlobal: Camera 61 is not available.
Ignore physical camera status change
04-05 14:32:36.644 10638 10638 I native : I0405 14:32:36.644781 10638
logger.h:28] DataSourceMetrics: kStopImageSubSystem: 185.350461ms
04-05 14:32:36.648 10638 10638 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:32:36.651 10638 10638 E native : E0405 14:32:36.651414 10638
scheduler.cc:278] generic::internal: RET_CHECK failure
(third_party/mediapipe/framework/scheduler.cc:278) state_ != STATE_NOT_STARTED (0
vs. 0)
04-05 14:32:36.651 10638 10638 E native : Stack trace:
04-05 14:32:36.651 10638 10638 E native :
04-05 14:32:36.651 10638 10638 E native : E0405 14:32:36.651562 10638
normal_detector_cpu.cc:231] Error graph_->WaitUntilIdle():INTERNAL: RET_CHECK
failure (third_party/mediapipe/framework/scheduler.cc:278) state_ !=
STATE_NOT_STARTED (0 vs. 0)
04-05 14:32:36.651 10638 10638 E native : === Source Location Trace: ===
04-05 14:32:36.651 10638 10638 E native :
third_party/mediapipe/framework/scheduler.cc:278
04-05 14:32:36.651 10638 10638 E native :
third_party/mediapipe/framework/calculator_graph.cc:805
04-05 14:32:36.651 10638 10638 E native :
04-05 14:32:36.651 10638 10638 I native : I0405 14:32:36.651604 10638
session.cc:1732] Session::PauseWithAnalytics returning OK.
04-05 14:32:36.662 10638 11038 I System.out: [okhttp]:check permission begin!
04-05 14:32:36.662 10638 11038 I System.out: [okhttp]:not MMS!
04-05 14:32:36.662 10638 11038 I System.out: [okhttp]:not Email!
04-05 14:32:36.662 10638 11038 I System.out: [socket]:check permission begin!
04-05 14:32:36.666 10638 11040 I System.out: [okhttp]:check permission begin!
04-05 14:32:36.666 10638 11040 I System.out: [okhttp]:not MMS!
04-05 14:32:36.666 10638 11040 I System.out: [okhttp]:not Email!
04-05 14:32:36.667 10638 11040 I System.out: [socket]:check permission begin!
04-05 14:32:36.677 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:32:36.894 10638 10731 I System.out: [OkHttp] sendRequest<<
04-05 14:32:37.142 10638 11038 I System.out: [OkHttp] sendRequest<<
04-05 14:32:37.143 10638 11040 I System.out: [OkHttp] sendRequest<<
04-05 14:32:38.997 10638 10943 I TGX : UniversalLinkStatusManager: Unable to
reach universal link server https://view.vuforia.com/command/ping
04-05 14:32:38.997 10638 10943 I TGX : java.io.IOException: Exception while
obtaining HttpURLConnection.getResponseCode() result
04-05 14:32:38.997 10638 10943 I TGX : at
com.ptc.thingx.cordova.plugin.core.TGXUtils.getResponseCode(TGXUtils.java:442)
04-05 14:32:38.997 10638 10943 I TGX : at
com.ptc.thingbrowser.UniversalLinkStatusManager.lambda$checkUniversalLinkAvailabili
ty$0$com-ptc-thingbrowser-
UniversalLinkStatusManager(UniversalLinkStatusManager.java:78)
04-05 14:32:38.997 10638 10943 I TGX : at
com.ptc.thingbrowser.UniversalLinkStatusManager$
$ExternalSyntheticLambda0.run(Unknown Source:2)
04-05 14:32:38.997 10638 10943 I TGX : at
java.lang.Thread.run(Thread.java:923)
04-05 14:32:38.997 10638 10943 I TGX : Caused by:
java.util.concurrent.ExecutionException: java.net.SocketTimeoutException: Read
timed out
04-05 14:32:38.997 10638 10943 I TGX : at
java.util.concurrent.FutureTask.report(FutureTask.java:123)
04-05 14:32:38.997 10638 10943 I TGX : at
java.util.concurrent.FutureTask.get(FutureTask.java:193)
04-05 14:32:38.997 10638 10943 I TGX : at
com.ptc.thingx.cordova.plugin.core.TGXUtils.getResponseCode(TGXUtils.java:433)
04-05 14:32:38.997 10638 10943 I TGX : ... 3 more
04-05 14:32:38.997 10638 10943 I TGX : Caused by:
java.net.SocketTimeoutException: Read timed out
04-05 14:32:38.997 10638 10943 I TGX : at
java.net.SocketInputStream.socketRead0(Native Method)
04-05 14:32:38.997 10638 10943 I TGX : at
java.net.SocketInputStream.socketRead(SocketInputStream.java:119)
04-05 14:32:38.997 10638 10943 I TGX : at
java.net.SocketInputStream.read(SocketInputStream.java:176)
04-05 14:32:38.997 10638 10943 I TGX : at
java.net.SocketInputStream.read(SocketInputStream.java:144)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readFromSocket(Consc
ryptEngineSocket.java:936)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocke
t(ConscryptEngineSocket.java:900)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.access$100(Conscrypt
EngineSocket.java:722)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.j
ava:238)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocke
t.java:217)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:196)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:153
)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.j
ava:186)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAlloc
ation.java:128)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:9
7)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:302)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:245)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl
.java:465)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnection
Impl.java:411)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnec
tionImpl.java:542)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(Delega
tingHttpsURLConnection.java:106)
04-05 14:32:38.997 10638 10943 I TGX : at
com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConn
ectionImpl.java:30)
04-05 14:32:38.997 10638 10943 I TGX : at
com.ptc.thingx.cordova.plugin.core.TGXUtils.lambda$getResponseCode$0(TGXUtils.java:
430)
04-05 14:32:38.997 10638 10943 I TGX : at
com.ptc.thingx.cordova.plugin.core.TGXUtils$$ExternalSyntheticLambda7.call(Unknown
Source:4)
04-05 14:32:38.997 10638 10943 I TGX : at
java.util.concurrent.FutureTask.run(FutureTask.java:266)
04-05 14:32:38.997 10638 10943 I TGX : at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
04-05 14:32:38.997 10638 10943 I TGX : at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
04-05 14:32:38.997 10638 10943 I TGX : ... 1 more
04-05 14:32:40.371 10638 10638 D JsMessageQueue: Set native->JS mode to null
04-05 14:32:40.371 10638 10638 D CordovaWebViewImpl:
onPageDidNavigate(file:///android_asset/www/ScanningExperience/index.html)
04-05 14:32:40.375 10638 11254 I TGX_C++ : [ ObserverManager.cpp:135 |
resetObservers ] Vuforia:: resetObservers() finished
04-05 14:32:40.382 10638 11254 D JsMessageQueue: Dropping Native->JS message due to
disabled bridge
04-05 14:32:40.383 10638 10970 E TGX_C++ : [ CameraPreviewWatcherJavaBridge.cpp:73
|callGrayscaleCallback ] CameraScanner:: Image buffer is invalid
04-05 14:32:40.390 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:32:40.397 10638 10638 E TGX_C++ : [ VuforiaManager.cpp:511 |
resumeIfNeeded ] Vuforia:: AR not requested, skipping
04-05 14:32:40.408 10638 10638 D CordovaWebViewImpl:
onPageFinished(file:///android_asset/www/ScanningExperience/index.html)
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: >>>
loadUrl(javascript:setTimeout(function(){
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /*
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: Licensed to the Apache
Software Foundation (ASF) under one
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: or more contributor license
agreements. See the NOTICE file
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: distributed with this work
for additional information
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: regarding copyright
ownership. The ASF licenses this file
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: to you under the Apache
License, Version 2.0 (the
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: "License"); you may not use
this file except in compliance
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: with the License. You may
obtain a copy of the License at
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: http:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: Unless required by applicable
law or agreed to in writing,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: software distributed under
the License is distributed on an
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: KIND, either express or
implied. See the License for the
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: specific language governing
permissions and limitations
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: under the License.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: ;(function() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var
PLATFORM_VERSION_BUILD_LABEL = '8.0.0';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var require;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var define;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: (function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var modules = {};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var requireStack = [];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var inProgressModules =
{};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var SEPARATOR = '.';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function build (module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var factory =
module.factory;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var localRequire =
function (id) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var resultantId =
id;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (id.charAt(0)
=== '.') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: resultantId =
module.id.slice(0, module.id.lastIndexOf(SEPARATOR)) + SEPARATOR + id.slice(2);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
require(resultantId);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: module.exports = {};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: delete module.factory;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: factory(localRequire,
module.exports, module);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return module.exports;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: require = function (id) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!modules[id]) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' not found';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if (id in
inProgressModules) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var cycle =
requireStack.slice(inProgressModules[id]).join('->') + '->' + id;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: throw 'Cycle in
require graph: ' + cycle;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if
(modules[id].factory) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
inProgressModules[id] = requireStack.length;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
requireStack.push(id);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
build(modules[id]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: delete
inProgressModules[id];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
requireStack.pop();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
modules[id].exports;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define = function (id,
factory) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (modules[id]) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' already defined';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: modules[id] = {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: id: id,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: factory: factory
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define.remove = function
(id) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: delete modules[id];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define.moduleMap =
modules;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: })();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof module === 'object'
&& typeof require === 'function') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: module.exports.require =
require;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: module.exports.define =
define;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define("cordova",
function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (window.cordova && !
(window.cordova instanceof HTMLElement)) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: throw new Error('cordova
already defined');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Intercept calls to
addEventListener + removeEventListener and handle deviceready,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * resume, and pause events.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var
m_document_addEventListener = document.addEventListener;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var
m_document_removeEventListener = document.removeEventListener;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var m_window_addEventListener
= window.addEventListener;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var
m_window_removeEventListener = window.removeEventListener;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Houses custom event
handlers to intercept on document + window event listeners.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var documentEventHandlers =
{};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var windowEventHandlers = {};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: document.addEventListener =
function (evt, handler, capture) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].subscribe(handler);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
m_document_addEventListener.call(document, evt, handler, capture);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: window.addEventListener =
function (evt, handler, capture) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].subscribe(handler);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
m_window_addEventListener.call(window, evt, handler, capture);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: document.removeEventListener =
function (evt, handler, capture) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].unsubscribe(handler);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
m_document_removeEventListener.call(document, evt, handler, capture);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: window.removeEventListener =
function (evt, handler, capture) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].unsubscribe(handler);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
m_window_removeEventListener.call(window, evt, handler, capture);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function createEvent (type,
data) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var event =
document.createEvent('Events');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: event.initEvent(type,
false, false);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (data) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i in data) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if
(data.hasOwnProperty(i)) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: event[i] =
data[i];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return event;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-undef */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var cordova = {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define: define,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: require: require,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: version:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: platformVersion:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: platformId: platform.id,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-undef
*/
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Methods to add/remove
your own addEventListener hijacking on document + window.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: addWindowEventHandler:
function (event) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
(windowEventHandlers[event] = channel.create(event));
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
addStickyDocumentEventHandler: function (event) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.createSticky(event));
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: addDocumentEventHandler:
function (event) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.create(event));
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: removeWindowEventHandler:
function (event) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: delete
windowEventHandlers[event];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
removeDocumentEventHandler: function (event) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: delete
documentEventHandlers[event];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Retrieve original event
handlers that were replaced by Cordova
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @return object
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: getOriginalHandlers:
function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return {'document':
{'addEventListener': m_document_addEventListener, 'removeEventListener':
m_document_removeEventListener},
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: 'window':
{'addEventListener': m_window_addEventListener, 'removeEventListener':
m_window_removeEventListener}};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Method to fire event
from native code
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * bNoDetach is required
for events which cause an exception which needs to be caught in native code
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: fireDocumentEvent:
function (type, data, bNoDetach) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[type] !== 'undefined') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (bNoDetach) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (type
=== 'deviceready') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: fireWindowEvent: function
(type, data) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[type] !== 'undefined') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[type].fire(evt);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
window.dispatchEvent(evt);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Plugin callback
mechanism.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: callbackId:
Math.floor(Math.random() * 2000000000),
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: callbacks: {},
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: callbackStatus: {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: NO_RESULT: 0,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: OK: 1,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
CLASS_NOT_FOUND_EXCEPTION: 2,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
ILLEGAL_ACCESS_EXCEPTION: 3,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
INSTANTIATION_EXCEPTION: 4,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
MALFORMED_URL_EXCEPTION: 5,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: IO_EXCEPTION: 6,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: INVALID_ACTION: 7,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: JSON_EXCEPTION: 8,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: ERROR: 9
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning successful result from an action.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: callbackSuccess: function
(callbackId, args) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, true, args.status, [args.message],
args.keepCallback);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning error result from an action.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: callbackError: function
(callbackId, args) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, false, args.status, [args.message],
args.keepCallback);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning the result from an action.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: callbackFromNative:
function (callbackId, isSuccess, status, args, keepCallback) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var callback =
cordova.callbacks[callbackId];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (callback) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (isSuccess
&& status === cordova.callbackStatus.OK) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
callback.success && callback.success.apply(null, args);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if (!
isSuccess) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
callback.fail && callback.fail.apply(null, args);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /*
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: else
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: Note, this
case is intentionally not caught.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this can
happen if isSuccess is true, but callbackStatus is NO_RESULT
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: which is
used to remove a callback from the list without calling the callbacks
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: typically
keepCallback is false in this case
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!
keepCallback) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: delete
cordova.callbacks[callbackId];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } catch (err) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var msg = 'Error
in ' + (isSuccess ? 'Success' : 'Error') + ' callbackId: ' + callbackId + ' : ' +
err;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: console &&
console.log && console.log(msg);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: console &&
console.log && err.stack && console.log(err.stack);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent('cordovacallbackerror', { 'message': msg });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: throw err;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: addConstructor: function
(func) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: func();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
console.log('Failed to run constructor: ' + e);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: module.exports = cordova;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
define("cordova/android/nativeapiprovider", function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Exports the
ExposedJsApi.java object if available, otherwise exports the PromptBasedNativeApi.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var nativeApi =
this._cordovaNative || require('cordova/android/promptbasednativeapi');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var currentApi = nativeApi;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: get: function() { return
currentApi; },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: setPreferPrompt:
function(value) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: currentApi = value ?
require('cordova/android/promptbasednativeapi') : nativeApi;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: set: function(value) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: currentApi = value;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
define("cordova/android/promptbasednativeapi", function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Implements the API of
ExposedJsApi.java, but uses prompt() to communicate.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * This is used pre-JellyBean,
where addJavascriptInterface() is disabled.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exec:
function(bridgeSecret, service, action, callbackId, argsJson) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
prompt(argsJson, 'gap:'+JSON.stringify([bridgeSecret, service, action,
callbackId]));
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: setNativeToJsBridgeMode:
function(bridgeSecret, value) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: prompt(value,
'gap_bridge_mode:' + bridgeSecret);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: retrieveJsMessages:
function(bridgeSecret, fromOnlineEvent) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
prompt(+fromOnlineEvent, 'gap_poll:' + bridgeSecret);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define("cordova/argscheck",
function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var moduleExports =
module.exports;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var typeMap = {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: 'A': 'Array',
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: 'D': 'Date',
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: 'N': 'Number',
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: 'S': 'String',
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: 'F': 'Function',
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: 'O': 'Object'
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function extractParamName
(callee, argIndex) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return (/.*?\
((.*?)\)/).exec(callee)[1].split(', ')[argIndex];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function checkArgs (spec,
functionName, args, opt_callee) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!
moduleExports.enableChecks) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var errMsg = null;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var typeName;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
spec.length; ++i) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var c =
spec.charAt(i);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var cUpper =
c.toUpperCase();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var arg = args[i];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (c === '*') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: typeName =
utils.typeName(arg);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if ((arg === null ||
arg === undefined) && c === cUpper) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeName !==
typeMap[cUpper]) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: errMsg = 'Expected
' + typeMap[cUpper];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: break;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (errMsg) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: errMsg += ', but got '
+ typeName + '.';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: errMsg = 'Wrong type
for parameter "' + extractParamName(opt_callee || args.callee, i) + '" of ' +
functionName + ': ' + errMsg;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof jasmine ===
'undefined') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
console.error(errMsg);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: throw
TypeError(errMsg);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function getValue (value,
defaultValue) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return value === undefined
? defaultValue : value;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: moduleExports.checkArgs =
checkArgs;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: moduleExports.getValue =
getValue;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: moduleExports.enableChecks =
true;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define("cordova/base64",
function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var base64 = exports;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: base64.fromArrayBuffer =
function (arrayBuffer) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
uint8ToBase64(array);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: base64.toArrayBuffer =
function (str) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var decodedStr = typeof
atob !== 'undefined' ? atob(str) : Buffer.from(str, 'base64').toString('binary');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var arrayBuffer = new
ArrayBuffer(decodedStr.length);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
decodedStr.length; i < len; i++) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: array[i] =
decodedStr.charCodeAt(i);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return arrayBuffer;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /* This code is based on the
performance tests at http:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * This 12-bit-at-a-time
algorithm was the best performing version on all
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * platforms tested.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var b64_6bit =
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var b64_12bit;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var b64_12bitTable = function
() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: b64_12bit = [];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < 64; i+
+) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
64; j++) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: b64_12bit[i * 64 +
j] = b64_6bit[i] + b64_6bit[j];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: b64_12bitTable = function
() { return b64_12bit; };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return b64_12bit;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function uint8ToBase64
(rawData) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var numBytes =
rawData.byteLength;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var output = '';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var segment;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var table =
b64_12bitTable();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
numBytes - 2; i += 3) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8) + rawData[i + 2];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: output +=
table[segment & 0xfff];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (numBytes - i === 2) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: output +=
b64_6bit[(segment & 0xfff) >> 6];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: output += '=';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if (numBytes - i
=== 1) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: output += '==';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return output;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define("cordova/builder",
function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function each (objects, func,
context) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var prop in objects)
{
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if
(objects.hasOwnProperty(prop)) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
func.apply(context, [objects[prop], prop]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function clobber (obj, key,
value) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
exports.replaceHookForTesting(obj, key);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var needsProperty = false;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: obj[key] = value;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: needsProperty = true;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (needsProperty ||
obj[key] !== value) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function
assignOrWrapInDeprecateGetter (obj, key, value, message) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (message) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
console.log(message);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: delete obj[key];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function include (parent,
objects, clobber, merge) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: each(objects, function
(obj, key) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var result =
obj.path ? require(obj.path) : {};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (clobber) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if
(typeof obj.path !== 'undefined') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (merge)
{
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
recursiveMerge(parent[key], result);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (obj.children)
{
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
include(result, obj.children, clobber, merge);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
utils.alert('Exception building Cordova JS globals: ' + e + ' for key "' + key +
'"');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Merge properties from one
object onto another recursively. Properties from
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * the src object will
overwrite existing target property.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param target Object to
merge properties into.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param src Object to merge
properties from.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function recursiveMerge
(target, src) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var prop in src) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if
(src.hasOwnProperty(prop)) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if
(target.prototype && target.prototype.constructor === target) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
clobber(target.prototype, prop, src[prop]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof
src[prop] === 'object' && typeof target[prop] === 'object') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
recursiveMerge(target[prop], src[prop]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
clobber(target, prop, src[prop]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
exports.buildIntoButDoNotClobber = function (objects, target) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: include(target, objects,
false, false);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndClobber =
function (objects, target) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, false);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndMerge =
function (objects, target) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, true);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.recursiveMerge =
recursiveMerge;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
exports.assignOrWrapInDeprecateGetter = assignOrWrapInDeprecateGetter;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.replaceHookForTesting
= function () {};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define("cordova/channel",
function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var nextGuid = 1;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Custom pub-sub "channel"
that can have functions subscribed to it
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * This object is used to
define and control firing of events for
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * cordova initialization, as
well as for custom events thereafter.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * The order of events during
page load and Cordova startup is as follows:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * onDOMContentLoaded*
Internal event that is received when the web page is loaded and parsed.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * onNativeReady*
Internal event that indicates the Cordova native side is ready.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * onCordovaReady*
Internal event fired when all Cordova JavaScript objects have been created.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * onDeviceReady*
User event fired to indicate that Cordova is ready
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * onResume
User event fired to indicate a start/resume lifecycle event
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * onPause
User event fired to indicate a pause lifecycle event
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * The events marked with an *
are sticky. Once they have fired, they will stay in the fired state.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * All listeners that
subscribe after the event is fired will be executed right away.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * The only Cordova events
that user code should register for are:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * deviceready
Cordova native code is initialized and Cordova APIs can be called from JavaScript
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * pause
App has moved to background
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * resume
App has returned to foreground
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Listeners can be registered
as:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("deviceready", myDeviceReadyListener, false);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("resume", myResumeListener, false);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("pause", myPauseListener, false);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * The DOM lifecycle events
should be used for saving and restoring state
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * window.onload
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * window.onunload
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Channel
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @constructor
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param type String the
channel name
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var Channel = function (type,
sticky) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this.type = type;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this.handlers = {};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this.state = sticky ? 1 :
0;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this.fireArgs = null;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this.numHandlers = 0;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange = null;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var channel = {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Calls the provided
function only after all of the channels specified
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * have been fired. All
channels must be sticky channels.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: join: function (h, c) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var len = c.length;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var i = len;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var f = function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!(--i)) h();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
len; j++) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (c[j].state ===
0) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: throw
Error('Can only use join with sticky channels.');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: c[j].subscribe(f);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!len) h();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-
return-assign */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: create: function (type) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, false);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: createSticky: function
(type) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, true);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-
return-assign */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * cordova Channels that
must fire before "deviceready" is fired.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsArray:
[],
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsMap:
{},
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Indicate that a feature
needs to be initialized before it is ready to be used.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * This holds up Cordova's
"deviceready" event until the feature has been initialized
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * and
Cordova.initComplete(feature) is called.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: waitForInitialization:
function (feature) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (feature) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var c =
channel[feature] || this.createSticky(feature);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsMap[feature] = c;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsArray.push(c);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Indicate that
initialization code has completed and the feature is ready to be used.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: initializationComplete:
function (feature) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var c =
this.deviceReadyChannelsMap[feature];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (c) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: c.fire();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function
checkSubscriptionArgument (argument) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof argument !==
'function' && typeof argument.handleEvent !== 'function') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: throw new Error(
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: 'Must provide a
function or an EventListener object ' +
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: 'implementing
the handleEvent interface.'
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: );
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Subscribes the given
function to the channel. Any time that
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Channel.fire is called so
too will the function.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Optionally specify an
execution context for the function
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * and a guid that can be used
to stop subscribing to the channel.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Returns the guid.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: Channel.prototype.subscribe =
function (eventListenerOrFunction, eventListener) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var handleEvent, guid;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: eventListener =
eventListenerOrFunction;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (this.state === 2) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
handleEvent.apply(eventListener || this, this.fireArgs);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: guid =
eventListenerOrFunction.observer_guid;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof eventListener
=== 'object') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: handleEvent =
utils.close(eventListener, handleEvent);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!guid) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: guid = '' + nextGuid+
+;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: handleEvent.observer_guid
= guid;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
eventListenerOrFunction.observer_guid = guid;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!this.handlers[guid])
{
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this.handlers[guid] =
handleEvent;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this.numHandlers++;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 1) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Unsubscribes the function
with the given guid from the channel.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: Channel.prototype.unsubscribe
= function (eventListenerOrFunction) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var handleEvent, guid,
handler;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: guid =
handleEvent.observer_guid;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: handler =
this.handlers[guid];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (handler) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: delete
this.handlers[guid];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this.numHandlers--;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 0) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Calls all functions
subscribed to this channel.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: Channel.prototype.fire =
function (e) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var fail = false;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var fireArgs =
Array.prototype.slice.call(arguments);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (this.state === 1) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this.state = 2;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this.fireArgs =
fireArgs;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (this.numHandlers) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var toCall = [];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var item in
this.handlers) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
toCall.push(this.handlers[item]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
toCall.length; ++i) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
toCall[i].apply(this, fireArgs);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (this.state === 2
&& this.numHandlers) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this.numHandlers =
0;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this.handlers =
{};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDOMContentLoaded');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onNativeReady');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onCordovaReady');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onPluginsReady');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDeviceReady');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: channel.create('onResume');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: channel.create('onPause');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onCordovaReady');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onDOMContentLoaded');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: module.exports = channel;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define("cordova/exec",
function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Execute a cordova command.
It is up to the native side whether this action
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * is synchronous or
asynchronous. The native side can return:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Synchronous:
PluginResult object as a JSON string
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Asynchronous: Empty
string ""
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * If async, the native side
will cordova.callbackSuccess or cordova.callbackError,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * depending upon the result
of the action.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param {Function} success
The success callback
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param {Function} fail
The fail callback
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param {String} service
The name of the service to use
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param {String} action
Action to be run in cordova
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param {String[]} [args]
Zero or more arguments to pass to the method
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova'),
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: nativeApiProvider =
require('cordova/android/nativeapiprovider'),
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: utils =
require('cordova/utils'),
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: base64 =
require('cordova/base64'),
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: channel =
require('cordova/channel'),
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: jsToNativeModes = {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: PROMPT: 0,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: JS_OBJECT: 1
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: nativeToJsModes = {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: POLLING: 0,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: LOAD_URL: 1,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: ONLINE_EVENT: 2,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: EVAL_BRIDGE: 3
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
nativeToJsModes.EVAL_BRIDGE,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: pollEnabled = false,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: bridgeSecret = -1;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var messagesFromNative = [];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var isProcessing = false;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var resolvedPromise = typeof
Promise == 'undefined' ? null : Promise.resolve();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var nextTick = resolvedPromise
? function(fn) { resolvedPromise.then(fn); } : function(fn) { setTimeout(fn); };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function androidExec(success,
fail, service, action, args) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: throw new
Error('exec() called without bridgeSecret');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
=== undefined) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: args = args || [];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
args.length; i++) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if
(utils.typeName(args[i]) == 'ArrayBuffer') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: args[i] =
base64.fromArrayBuffer(args[i]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var callbackId = service +
cordova.callbackId++,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: argsJson =
JSON.stringify(args);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (success || fail) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
cordova.callbacks[callbackId] = {success:success, fail:fail};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().exec(bridgeSecret, service, action, callbackId, argsJson);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
== jsToNativeModes.JS_OBJECT && msgs === "@Null arguments.") {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.PROMPT);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: androidExec(success,
fail, service, action, args);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if (msgs) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: androidExec.init = function()
{
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: bridgeSecret = +prompt('',
'gap_init:' + nativeToJsBridgeMode);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function
pollOnceFromOnlineEvent() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: pollOnce(true);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function
pollOnce(opt_fromOnlineEvent) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().retrieveJsMessages(bridgeSecret, !!opt_fromOnlineEvent);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (msgs) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: processMessages();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function pollingTimerFunc() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (pollEnabled) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: pollOnce();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 50);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function hookOnlineApis() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function proxyEvent(e) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent(e.type);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
window.addEventListener('online', pollOnceFromOnlineEvent, false);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
window.addEventListener('offline', pollOnceFromOnlineEvent, false);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('online');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('offline');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
document.addEventListener('online', proxyEvent, false);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
document.addEventListener('offline', proxyEvent, false);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: hookOnlineApis();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: androidExec.jsToNativeModes =
jsToNativeModes;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: androidExec.nativeToJsModes =
nativeToJsModes;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode = function(mode) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (mode ==
jsToNativeModes.JS_OBJECT && !window._cordovaNative) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: mode =
jsToNativeModes.PROMPT;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.setPreferPrompt(mode == jsToNativeModes.PROMPT);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode =
mode;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
androidExec.setNativeToJsBridgeMode = function(mode) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsBridgeMode) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (nativeToJsBridgeMode
== nativeToJsModes.POLLING) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: pollEnabled = false;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
mode;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (bridgeSecret >= 0) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.get().setNativeToJsBridgeMode(bridgeSecret, mode);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsModes.POLLING) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: pollEnabled = true;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 1);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function buildPayload(payload,
message) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var payloadKind =
message.charAt(0);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (payloadKind == 's') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
payload.push(message.slice(1));
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
't') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: payload.push(true);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'f') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: payload.push(false);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'N') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: payload.push(null);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'n') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
payload.push(+message.slice(1));
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'A') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var data =
message.slice(1);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
payload.push(base64.toArrayBuffer(data));
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'S') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
payload.push(window.atob(message.slice(1)));
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'M') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var multipartMessages
= message.slice(1);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: while
(multipartMessages !== "") {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var spaceIdx =
multipartMessages.indexOf(' ');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var msgLen =
+multipartMessages.slice(0, spaceIdx);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var
multipartMessage = multipartMessages.substr(spaceIdx + 1, msgLen);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: multipartMessages
= multipartMessages.slice(spaceIdx + msgLen + 1);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
buildPayload(payload, multipartMessage);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
payload.push(JSON.parse(message));
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function
processMessage(message) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var firstChar =
message.charAt(0);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (firstChar == 'J') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
eval(message.slice(1));
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if (firstChar ==
'S' || firstChar == 'F') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var success =
firstChar == 'S';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var keepCallback =
message.charAt(1) == '1';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var spaceIdx =
message.indexOf(' ', 2);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var status =
+message.slice(2, spaceIdx);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var nextSpaceIdx =
message.indexOf(' ', spaceIdx + 1);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var callbackId =
message.slice(spaceIdx + 1, nextSpaceIdx);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var payloadMessage =
message.slice(nextSpaceIdx + 1);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var payload = [];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: buildPayload(payload,
payloadMessage);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, success, status, payload, keepCallback);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
console.log("processMessage failed: invalid message: " + JSON.stringify(message));
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function processMessages() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (isProcessing) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length === 0) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: isProcessing = true;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: try {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var msg =
popMessageFromQueue();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (msg == '*' &&
messagesFromNative.length === 0) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
nextTick(pollOnce);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: processMessage(msg);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: isProcessing = false;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length > 0) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function popMessageFromQueue()
{
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var messageBatch =
messagesFromNative.shift();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (messageBatch == '*') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return '*';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var spaceIdx =
messageBatch.indexOf(' ');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var msgLen =
+messageBatch.slice(0, spaceIdx);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var message =
messageBatch.substr(spaceIdx + 1, msgLen);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: messageBatch =
messageBatch.slice(spaceIdx + msgLen + 1);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (messageBatch) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
messagesFromNative.unshift(messageBatch);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return message;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: module.exports = androidExec;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define("cordova/exec/proxy",
function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var CommandProxyMap = {};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: add: function (id,
proxyObj) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: console.log('adding
proxy for ' + id);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
proxyObj;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return proxyObj;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: remove: function (id) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var proxy =
CommandProxyMap[id];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: delete
CommandProxyMap[id];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
null;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return proxy;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: get: function (service,
action) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
(CommandProxyMap[service] ? CommandProxyMap[service][action] : null);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define("cordova/init",
function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var pluginloader =
require('cordova/pluginloader');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var platformInitChannelsArray
= [channel.onNativeReady, channel.onPluginsReady];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function logUnfiredChannels
(arr) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
arr.length; ++i) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (arr[i].state !==
2) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
console.log('Channel not fired: ' + arr[i].type);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: window.setTimeout(function ()
{
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if
(channel.onDeviceReady.state !== 2) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
console.log('deviceready has not fired after 5 seconds.');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(platformInitChannelsArray);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(channel.deviceReadyChannelsArray);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }, 5000);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function replaceNavigator
(origNavigator) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var CordovaNavigator =
function () {};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: CordovaNavigator.prototype
= origNavigator;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var newNavigator = new
CordovaNavigator();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (CordovaNavigator.bind)
{
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var key in
origNavigator) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (typeof
origNavigator[key] === 'function') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
newNavigator[key] = origNavigator[key].bind(origNavigator);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: (function (k)
{
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
utils.defineGetterSetter(newNavigator, key, function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
origNavigator[k];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: })(key);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return newNavigator;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (window.navigator) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: window.navigator =
replaceNavigator(window.navigator);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!window.console) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: window.console = {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: log: function () {}
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!window.console.warn) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: window.console.warn =
function (msg) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: this.log('warn: ' +
msg);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: channel.onPause =
cordova.addDocumentEventHandler('pause');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: channel.onResume =
cordova.addDocumentEventHandler('resume');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: channel.onActivated =
cordova.addDocumentEventHandler('activated');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: channel.onDeviceReady =
cordova.addStickyDocumentEventHandler('deviceready');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (document.readyState ===
'complete' || document.readyState === 'interactive') {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
document.addEventListener('DOMContentLoaded', function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }, false);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (window._nativeReady) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova', 'cordova');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'cordova.exec');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'Cordova.exec');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: platform.bootstrap &&
platform.bootstrap();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: setTimeout(function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: pluginloader.load(function
() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.onPluginsReady.fire();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Create all cordova objects
once native side is ready.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
modulemapper.mapModules(window);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: platform.initialize &&
platform.initialize();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.fire();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
require('cordova').fireDocumentEvent('deviceready');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
channel.deviceReadyChannelsArray);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }, platformInitChannelsArray);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define("cordova/modulemapper",
function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var builder =
require('cordova/builder');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var moduleMap =
define.moduleMap;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var symbolList;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var deprecationMap;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.reset = function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: symbolList = [];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: deprecationMap = {};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function addEntry (strategy,
moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!(moduleName in
moduleMap)) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: throw new
Error('Module ' + moduleName + ' does not exist.');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: symbolList.push(strategy,
moduleName, symbolPath);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if
(opt_deprecationMessage) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
deprecationMap[symbolPath] = opt_deprecationMessage;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.clobbers = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: addEntry('c', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.merges = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: addEntry('m', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.defaults = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: addEntry('d', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.runs = function
(moduleName) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: addEntry('r', moduleName,
null);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function prepareNamespace
(symbolPath, context) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!symbolPath) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return context;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var cur = context;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i = 0, part; part
= parts[i]; ++i) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: cur = cur[part] =
cur[part] || {};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return cur;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.mapModules = function
(context) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var origSymbols = {};
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: context.CDV_origSymbols =
origSymbols;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
symbolList.length; i < len; i += 3) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var strategy =
symbolList[i];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var moduleName =
symbolList[i + 1];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var module =
require(moduleName);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (strategy === 'r')
{
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var symbolPath =
symbolList[i + 2];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var lastDot =
symbolPath.lastIndexOf('.');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var namespace =
symbolPath.substr(0, lastDot);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var lastName =
symbolPath.substr(lastDot + 1);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var deprecationMsg =
symbolPath in deprecationMap ? 'Access made to deprecated symbol: ' + symbolPath +
'. ' + deprecationMsg : null;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var parentObj =
prepareNamespace(namespace, context);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var target =
parentObj[lastName];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (strategy === 'm'
&& target) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
builder.recursiveMerge(target, module);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else if ((strategy
=== 'd' && !target) || (strategy !== 'd')) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!(symbolPath
in origSymbols)) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
origSymbols[symbolPath] = target;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
builder.assignOrWrapInDeprecateGetter(parentObj, lastName, module, deprecationMsg);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.getOriginalSymbol =
function (context, symbolPath) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var origSymbols =
context.CDV_origSymbols;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (origSymbols &&
(symbolPath in origSymbols)) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
origSymbols[symbolPath];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var obj = context;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
parts.length; ++i) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: obj = obj &&
obj[parts[i]];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.reset();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define("cordova/platform",
function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var lastResumeEvent = null;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: id: 'android',
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: bootstrap: function() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel'),
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: cordova =
require('cordova'),
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exec =
require('cordova/exec'),
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: modulemapper =
require('cordova/modulemapper');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exec.init();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/plugin/android/app', 'navigator.app');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(cordova.platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' : 'App';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var backButtonChannel
= cordova.addDocumentEventHandler('backbutton');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
backButtonChannel.onHasSubscribersChange = function() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [this.numHandlers == 1]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('menubutton');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('searchbutton');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function
bindButtonChannel(buttonName) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var
volumeButtonChannel = cordova.addDocumentEventHandler(buttonName + 'button');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
volumeButtonChannel.onHasSubscribersChange = function() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exec(null,
null, APP_PLUGIN_NAME, "overrideButton", [buttonName, this.numHandlers == 1]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumeup');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumedown');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var
cordovaAddEventListener = document.addEventListener;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
document.addEventListener = function(evt, handler, capture) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
cordovaAddEventListener(evt, handler, capture);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (evt ===
'resume' && lastResumeEvent) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
handler(lastResumeEvent);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
exec(onMessageFromNative, null, APP_PLUGIN_NAME, 'messageChannel', []);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "show", []);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function
onMessageFromNative(msg) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var action = msg.action;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: switch (action)
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: case 'backbutton':
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: case 'menubutton':
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: case 'searchbutton':
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: case 'pause':
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: case
'volumedownbutton':
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: case 'volumeupbutton':
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: break;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: case 'resume':
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
if(arguments.length > 1 && msg.pendingResult) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
if(arguments.length === 2) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = arguments[1];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var res =
[];
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for(var i
= 1; i < arguments.length; i++) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
res.push(arguments[i]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = res;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
lastResumeEvent = msg;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action, msg);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: break;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: default:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: throw new
Error('Unknown event action ' + action);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
define("cordova/plugin/android/app", function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var exec =
require('cordova/exec');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(require('cordova').platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' :
'App';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Clear the resource
cache.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: clearCache:function() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearCache", []);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Load the url into the
webview or into new browser instance.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param url The
URL to load
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param props
Properties that can be passed in to the activity:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * wait: int
=> wait msec before loading URL
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * loadingDialog:
"Title,Message" => display a native loading dialog
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
loadUrlTimeoutValue: int => time in msec to wait before triggering a
timeout error
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * clearHistory:
boolean => clear webview history (default=false)
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * openExternal:
boolean => open in a new browser (default=false)
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Example:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
navigator.app.loadUrl("http:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: loadUrl:function(url,
props) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "loadUrl", [url, props]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Cancel loadUrl that is
waiting to be loaded.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: cancelLoadUrl:function() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "cancelLoadUrl", []);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Clear web history in
this web view.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Instead of BACK button
loading the previous web page, it will exit the app.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: clearHistory:function() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearHistory", []);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Go to previous page
displayed.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * This is the same as
pressing the backbutton on Android device.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: backHistory:function() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "backHistory", []);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android back button.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * If overridden, when the
back button is pressed, the "backKeyDown" JavaScript event will be fired.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * registers for the
"backbutton" event, this is automatically done.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
overrideBackbutton:function(override) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [override]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android volume button.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * If overridden, when the
volume button is pressed, the "volume[up|down]button"
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * JavaScript event will be
fired.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * registers for the
"volume[up|down]button" event, this is automatically done.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param button
volumeup, volumedown
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
overrideButton:function(button, override) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideButton", [button, override]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Exit and terminate the
application.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exitApp:function() {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return exec(null,
null, APP_PLUGIN_NAME, "exitApp", []);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define("cordova/pluginloader",
function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.injectScript =
function (url, onload, onerror) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var script =
document.createElement('script');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: script.onload = onload;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: script.onerror = onerror;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: script.src = url;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
document.head.appendChild(script);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function injectIfNecessary
(id, url, onload, onerror) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: onerror = onerror ||
onload;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
exports.injectScript(url, function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: onerror();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }, onerror);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function
onScriptLoadingComplete (moduleList, finishPluginLoading) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i = 0, module;
module = moduleList[i]; i++) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (module.clobbers &&
module.clobbers.length) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var j = 0; j
< module.clobbers.length; j++) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers(module.id, module.clobbers[j]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (module.merges &&
module.merges.length) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var k = 0; k
< module.merges.length; k++) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
modulemapper.merges(module.id, module.merges[k]);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (module.runs) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
modulemapper.runs(module.id);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function handlePluginsObject
(path, moduleList, finishPluginLoading) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var scriptCounter =
moduleList.length;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!scriptCounter) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function
scriptLoadedCallback () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (!--scriptCounter)
{
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
onScriptLoadingComplete(moduleList, finishPluginLoading);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
moduleList.length; i++) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
injectIfNecessary(moduleList[i].id, path + moduleList[i].file,
scriptLoadedCallback);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: function findCordovaPath () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var path = null;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var scripts =
document.getElementsByTagName('script');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var term = '/cordova.js';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var n =
scripts.length - 1; n > -1; n--) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var src =
scripts[n].src.replace(/\?.*$/, '');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (src.indexOf(term)
=== (src.length - term.length)) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: path =
src.substring(0, src.length - term.length) + '/';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: break;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.load = function
(callback) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var pathPrefix =
findCordovaPath();
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (pathPrefix === null) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: console.log('Could not
find cordova.js script tag. Plugin loading may fail.');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: pathPrefix = '';
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
injectIfNecessary('cordova/plugin_list', pathPrefix + 'cordova_plugins.js',
function () {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var moduleList =
require('cordova/plugin_list');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
handlePluginsObject(pathPrefix, moduleList, callback);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }, callback);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define("cordova/urlutil",
function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * For already absolute URLs,
returns what is passed in.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * For relative URLs, converts
them to absolute ones.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: exports.makeAbsolute =
function makeAbsolute (url) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var anchorEl =
document.createElement('a');
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: anchorEl.href = url;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return anchorEl.href;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: define("cordova/utils",
function(require, exports, module) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var utils = exports;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Defines a property getter /
setter for obj[key].
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: utils.defineGetterSetter =
function (obj, key, getFunc, opt_setFunc) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (Object.defineProperty)
{
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var desc = {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: get: getFunc,
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: configurable: true
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: desc.set =
opt_setFunc;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
Object.defineProperty(obj, key, desc);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
obj.__defineGetter__(key, getFunc);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
obj.__defineSetter__(key, opt_setFunc);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Defines a property getter
for obj[key].
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: utils.defineGetter =
utils.defineGetterSetter;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: utils.arrayIndexOf = function
(a, item) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (a.indexOf) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
a.indexOf(item);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var len = a.length;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < len; +
+i) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (a[i] === item) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return i;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Returns whether the item
was found in the array.
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: utils.arrayRemove = function
(a, item) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: var index =
utils.arrayIndexOf(a, item);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: if (index !== -1) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: a.splice(index, 1);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return index !== -1;
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: utils.typeName = function
(val) {
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: return
Object.prototype.toString.call(val).slice(8, -1);
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is an array or not
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.409 10638 10638 D CordovaWebViewImpl: utils.isArray = Array.isArray
||
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: function (a) {
return utils.typeName(a) === 'Array'; };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is a Date or not
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: utils.isDate = function (d) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return (d instanceof
Date);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * Does a deep clone of the
object.
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: utils.clone = function (obj) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (!obj || typeof obj ===
'function' || utils.isDate(obj) || typeof obj !== 'object') {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var retVal, i;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (utils.isArray(obj)) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: retVal = [];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: for (i = 0; i <
obj.length; ++i) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
retVal.push(utils.clone(obj[i]));
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: retVal = {};
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: for (i in obj) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if ((!(i in retVal) ||
retVal[i] !== obj[i]) && typeof obj[i] !== 'undefined' && typeof obj[i] !==
'unknown') {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: retVal[i] =
utils.clone(obj[i]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * Returns a wrapped version
of the function
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: utils.close = function
(context, func, params) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return function () {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var args = params ||
arguments;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return
func.apply(context, args);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: function UUIDcreatePart
(length) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var uuidpart = '';
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
length; i++) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var uuidchar =
parseInt((Math.random() * 256), 10).toString(16);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (uuidchar.length
=== 1) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: uuidchar = '0' +
uuidchar;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: uuidpart += uuidchar;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return uuidpart;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * Create a UUID
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: utils.createUUID = function ()
{
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return UUIDcreatePart(4) +
'-' +
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(6);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * Extends a child object from
a parent object using classical inheritance
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * pattern.
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: utils.extend = (function () {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var F = function () {};
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return function (Child,
Parent) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: F.prototype =
Parent.prototype;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: Child.prototype = new
F();
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: Child.__super__ =
Parent.prototype;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
Child.prototype.constructor = Child;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }());
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /**
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * Alerts a message in any
available way: alert or console.log.
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: utils.alert = function (msg) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (window.alert) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: window.alert(msg);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: } else if (console &&
console.log) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: console.log(msg);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: window.cordova =
require('cordova');
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: require('cordova/init');
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: })();
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordova.define('cordova/plugin_list', function(require, exports, module) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: module.exports = [
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/vuforia.js",
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.vuforia",
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "vuforia"
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: ]
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/identity_resolution.js",
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.irs",
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "irs"
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: ]
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/intent_navigation_filter.js",
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.inf",
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "inf"
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: ]
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: ];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: module.exports.metadata =
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "cordova-plugin-
whitelist": "1.3.3",
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: "cordova-plugin-thingx":
"1.0.0"
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.inf", function(require, exports, module) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: allowIntent: function
(theURL, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowIntent",
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: allowNavigation: function
(theURL, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowNavigation",
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.vuforia", function(require, exports, module) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /*
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * In case a new method is
created then follow following pattern:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * function(params,
successCallback, errorCallback)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * If there is a new
parameter required to be added to existing method then
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * follow following pattern:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * function(...args)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * Note: Check add3DImage
function on how both old and new methods are supported for adding
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * new param.
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: function resolvePath(names) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var split = names.split("
");
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var result = "";
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var path =
location.pathname;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var lastIndexOfSlash =
path.lastIndexOf('/');
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: path = path.substr(0,
lastIndexOfSlash);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: for (var
i=0;i<split.length;i++) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var name = split[i];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (lastIndexOfSlash >
-1) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (result.length
> 0) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: result += " ";
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if
(name.startsWith("/")) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: result +=
location.origin + name;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: result +=
location.origin + path + "/" + name;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return result;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: function
resolvePathIfNeeded(path) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return
resolvePath(path);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: function sanitizeURL(path) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (path.indexOf(' ')
>= 0) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return
encodeURI(path);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: function asBoolean(arg) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"boolean") {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"string") {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var larg =
arg.toLowerCase();
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return larg ===
"true";
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"number") {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return arg !== 0;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return !!arg;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: function asString(arg) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"string") {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return "" + arg;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: function asNumber(arg) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"number") {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return Number(arg);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: function
asThreeStateBoolean(arg) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (arg === null || arg
=== undefined) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (arg === "true" || arg
=== true) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return 1;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (arg === "false" || arg
=== false) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return 0;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: return asNumber(arg);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: initializeAR: function
(arMechanism, maxtrackers, extendedtracking, persistmap, near, far,
successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initializeAR",
[asString(arMechanism),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(maxtrackers),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asBoolean(extendedtracking),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asBoolean(persistmap),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(near),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(far)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: setViewProperties:
function(properties, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{ };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if
(properties.dropshadow !== undefined) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties.dropshadow);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties["experimental-dropshadow"]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setViewProperties",
[cordovaParams]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: showARView: function
(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "showARView", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cleanUpAndPause: function
(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndPause",
[]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: pauseAR: function
(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "pauseAR", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: resumeAR: function
(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resumeAR", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: lockCameraAndOrientation:
function (successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"lockCameraAndOrientation", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
unlockCameraAndOrientation: function (successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"unlockCameraAndOrientation", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cleanUpAndContinue:
function (successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndContinue",
[]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: resetSpatialTracking:
function (successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetSpatialTracking", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: getTracked: function
(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getTracked", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: loadTrackerDef: function
(markerSet, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var ms = (markerSet
=== undefined) ? [] : markerSet;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadTrackerDef", [ms,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
window.location.href]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: addTracker: function
(nameOrParams, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var options =
nameOrParams;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if
(typeof(nameOrParams) === "string") {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: options = { name:
nameOrParams, trackingHints: { stationary: true } };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: options.name =
asString(options.name);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: options.trackingHints
= (options.trackingHints === undefined) ? {} : options.trackingHints;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
options.trackingHints.stationary = (options.trackingHints.stationary === false) ?
false : true;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addTracker",
[options]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: add3DObject: function
(trackerName, name, vertices, normals, texCoords, indexes, color, texture, parent,
successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DObject",
[asString(trackerName),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
normals,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
texCoords,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: addPVS: function
(trackerName, name, url, cull, parent, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: url =
resolvePathIfNeeded(sanitizeURL(url));
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addPVS",
[asString(trackerName),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(url),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: addLeaderLine: function
(trackerName, name, vertices, color, texture,
nbScreenCoord,pointSize,lineWidth,parent, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var
nbsc=(nbScreenCoord === undefined) ? "0" : nbScreenCoord;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var ps=(pointSize ===
undefined) ? "40" : pointSize;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var lw=(lineWidth ===
undefined) ? "5" : lineWidth;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addLeaderLine",
[asString(trackerName),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(nbsc),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(ps),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(lw),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: append3DObject: function
(name, mode, indexes, color, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "append3DObject",
[asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(mode),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
color
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: addEmitter: function
(trackerName, name, particles, radius, velocity, decay, gravity, spread, size,
mass, rate, wind, blend, color, texture, parent, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addEmitter",
[asString(trackerName),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(particles),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(radius),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(velocity),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(decay),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(gravity),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(spread),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(size),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(mass),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(rate),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
wind,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(blend),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /*
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: addGroup: function
(trackerName, name, cull, parent, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addGroup",
[asString(trackerName),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(parent)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: addMarker: function
(trackerName, name, src, size, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addMarker",
[asString(trackerName),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(src),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(size)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: add3DImage: function
(...args) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: let tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, preload, successCallback,
errorCallback;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (typeof args[0] ===
'object') {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: let params;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: [params,
successCallback, errorCallback] = args;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: ({tracker, id,
src, parent, leaderX, leaderY, anchor, width, height, pivot, preload} = params);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: } else if (typeof
args[0] === 'string') {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: preload = true;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: [tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, successCallback,
errorCallback] = args;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: throw new
Error('add3DImage call with invalid args');
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: src =
resolvePathIfNeeded(src);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DImage",
[asString(tracker),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(id),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
src,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
undefined,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(leaderX),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(leaderY),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(anchor),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(width),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(height),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(pivot)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: allowNextGesture:
function(params, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{};
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "allowNextGesture",
[cordovaParams]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: loadViewState:
function(params, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: viewStateID:
asNumber(params.viewStateID)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadViewState",
[cordovaParams]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: loadPVI: function (params,
successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var encodedURL =
sanitizeURL(params.url);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: url:
asString(resolvePathIfNeeded(encodedURL))
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadPVI",
[cordovaParams]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: playStep: function
(params, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playStep",
[cordovaParams]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: gotoStep: function
(params, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: position:
asString(params.position)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "gotoStep",
[cordovaParams]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: setModelURL: function
(params, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var modelURL =
resolvePathIfNeeded(sanitizeURL(params.modelURL));
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: modelURL:
asString(modelURL)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setModelURL",
[cordovaParams]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: setTexture: function
(name, texture, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTexture",
[asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
texture
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: setColor: function (name,
color, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setColor",
[asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
color
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: setVertices: function
(name, vertices, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setVertices",
[asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
vertices
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: insertGroupNode: function
(props, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "insertGroupNode",
[asString(props.name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(props.target)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: removeNode: function
(props, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "removeNode",
[asString(props.name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asBoolean(props.reparent)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: setProperties: function
(name, props, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var opacity
= (props.opacity === undefined) ? -1 : props.opacity;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var hidden
= (props.hidden === undefined) ? -1 : props.hidden;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var occlude
= (props.occlude === undefined) ? false : props.occlude;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var billboard
= (props.billboard === undefined) ? false : props.billboard;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var decal
= (props.decal === undefined) ? false : props.decal;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var shader
= (props.shader === undefined) ? null : props.shader;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var phantom
= (props.phantom === undefined) ? false : props.phantom;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var forceHidden
= (props.forceHidden === undefined) ? false : props.forceHidden;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var
experimentalOneSided = (props.experimentalOneSided === undefined) ? false :
props.experimentalOneSided;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setProperties",
[asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(opacity),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asThreeStateBoolean(hidden),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asBoolean(occlude),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asBoolean(billboard),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asBoolean(decal),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(shader),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asBoolean(phantom),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asBoolean(forceHidden),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asBoolean(experimentalOneSided)]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: getAllPropertyValues:
function (name, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"getAllPropertyValues", [asString(name)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: setTranslation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTranslation",
[asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: setRotation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setRotation",
[asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: setScale: function (name,
ax, ay, az, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 1.0 : ax;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 1.0 : ay;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 1.0 : az;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setScale",
[asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: setGestures: function
(params, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var gestures = {};
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableTranslate !== undefined) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
gestures.enableTranslate = asBoolean(params.gestures.enableTranslate);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableRotate !== undefined) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
gestures.enableRotate = asBoolean(params.gestures.enableRotate);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableScale !== undefined) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
gestures.enableScale = asBoolean(params.gestures.enableScale);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: nodeId:
asString(params.nodeId),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: gestures: gestures
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setGestures",
[cordovaParams]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: resetGestureTransforms:
function (successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetGestureTransforms", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: setupAREventsCommand:
function (successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupAREventsCommand", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
setupTrackingEventsCommand: function (successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupTrackingEventsCommand", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: transform: function (name,
dx, dy, dz, drx, dry, drz, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var x = (dx ===
undefined) ? 0.0 : dx;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var y = (dy ===
undefined) ? 0.0 : dy;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var z = (dz ===
undefined) ? 0.0 : dz;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var rx = (drx ===
undefined) ? 0.0 : drx;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var ry = (dry ===
undefined) ? 0.0 : dry;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var rz = (drz ===
undefined) ? 0.0 : drz;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "transform",
[asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(z),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(rx),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(ry),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(rz)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: resetAll: function
( successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resetAll", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: reset: function (name,
successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "reset",
[asString(name)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: setShader: function (name,
vertex, fragment, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setShader",
[asString(name),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(vertex),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(fragment)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: userPick: function
(params, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "userPick",
[asNumber(params.x),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asNumber(params.y)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: exitSpatialPlacementMode:
function(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"exitSpatialPlacementMode", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: takeScreenshot:
function(params, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: withAugmentation:
asBoolean(params.withAugmentation),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: dataURL:
asBoolean(params.dataURL),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: imgFormat:
asString(params.imgFormat),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: imgWidth:
params.imgWidth,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: imgHeight:
params.imgHeight
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "takeScreenshot",
[cordovaParams]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: startBatch: function
(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startBatch", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: executeBatch: function
(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "executeBatch", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: scanForNextBarCode:
function(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "scanForNextBarCode",
[]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: stopBarCodeScanning:
function(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopBarCodeScanning",
[]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: playSxsl: function(params,
successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playSxsl",
[asString(params.sxsl), window.location.href, params.autoOpenProcedure]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: goBack: function
(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "goBack", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
setupSpeechRecognitionCallback: function (params, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(function(guesses) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if
(successCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
successCallback(Array.isArray(guesses) ? guesses : null);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }, errorCallback,
"Vuforia", "setupSpeechRecognitionCallback", [asBoolean(params.unregister)]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: updateVoiceCommands:
function (params, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "updateVoiceCommands",
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
[asBoolean(params.clearCommands),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
params.commandsToRemove,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
params.commandsToAdd
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: ]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: forceRealWearRescan:
function(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "forceRealWearRescan",
[]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: getCameraImage:
function(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getCameraImage", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: synthesizeSpeech:
function(params, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "synthesizeSpeech",
[asString(params.text),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
asString(params.locale)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: stopSpeaking:
function(successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopSpeaking", []);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /** Ask the native plugin
to start atom on the added augmentation */
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: initAtom: function(params,
successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: atomName:
asString(params.atomName),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initAtom",
[cordovaParams]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: startAtom:
function(params, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startAtom",
[cordovaParams]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: stopAtom: function(params,
successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopAtom",
[cordovaParams]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: },
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: configureAtom:
function(params, successCallback, errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var configureAtom =
(params.objectSet === undefined) ? {} : params.objectSet;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId),
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: configureAtom:
configureAtom
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "configureAtom",
[cordovaParams]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };});
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.irs", function(require, exports, module) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: *
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: */
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: queryIdentityService:
function (theID, theContentType, useFeedback, notifyNativeCode, successCallback,
errorCallback) {
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
"IdentityService", "queryIdentityService",
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
[theID, theContentType, useFeedback, notifyNativeCode]);
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: }
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: };
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: });
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl:
04-05 14:32:40.410 10638 10638 D CordovaWebViewImpl: window.thingworxview =
{"configuration":
{"nativeSequencer":true,"batchProcessing":true,"trackingHints":true,"setModelURL":t
rue}};},0);)
04-05 14:32:40.424 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:32:40.442 10638 10638 D JsMessageQueue: Set native->JS mode to
EvalBridgeMode
04-05 14:32:40.444 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:32:40.444 10638 10743 I chatty : uid=10403(com.ptc.vuforiaview)
RenderThread identical 2 lines
04-05 14:32:40.444 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:32:40.447 10638 10638 I TGX-JS-Console: "Could not find cordova.js script
tag. Plugin loading may fail.", source: (1)
04-05 14:32:40.451 10638 10638 I TGX-JS-Console: "onDeviceReady() fired.", source:
file:///android_asset/www/ScanningExperience/index.html (43)
04-05 14:32:40.483 10638 10971 I App : WARNING: Back Button Default Behavior
will be overridden. The backbutton event will be fired!
04-05 14:32:40.492 10638 10638 I TGX-JS-Console: "[ng-i18next] Can't find i18next
and/or i18next options! Please refer to i18next.", source:
file:///android_asset/www/ScanningExperience/lib/i18next/ng-i18next.js (318)
04-05 14:32:40.501 10638 10638 W TGX-JS-Console: "TML layer asked to emit an event
with no name!", source: file:///android_asset/www/ScanningExperience/tml/vuforia-
angular.js (292)
04-05 14:32:40.524 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:32:40.525 10638 10743 I chatty : uid=10403(com.ptc.vuforiaview)
RenderThread identical 2 lines
04-05 14:32:40.525 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:32:40.998 10638 11254 I TGXInitHandler: Vuforia initialization successful.
04-05 14:32:41.003 10638 10638 I native : I0405 14:32:41.003458 10638
session.cc:1206] Entering Session::Resume.
04-05 14:32:41.006 10638 10638 I native : I0405 14:32:41.006114 10638
estimator_impl.cc:735] Resetting motion tracking from user request.
04-05 14:32:41.007 10638 10638 I native : I0405 14:32:41.007920 10638
session.cc:3334] Update Frame Delay to 0 frames.
04-05 14:32:41.008 10638 10638 I native : I0405 14:32:41.008031 10638
android_sensors.cc:212] Starting thread.
04-05 14:32:41.010 10638 10638 I native : I0405 14:32:41.010809 10638
logger.h:28] DataSourceMetrics: kStartImageSubSystem: 1.861231ms
04-05 14:32:41.010 10638 10638 I native : I0405 14:32:41.010896 10638
session.cc:1394] Session::ResumeWithAnalytics returning OK.
04-05 14:32:41.014 10638 10999 E libc : Access denied finding property
"persist.vendor.camera.privapp.list"
04-05 14:32:41.014 10638 11264 D libMEOW : applied 1 plugins for
[com.ptc.vuforiaview]:
04-05 14:32:41.015 10638 11264 D libMEOW : plugin 1: [libMEOW_gift.so]:
04-05 14:32:41.017 10638 11259 I native : I0405 14:32:41.017162 11259
android_sensors.cc:51] Gyro min delay 2.5ms requesting 5ms
04-05 14:32:41.018 10638 11264 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:32:41.018 10638 11264 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:32:41.018 10638 11264 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:32:41.018 10638 11264 I libMEOW_gift: ctx:0xb400007bdddaebf8, ARC not
Enabled.
04-05 14:32:41.018 10638 11264 I native : I0405 14:32:41.018499 11264
session.cc:3334] Update Frame Delay to 0 frames.
04-05 14:32:41.019 10638 11264 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:32:41.019 10638 11264 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:32:41.019 10638 11264 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:32:41.019 10638 11264 I libMEOW_gift: ctx:0xb400007ba3d22b60, ARC not
Enabled.
04-05 14:32:41.020 10638 11259 I native : I0405 14:32:41.020148 11259
android_sensors.cc:51] Accel min delay 2.5ms requesting 5ms
04-05 14:32:41.022 10638 10638 I AR : Starting camera with profile for Redmi
Note 8 Pro, 0
04-05 14:32:41.023 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.024 10638 10656 E CameraManagerGlobal: Camera 61 is not available.
Ignore physical camera status change
04-05 14:32:41.031 10638 11103 W CameraManagerGlobal: ignore the torch status
update of camera: 21
04-05 14:32:41.032 10638 11103 W CameraManagerGlobal: ignore the torch status
update of camera: 22
04-05 14:32:41.032 10638 11103 W CameraManagerGlobal: ignore the torch status
update of camera: 61
04-05 14:32:41.056 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.061 10638 10638 I TGX : TGXTrackerDataLoadHandler: Vuforia::
Tracker loading succeeded
04-05 14:32:41.061 10638 10638 E AR : Failed to reset world tracking
04-05 14:32:41.089 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.122 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.122 10638 11155 I BufferQueueProducer: [ImageReader-
1920x1080f22u256m16-10638-0](id:298e00000000,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=true
04-05 14:32:41.125 10638 11155 I BufferQueueProducer: [ImageReader-640x480f23m16-
10638-0](id:298e00000001,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=false
04-05 14:32:41.127 10638 11155 I BufferQueueProducer: [ImageReader-1920x1080f23m16-
10638-1](id:298e00000002,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=false
04-05 14:32:41.155 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.188 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.221 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.253 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.286 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.319 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.352 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.385 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.405 10638 11117 I native : I0405 14:32:41.405825 11117
logger.h:28] DataSourceMetrics: kFirstGlCallback: 396.877538ms
04-05 14:32:41.418 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.450 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:32:41.451 10638 11230 I native : I0405 14:32:41.451854 11230
timebase_helpers.cc:169] Timebase offset intialized to 0
04-05 14:32:41.452 10638 11230 I native : I0405 14:32:41.452013 11230
logger.h:28] DataSourceMetrics: kFirstImageCallback: 443.065154ms
04-05 14:32:41.454 10638 11261 I native : I0405 14:32:41.454247 11261
performance_monitor.cc:115] Event: FeatureExtraction is taking too long, it took
592.175ms
04-05 14:32:41.455 10638 11057 W native : W0405 14:32:41.455171 11057
vio_initializer.cc:498] Dropped initialization window due to skip in data.
04-05 14:32:41.455 10638 11059 I native : I0405 14:32:41.455355 11059
data_manager.cc:157] Mapping backend detected fault.
04-05 14:32:41.455 10638 11059 I native : I0405 14:32:41.455407 11059
data_manager.cc:159] Saving current map to map buffer.
04-05 14:32:41.455 10638 11059 I native : I0405 14:32:41.455417 11059
data_manager.cc:165] Generated map # 0, ID 1f461919-af85-298e-898b-eea40ac2e73d,
non-marginalized keyframes 7, landmarks 0
04-05 14:32:41.456 10638 11052 E native : E0405 14:32:41.456381 11052
epipolar_self_consistency_metrics.cc:164] Failed to create pose node for current
timestamp 492276127152233
04-05 14:32:41.463 10638 11264 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:41.503 10638 11264 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:41.534 10638 11264 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:41.566 10638 11264 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:41.603 10638 11264 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:41.631 10638 11264 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:41.666 10638 11264 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:41.706 10638 11264 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:42.214 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 11398(1376KB) AllocSpace objects, 29(9792KB) LOS objects, 49% free,
9957KB/19MB, paused 191us total 103.826ms
04-05 14:32:42.958 10638 11057 W native : W0405 14:32:42.958306 11057
motion_tracking_stats_gatherer.cc:1626] Feature Extraction frequency low: 5.07493
Hz.
04-05 14:32:42.958 10638 11057 W native : W0405 14:32:42.958461 11057
motion_tracking_stats_gatherer.cc:1626] VIO frequency low: 5.17444 Hz.
04-05 14:32:47.703 10638 11038 I System.out: [okhttp]:check permission begin!
04-05 14:32:47.703 10638 11038 I System.out: [okhttp]:not MMS!
04-05 14:32:47.703 10638 11038 I System.out: [okhttp]:not Email!
04-05 14:32:47.707 10638 11038 I System.out: [OkHttp] sendRequest<<
04-05 14:32:48.681 10638 11372 I TGXIdentityRequestTask: TGXIdentityRequestTask
starting on thread 91331 (ScanningExperienceListLoader-1) for
http://192.168.1.32:2019/ExperienceService/id-resolution/resolutions?
key=urn:vuforia:vumark:1:4&resourcetype=Experience&wNdp=392 ...
04-05 14:32:48.681 10638 11372 I TGXIdentityRequestTask: TGXIdentityRequestTask
full request URL:
http://192.168.1.32:2019/ExperienceService/id-resolution/resolutions?
key=urn:vuforia:vumark:1:4&resourcetype=Experience&wNdp=392&aspect=spatial-tracking
04-05 14:32:48.685 10638 11373 I System.out: [okhttp]:check permission begin!
04-05 14:32:48.685 10638 11373 I System.out: [okhttp]:not MMS!
04-05 14:32:48.685 10638 11373 I System.out: [okhttp]:not Email!
04-05 14:32:48.685 10638 11373 I System.out: [socket]:check permission begin!
04-05 14:32:49.161 10638 11057 E native : E0405 14:32:49.161475 11057
vio_initializer.cc:680] generic::internal: [SSBA Initialization] Failed: Image has
too few landmarks. [Required: 9, Actual: 0].;
04-05 14:32:49.161 10638 11057 E native : Initializer's SSBA failed to produce a
valid output.
04-05 14:32:49.269 10638 11057 E native : E0405 14:32:49.269740 11057
vio_initializer.cc:680] generic::internal: [SSBA Initialization] Failed: Image has
too few landmarks. [Required: 9, Actual: 0].;
04-05 14:32:49.269 10638 11057 E native : Initializer's SSBA failed to produce a
valid output.
04-05 14:32:49.360 10638 11057 E native : E0405 14:32:49.360668 11057
vio_initializer.cc:680] generic::internal: [SSBA Initialization] Failed: Image has
too few landmarks. [Required: 9, Actual: 0].;
04-05 14:32:49.360 10638 11057 E native : Initializer's SSBA failed to produce a
valid output.
04-05 14:32:49.461 10638 11057 E native : E0405 14:32:49.461743 11057
bundle_adjustment_initializer.cc:767] SSBA does not get enough landmarks. Found 12
< 16
04-05 14:32:49.461 10638 11057 E native : E0405 14:32:49.461866 11057
vio_initializer.cc:680] generic::internal: [SSBA Initialization] Failed to
initialize the network.;
04-05 14:32:49.461 10638 11057 E native : Initializer's SSBA failed to produce a
valid output.
04-05 14:32:49.575 10638 11057 E native : E0405 14:32:49.575290 11057
vio_initializer.cc:680] generic::internal: [SSBA Initialization] Failed: Image has
too few landmarks. [Required: 9, Actual: 0].;
04-05 14:32:49.575 10638 11057 E native : Initializer's SSBA failed to produce a
valid output.
04-05 14:32:49.683 10638 11057 E native : E0405 14:32:49.683667 11057
vio_initializer.cc:680] generic::internal: [SSBA Initialization] Failed: Image has
too few landmarks. [Required: 9, Actual: 4].;
04-05 14:32:49.683 10638 11057 E native : Initializer's SSBA failed to produce a
valid output.
04-05 14:32:49.792 10638 11057 I native : I0405 14:32:49.792309 11057
bundle_adjustment_initializer.cc:274] Intrinsic vector size of the camera 0 is 7
04-05 14:32:49.797 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 18361(2097KB) AllocSpace objects, 10(9648KB) LOS objects, 49% free,
10124KB/19MB, paused 911us total 101.246ms
04-05 14:32:49.819 10638 11057 I native : I0405 14:32:49.819874 11057
bundle_adjustment_initialization.h:143] Number of measurements used in BA
initialization for temporal landmarks: 540
04-05 14:32:49.820 10638 11057 I native : I0405 14:32:49.820017 11057
bundle_adjustment_initialization.h:145] Number of good measurements (i.e.,
reprojection errors <= 3 pixels) in BA initialization for temporal landmarks: 540
04-05 14:32:49.854 10638 11264 E native : E0405 14:32:49.854322 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:49.861 10638 11062 E native : E0405 14:32:49.861404 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:32:49.861 10638 11062 E native : === Source Location Trace: ===
04-05 14:32:49.861 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:32:49.861 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:32:49.861 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:32:49.861 10638 11062 E native :
04-05 14:32:49.886 10638 11264 E native : E0405 14:32:49.886660 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:49.918 10638 11264 E native : E0405 14:32:49.918391 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:49.954 10638 11264 E native : E0405 14:32:49.954627 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:49.994 10638 11264 E native : E0405 14:32:49.994450 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.019 10638 11264 E native : E0405 14:32:50.019397 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.057 10638 11264 E native : E0405 14:32:50.057835 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.089 10638 11264 E native : E0405 14:32:50.088869 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.118 10638 11264 E native : E0405 14:32:50.118517 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.153 10638 11264 E native : E0405 14:32:50.153299 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.181 10638 11264 E native : E0405 14:32:50.180989 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.223 10638 11264 E native : E0405 14:32:50.223470 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.253 10638 11264 E native : E0405 14:32:50.253851 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.282 10638 11264 E native : E0405 14:32:50.282885 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.322 10638 11264 E native : E0405 14:32:50.322437 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.356 10638 11264 E native : E0405 14:32:50.356061 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.392 10638 11264 E native : E0405 14:32:50.392250 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.422 10638 11264 E native : E0405 14:32:50.422577 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.455 10638 11264 E native : E0405 14:32:50.455349 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.496 10638 11264 E native : E0405 14:32:50.495875 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.527 10638 11264 E native : E0405 14:32:50.527250 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.559 10638 11264 E native : E0405 14:32:50.559660 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.604 10638 11264 E native : E0405 14:32:50.604733 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.630 10638 11264 E native : E0405 14:32:50.630171 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.666 10638 11264 E native : E0405 14:32:50.666540 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.697 10638 11264 E native : E0405 14:32:50.696992 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.729 10638 11264 E native : E0405 14:32:50.729493 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.745 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 5927(861KB) AllocSpace objects, 9(9392KB) LOS objects, 49% free,
10142KB/19MB, paused 155us total 101.539ms
04-05 14:32:50.761 10638 11264 E native : E0405 14:32:50.761810 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.792 10638 11264 E native : E0405 14:32:50.792029 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.832 10638 11264 E native : E0405 14:32:50.831887 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.861 10638 11264 E native : E0405 14:32:50.860936 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.892 10638 11264 E native : E0405 14:32:50.892197 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.937 10638 11264 E native : E0405 14:32:50.937877 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.963 10638 11264 E native : E0405 14:32:50.963588 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:50.994 10638 11264 E native : E0405 14:32:50.994197 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.030 10638 11264 E native : E0405 14:32:51.030513 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.074 10638 11264 E native : E0405 14:32:51.073833 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.108 10638 11264 E native : E0405 14:32:51.108671 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.131 10638 11264 E native : E0405 14:32:51.131584 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.164 10638 11264 E native : E0405 14:32:51.164832 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.200 10638 11264 E native : E0405 14:32:51.200261 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.228 10638 11264 E native : E0405 14:32:51.228197 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.271 10638 11264 E native : E0405 14:32:51.270950 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.318 10638 11264 E native : E0405 14:32:51.318211 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.333 10638 11264 E native : E0405 14:32:51.333466 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.365 10638 11264 E native : E0405 14:32:51.365914 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.405 10638 11264 E native : E0405 14:32:51.405560 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.437 10638 11264 E native : E0405 14:32:51.437331 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.469 10638 11264 E native : E0405 14:32:51.469391 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.502 10638 11264 E native : E0405 14:32:51.502834 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.537 10638 11264 E native : E0405 14:32:51.537254 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.573 10638 11264 E native : E0405 14:32:51.573238 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.611 10638 11264 E native : E0405 14:32:51.611677 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.637 10638 11264 E native : E0405 14:32:51.637605 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.675 10638 11264 E native : E0405 14:32:51.675644 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.721 10638 11264 E native : E0405 14:32:51.721763 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.740 10638 11264 E native : E0405 14:32:51.740001 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.775 10638 11264 E native : E0405 14:32:51.775030 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.817 10638 11264 E native : E0405 14:32:51.817126 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.850 10638 11264 E native : E0405 14:32:51.850852 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.879 10638 11264 E native : E0405 14:32:51.879341 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.911 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 9571(1105KB) AllocSpace objects, 9(9392KB) LOS objects, 49% free,
10140KB/19MB, paused 239us total 108.257ms
04-05 14:32:51.920 10638 11264 E native : E0405 14:32:51.920305 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.949 10638 11264 E native : E0405 14:32:51.949645 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:51.983 10638 11264 E native : E0405 14:32:51.982866 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.019 10638 11264 E native : E0405 14:32:52.019081 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.051 10638 11264 E native : E0405 14:32:52.051244 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.078 10638 11264 E native : E0405 14:32:52.078685 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.109 10638 11264 E native : E0405 14:32:52.109517 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.148 10638 11264 E native : E0405 14:32:52.148313 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.179 10638 11264 E native : E0405 14:32:52.179322 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.211 10638 11264 E native : E0405 14:32:52.211710 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.244 10638 11264 E native : E0405 14:32:52.244246 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.278 10638 11264 E native : E0405 14:32:52.278688 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.335 10638 11264 E native : E0405 14:32:52.335090 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.348 10638 11264 E native : E0405 14:32:52.348005 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.379 10638 11264 E native : E0405 14:32:52.379912 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.413 10638 11264 E native : E0405 14:32:52.413243 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.447 10638 11264 E native : E0405 14:32:52.447304 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.468 10638 10652 I ptc.vuforiavie: NativeAlloc concurrent copying GC
freed 16914(1880KB) AllocSpace objects, 6(5080KB) LOS objects, 49% free,
10156KB/19MB, paused 319us total 101.719ms
04-05 14:32:52.484 10638 11264 E native : E0405 14:32:52.484197 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.522 10638 11264 E native : E0405 14:32:52.522148 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.551 10638 11264 E native : E0405 14:32:52.551327 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.582 10638 11264 E native : E0405 14:32:52.582048 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.614 10638 11264 E native : E0405 14:32:52.614688 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.647 10638 11264 E native : E0405 14:32:52.647546 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.684 10638 11264 E native : E0405 14:32:52.684728 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.718 10638 11264 E native : E0405 14:32:52.718162 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.751 10638 11264 E native : E0405 14:32:52.751586 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.787 10638 11264 E native : E0405 14:32:52.787606 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.826 10638 11264 E native : E0405 14:32:52.826703 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.854 10638 11264 E native : E0405 14:32:52.854037 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.888 10638 11264 E native : E0405 14:32:52.887897 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.909 10638 11062 E native : E0405 14:32:52.909096 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:32:52.909 10638 11062 E native : === Source Location Trace: ===
04-05 14:32:52.909 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:32:52.909 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:32:52.909 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:32:52.909 10638 11062 E native :
04-05 14:32:52.923 10638 11264 E native : E0405 14:32:52.923889 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.955 10638 11264 E native : E0405 14:32:52.955291 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:52.989 10638 11264 E native : E0405 14:32:52.989181 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.026 10638 11264 E native : E0405 14:32:53.026491 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.058 10638 11264 E native : E0405 14:32:53.058082 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.092 10638 11264 E native : E0405 14:32:53.092196 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.128 10638 11264 E native : E0405 14:32:53.128849 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.156 10638 11264 E native : E0405 14:32:53.156401 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.197 10638 11264 E native : E0405 14:32:53.197907 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.234 10638 11264 E native : E0405 14:32:53.234059 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.262 10638 11264 E native : E0405 14:32:53.262002 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.294 10638 11264 E native : E0405 14:32:53.294334 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.328 10638 11264 E native : E0405 14:32:53.328834 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.358 10638 11264 E native : E0405 14:32:53.358654 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.399 10638 11264 E native : E0405 14:32:53.399840 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.431 10638 11264 E native : E0405 14:32:53.431509 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.459 10638 11264 E native : E0405 14:32:53.459831 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.500 10638 11264 E native : E0405 14:32:53.500396 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.547 10638 11264 E native : E0405 14:32:53.546966 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.564 10638 11264 E native : E0405 14:32:53.564211 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.596 10638 11264 E native : E0405 14:32:53.596581 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.642 10638 11264 E native : E0405 14:32:53.642382 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.666 10638 11264 E native : E0405 14:32:53.666329 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: Exception processing
identity resolution request
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: java.io.IOException:
Exception while obtaining HttpURLConnection.getResponseCode() result
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.ptc.thingx.cordova.plugin.core.TGXUtils.getResponseCode(TGXUtils.java:442)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.ptc.thingx.cordova.plugin.core.TGXUtils.openConnection(TGXUtils.java:601)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.ptc.thingx.cordova.plugin.identity.TGXIdentityRequestTask.run(TGXIdentityReques
tTask.java:76)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
java.util.concurrent.FutureTask.run(FutureTask.java:266)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
java.lang.Thread.run(Thread.java:923)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: Caused by:
java.util.concurrent.ExecutionException: java.net.SocketTimeoutException: failed to
connect to /192.168.1.32 (port 2019) from /100.66.225.38 (port 45670) after 5000ms
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
java.util.concurrent.FutureTask.report(FutureTask.java:123)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
java.util.concurrent.FutureTask.get(FutureTask.java:193)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.ptc.thingx.cordova.plugin.core.TGXUtils.getResponseCode(TGXUtils.java:433)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: ... 7 more
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: Caused by:
java.net.SocketTimeoutException: failed to connect to /192.168.1.32 (port 2019)
from /100.66.225.38 (port 45670) after 5000ms
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
libcore.io.IoBridge.connectErrno(IoBridge.java:190)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
libcore.io.IoBridge.connect(IoBridge.java:134)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
java.net.Socket.connect(Socket.java:631)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.android.okhttp.internal.Platform.connectSocket(Platform.java:182)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:145
)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.j
ava:186)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAlloc
ation.java:128)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:9
7)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:302)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:245)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl
.java:465)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnection
Impl.java:411)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnec
tionImpl.java:542)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.ptc.thingx.cordova.plugin.core.TGXUtils.lambda$getResponseCode$0(TGXUtils.java:
430)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: at
com.ptc.thingx.cordova.plugin.core.TGXUtils$$ExternalSyntheticLambda7.call(Unknown
Source:4)
04-05 14:32:53.689 10638 11372 E TGXIdentityRequestTask: ... 4 more
04-05 14:32:53.694 10638 11372 D AudioTrack: start(3216): 0xb400007bdd544200, prior
state:STATE_STOPPED
04-05 14:32:53.706 10638 11264 E native : E0405 14:32:53.706342 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.737 10638 11264 E native : E0405 14:32:53.737086 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.743 10638 11372 I TGXIdentityRequestTask: TGXIdentityRequestTask
complete.
04-05 14:32:53.755 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:53.756 10638 10638 D DecorView: createDecorCaptionView windowingMode:1
mWindowMode 1 isFullscreen: true
04-05 14:32:53.767 10638 11264 E native : E0405 14:32:53.767348 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.768 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:53.772 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:53.779 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:53.780 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:32:53.787 10638 10638 D ViewRootImpl[MainActivity]: hardware acceleration
= true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated =
false, sSystemRendererDisabled = false
04-05 14:32:53.794 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 24449(2756KB) AllocSpace objects, 10(9648KB) LOS objects, 49% free,
10MB/20MB, paused 475us total 131.271ms
04-05 14:32:53.798 10638 11264 E native : E0405 14:32:53.798940 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.805 10638 10638 I InputTransport: Create ARC handle:
0xb400007acf591b20
04-05 14:32:53.840 10638 11264 E native : E0405 14:32:53.840508 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.868 10638 11264 E native : E0405 14:32:53.868195 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.920 10638 11264 E native : E0405 14:32:53.920534 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.944 10638 11264 E native : E0405 14:32:53.944393 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:53.982 10638 11264 E native : E0405 14:32:53.982641 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.015 10638 11264 E native : E0405 14:32:54.014830 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.042 10638 11264 E native : E0405 14:32:54.042016 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.082 10638 11264 E native : E0405 14:32:54.082018 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.119 10638 11264 E native : E0405 14:32:54.119386 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.144 10638 11264 E native : E0405 14:32:54.144093 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.191 10638 11264 E native : E0405 14:32:54.191586 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.205 10638 11264 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:32:54.210 10638 11264 E native : E0405 14:32:54.210412 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.233 10638 10931 D AudioTrack: stop(3216): 0xb400007bdd544200, prior
state:STATE_ACTIVE
04-05 14:32:54.233 10638 10931 D AudioTrack: stop(sessionID=18849)
04-05 14:32:54.233 10638 10931 D AudioTrack: stop(3216): called with 19456 frames
delivered
04-05 14:32:54.233 10638 10931 D AudioTrack: stop(3216): 0xb400007bdd544200 stop
done
04-05 14:32:54.249 10638 11264 E native : E0405 14:32:54.249050 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.289 10638 11264 E native : E0405 14:32:54.288984 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.316 10638 11264 E native : E0405 14:32:54.316470 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.344 10638 11264 E native : E0405 14:32:54.344029 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.369 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 23799(2637KB) AllocSpace objects, 10(9648KB) LOS objects, 49% free,
10187KB/19MB, paused 132us total 108.097ms
04-05 14:32:54.377 10638 11264 E native : E0405 14:32:54.377525 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.405 10638 11264 E native : E0405 14:32:54.405060 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.448 10638 11264 E native : E0405 14:32:54.448408 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.476 10638 11264 E native : E0405 14:32:54.476845 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.514 10638 11264 E native : E0405 14:32:54.514191 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.542 10638 11264 E native : E0405 14:32:54.542087 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.576 10638 11264 E native : E0405 14:32:54.576846 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.606 10638 11264 E native : E0405 14:32:54.606355 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.654 10638 11264 E native : E0405 14:32:54.654225 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.681 10638 11264 E native : E0405 14:32:54.681441 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.715 10638 11264 E native : E0405 14:32:54.715020 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.745 10638 11264 E native : E0405 14:32:54.745861 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.778 10638 11264 E native : E0405 14:32:54.778931 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.813 10638 11264 E native : E0405 14:32:54.813308 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.853 10638 11264 E native : E0405 14:32:54.853350 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.879 10638 11264 E native : E0405 14:32:54.879090 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.920 10638 11264 E native : E0405 14:32:54.920344 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.947 10638 11264 E native : E0405 14:32:54.947601 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:54.983 10638 11264 E native : E0405 14:32:54.983746 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.017 10638 11264 E native : E0405 14:32:55.017197 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.049 10638 11264 E native : E0405 14:32:55.048983 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.083 10638 11264 E native : E0405 14:32:55.083324 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.120 10638 11264 E native : E0405 14:32:55.120323 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.152 10638 11264 E native : E0405 14:32:55.152190 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.183 10638 11264 E native : E0405 14:32:55.183733 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.219 10638 11264 E native : E0405 14:32:55.219738 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.253 10638 11264 E native : E0405 14:32:55.253667 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.285 10638 11264 E native : E0405 14:32:55.285119 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.322 10638 11264 E native : E0405 14:32:55.322895 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.356 10638 11264 E native : E0405 14:32:55.356087 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.386 10638 11264 E native : E0405 14:32:55.386812 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.420 10638 11264 E native : E0405 14:32:55.420910 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.457 10638 11264 E native : E0405 14:32:55.457426 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.490 10638 11264 E native : E0405 14:32:55.490378 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.525 10638 11264 E native : E0405 14:32:55.525200 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.564 10638 11264 E native : E0405 14:32:55.564756 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.598 10638 11264 E native : E0405 14:32:55.598141 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.629 10638 11264 E native : E0405 14:32:55.629569 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.673 10638 11264 E native : E0405 14:32:55.673940 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.690 10638 11264 E native : E0405 14:32:55.690891 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.729 10638 11264 E native : E0405 14:32:55.729344 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.759 10638 11264 E native : E0405 14:32:55.759800 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.799 10638 11264 E native : E0405 14:32:55.799611 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.849 10638 11264 E native : E0405 14:32:55.849353 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.866 10638 11264 E native : E0405 14:32:55.866106 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.866 10638 11062 E native : E0405 14:32:55.866373 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:32:55.866 10638 11062 E native : === Source Location Trace: ===
04-05 14:32:55.866 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:32:55.866 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:32:55.866 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:32:55.866 10638 11062 E native :
04-05 14:32:55.896 10638 11264 E native : E0405 14:32:55.896472 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.932 10638 11264 E native : E0405 14:32:55.931940 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:55.973 10638 11264 E native : E0405 14:32:55.973794 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.009 10638 11264 E native : E0405 14:32:56.009592 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.033 10638 11264 E native : E0405 14:32:56.033275 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.042 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 12571(1354KB) AllocSpace objects, 9(9392KB) LOS objects, 49% free, 12MB/25MB,
paused 284us total 144.143ms
04-05 14:32:56.065 10638 11264 E native : E0405 14:32:56.065645 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.098 10638 11264 E native : E0405 14:32:56.098223 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.129 10638 11264 E native : E0405 14:32:56.129541 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.164 10638 11264 E native : E0405 14:32:56.164717 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.194 10638 11264 E native : E0405 14:32:56.194305 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.235 10638 11264 E native : E0405 14:32:56.235689 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.265 10638 11264 E native : E0405 14:32:56.265211 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.265 10638 10743 D OpenGLRenderer: endAllActiveAnimators on
0xb400007acf5ebe00 (RippleDrawable) with handle 0xb400007ace467e20
04-05 14:32:56.265 10638 10638 D View : [Warning] assignParent to null: this =
DecorView@b644cd7[MainActivity]
04-05 14:32:56.275 10638 10638 I InputTransport: Destroy ARC handle:
0xb400007acf591b20
04-05 14:32:56.294 10638 11264 E native : E0405 14:32:56.294254 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.354 10638 11264 E native : E0405 14:32:56.354917 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.378 10638 11264 E native : E0405 14:32:56.378396 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.404 10638 11264 E native : E0405 14:32:56.404208 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.437 10638 11264 E native : E0405 14:32:56.437245 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.483 10638 11264 E native : E0405 14:32:56.483819 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.500 10638 11264 E native : E0405 14:32:56.500419 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.531 10638 11264 E native : E0405 14:32:56.531761 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.571 10638 11264 E native : E0405 14:32:56.571322 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.611 10638 11264 E native : E0405 14:32:56.610917 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.638 10638 11264 E native : E0405 14:32:56.638696 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.676 10638 11264 E native : E0405 14:32:56.676759 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.685 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 22360(2812KB) AllocSpace objects, 15(14MB) LOS objects, 49% free, 10MB/20MB,
paused 85us total 101.262ms
04-05 14:32:56.703 10638 11264 E native : E0405 14:32:56.703032 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.734 10638 11264 E native : E0405 14:32:56.734061 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.774 10638 11264 E native : E0405 14:32:56.774828 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.816 10638 11264 E native : E0405 14:32:56.816219 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.840 10638 11264 E native : E0405 14:32:56.840262 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.877 10638 11264 E native : E0405 14:32:56.877899 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.918 10638 11264 E native : E0405 14:32:56.918685 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.942 10638 11264 E native : E0405 14:32:56.942857 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:56.998 10638 11264 E native : E0405 14:32:56.998498 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.035 10638 11264 E native : E0405 14:32:57.035683 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.049 10638 11264 E native : E0405 14:32:57.049928 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.079 10638 11264 E native : E0405 14:32:57.079275 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.110 10638 11264 E native : E0405 14:32:57.110213 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.148 10638 11264 E native : E0405 14:32:57.148133 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.176 10638 11264 E native : E0405 14:32:57.176741 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.212 10638 11264 E native : E0405 14:32:57.212279 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.249 10638 11264 E native : E0405 14:32:57.249296 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.284 10638 11264 E native : E0405 14:32:57.283984 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.315 10638 11264 E native : E0405 14:32:57.315751 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.348 10638 11264 E native : E0405 14:32:57.348607 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.382 10638 11264 E native : E0405 14:32:57.382648 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.416 10638 11264 E native : E0405 14:32:57.416838 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.447 10638 11264 E native : E0405 14:32:57.447022 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.485 10638 11264 E native : E0405 14:32:57.485678 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.514 10638 11264 E native : E0405 14:32:57.514888 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.551 10638 11264 E native : E0405 14:32:57.551098 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.585 10638 11264 E native : E0405 14:32:57.585590 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.596 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 19376(2385KB) AllocSpace objects, 10(9648KB) LOS objects, 49% free,
10MB/20MB, paused 336us total 129.628ms
04-05 14:32:57.617 10638 11264 E native : E0405 14:32:57.617017 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.652 10638 11264 E native : E0405 14:32:57.652037 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.678 10638 11264 E native : E0405 14:32:57.678720 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.717 10638 11264 E native : E0405 14:32:57.717472 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.767 10638 11264 E native : E0405 14:32:57.767247 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.797 10638 11264 E native : E0405 14:32:57.797550 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.819 10638 11264 E native : E0405 14:32:57.819541 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.853 10638 11264 E native : E0405 14:32:57.853290 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.893 10638 11264 E native : E0405 14:32:57.893097 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.918 10638 11264 E native : E0405 14:32:57.918583 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.960 10638 11264 E native : E0405 14:32:57.960217 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:57.980 10638 11038 I System.out: [okhttp]:check permission begin!
04-05 14:32:57.981 10638 11038 I System.out: [okhttp]:not MMS!
04-05 14:32:57.981 10638 11038 I System.out: [okhttp]:not Email!
04-05 14:32:57.984 10638 11038 I System.out: [OkHttp] sendRequest<<
04-05 14:32:58.002 10638 11264 E native : E0405 14:32:58.002282 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.023 10638 11264 E native : E0405 14:32:58.023810 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.059 10638 11264 E native : E0405 14:32:58.059836 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.111 10638 11264 E native : E0405 14:32:58.111778 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.124 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 21316(2585KB) AllocSpace objects, 10(9648KB) LOS objects, 49% free,
10MB/20MB, paused 704us total 132.139ms
04-05 14:32:58.137 10638 11264 E native : E0405 14:32:58.137393 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.159 10638 11264 E native : E0405 14:32:58.159314 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.212 10638 11264 E native : E0405 14:32:58.212050 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.248 10638 11264 E native : E0405 14:32:58.248348 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.302 10638 11264 E native : E0405 14:32:58.302729 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.314 10638 11264 E native : E0405 14:32:58.314100 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.348 10638 11264 E native : E0405 14:32:58.348603 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.380 10638 11264 E native : E0405 14:32:58.380601 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.441 10638 11264 E native : E0405 14:32:58.441237 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.458 10638 11264 E native : E0405 14:32:58.458897 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.483 10638 11264 E native : E0405 14:32:58.483427 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.487 10638 10652 I ptc.vuforiavie: Background young concurrent
copying GC freed 22050(2541KB) AllocSpace objects, 8(5592KB) LOS objects, 25% free,
15MB/20MB, paused 270us total 135.264ms
04-05 14:32:58.515 10638 11264 E native : E0405 14:32:58.515526 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.550 10638 11264 E native : E0405 14:32:58.550714 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.574 10638 11264 E native : E0405 14:32:58.574520 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.618 10638 11264 E native : E0405 14:32:58.618813 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.643 10638 11264 E native : E0405 14:32:58.643107 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.675 10638 11264 E native : E0405 14:32:58.675280 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.717 10638 11264 E native : E0405 14:32:58.717099 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.749 10638 11264 E native : E0405 14:32:58.749869 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.783 10638 11264 E native : E0405 14:32:58.783093 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.821 10638 11264 E native : E0405 14:32:58.821007 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.851 10638 11264 E native : E0405 14:32:58.851361 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.900 10638 11264 E native : E0405 14:32:58.900219 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.906 10638 11062 E native : E0405 14:32:58.906331 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:32:58.906 10638 11062 E native : === Source Location Trace: ===
04-05 14:32:58.906 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:32:58.906 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:32:58.906 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:32:58.906 10638 11062 E native :
04-05 14:32:58.915 10638 11264 E native : E0405 14:32:58.915462 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.923 10638 11062 W native : W0405 14:32:58.923844 11062
pose_manager.cc:66] GetRecentDevicePose failed. INVALID_ARGUMENT: Passed timestamp
is too old.
04-05 14:32:58.923 10638 11062 W native : === Source Location Trace: ===
04-05 14:32:58.923 10638 11062 W native :
third_party/redwood/perception/pose_manager/pose_manager.cc:410
04-05 14:32:58.923 10638 11062 W native : Latest VIO t: 136h44m53.565674412s,
latest IMU t: 136h44m53.691240979s, query t:136h44m50.559395413s
04-05 14:32:58.957 10638 11264 E native : E0405 14:32:58.956966 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:58.988 10638 11264 E native : E0405 14:32:58.988929 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.045 10638 11264 E native : E0405 14:32:59.045415 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.066 10638 11264 E native : E0405 14:32:59.066172 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.118 10638 11264 E native : E0405 14:32:59.118347 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.149 10638 11264 E native : E0405 14:32:59.149224 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.167 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 35058(3197KB) AllocSpace objects, 10(9648KB) LOS objects, 49% free,
15MB/31MB, paused 1.268ms total 422.699ms
04-05 14:32:59.175 10638 11264 E native : E0405 14:32:59.174944 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.206 10638 11264 E native : E0405 14:32:59.206661 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.246 10638 11264 E native : E0405 14:32:59.246196 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.296 10638 11264 E native : E0405 14:32:59.296264 11264
status.cc:162] FAILED_PRECONDITION:
04-05 14:32:59.296 10638 11264 E native : ARCoreError:
third_party/arcore/ar/core/cpu_image_manager.cc:308
04-05 14:32:59.296 10638 11264 E native :
[type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_A
VAILABLE']
04-05 14:32:59.296 10638 11264 E native : === Source Location Trace: ===
04-05 14:32:59.296 10638 11264 E native :
third_party/arcore/ar/core/cpu_image_manager.cc:308
04-05 14:32:59.296 10638 11264 E native :
04-05 14:32:59.336 10638 11264 E native : E0405 14:32:59.336541 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.361 10638 11264 E native : E0405 14:32:59.361184 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.393 10638 11264 E native : E0405 14:32:59.393808 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.450 10638 11264 E native : E0405 14:32:59.450466 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.488 10638 11264 E native : E0405 14:32:59.488520 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.495 10638 11264 E native : E0405 14:32:59.495776 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.537 10638 11264 E native : E0405 14:32:59.537258 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.576 10638 11264 E native : E0405 14:32:59.576864 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.604 10638 11264 E native : E0405 14:32:59.604270 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.649 10638 11264 E native : E0405 14:32:59.649189 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.676 10638 11264 E native : E0405 14:32:59.676346 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.695 10638 11264 E native : E0405 14:32:59.695453 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.736 10638 11264 E native : E0405 14:32:59.736626 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.799 10638 11264 E native : E0405 14:32:59.799053 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.822 10638 10638 I TGX_ImageCache: Initializing Image cache of size
67108864.
04-05 14:32:59.825 10638 11264 E native : E0405 14:32:59.825268 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.843 10638 11264 E native : E0405 14:32:59.843066 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.868 10638 11264 E native : E0405 14:32:59.868906 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.875 10638 10652 I ptc.vuforiavie: Background young concurrent
copying GC freed 46303(5048KB) AllocSpace objects, 14(10MB) LOS objects, 34% free,
20MB/31MB, paused 7.917ms total 234.784ms
04-05 14:32:59.897 10638 11264 E native : E0405 14:32:59.897593 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.932 10638 11264 E native : E0405 14:32:59.932547 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.980 10638 11264 E native : E0405 14:32:59.980127 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:32:59.997 10638 11264 E native : E0405 14:32:59.997417 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.035 10638 11264 E native : E0405 14:33:00.035425 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.058 10638 11264 E native : E0405 14:33:00.058070 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.088 10638 11264 E native : E0405 14:33:00.088770 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.124 10638 11264 E native : E0405 14:33:00.124864 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.177 10638 11264 E native : E0405 14:33:00.177692 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.209 10638 11264 E native : E0405 14:33:00.209588 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.242 10638 11264 E native : E0405 14:33:00.242183 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.266 10638 11264 E native : E0405 14:33:00.266083 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.299 10638 11264 E native : E0405 14:33:00.298888 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.326 10638 11264 E native : E0405 14:33:00.326111 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.327 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 39625(4555KB) AllocSpace objects, 22(19MB) LOS objects, 49% free, 10MB/20MB,
paused 190us total 188.374ms
04-05 14:33:00.365 10638 11264 E native : E0405 14:33:00.365521 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.392 10638 11264 E native : E0405 14:33:00.392062 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.425 10638 11264 E native : E0405 14:33:00.425858 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.458 10638 11264 E native : E0405 14:33:00.458287 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.485 10638 11264 E native : E0405 14:33:00.485882 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.531 10638 11264 E native : E0405 14:33:00.531309 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.553 10638 11264 E native : E0405 14:33:00.553633 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.598 10638 11264 E native : E0405 14:33:00.598105 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.624 10638 11264 E native : E0405 14:33:00.624566 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.653 10638 11264 E native : E0405 14:33:00.653235 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.688 10638 11264 E native : E0405 14:33:00.688333 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.737 10638 11264 E native : E0405 14:33:00.737508 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.753 10638 11264 E native : E0405 14:33:00.753500 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.792 10638 11264 E native : E0405 14:33:00.792660 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.826 10638 11264 E native : E0405 14:33:00.825995 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.847 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 17919(2252KB) AllocSpace objects, 10(9648KB) LOS objects, 49% free,
10MB/20MB, paused 130us total 105.780ms
04-05 14:33:00.863 10638 11264 E native : E0405 14:33:00.863590 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.897 10638 11264 E native : E0405 14:33:00.896858 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.929 10638 11264 E native : E0405 14:33:00.929630 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:00.970 10638 11264 E native : E0405 14:33:00.970105 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.004 10638 11264 E native : E0405 14:33:01.004129 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.038 10638 11264 E native : E0405 14:33:01.038821 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.066 10638 11264 E native : E0405 14:33:01.066785 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.098 10638 11264 E native : E0405 14:33:01.098309 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.155 10638 11264 E native : E0405 14:33:01.155705 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.184 10638 11264 E native : E0405 14:33:01.184615 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.214 10638 11264 E native : E0405 14:33:01.214054 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.255 10638 11264 E native : E0405 14:33:01.255016 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.277 10638 11264 E native : E0405 14:33:01.277768 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.284 10638 10652 I ptc.vuforiavie: Background young concurrent
copying GC freed 26641(2910KB) AllocSpace objects, 3(768KB) LOS objects, 4% free,
19MB/20MB, paused 761us total 119.241ms
04-05 14:33:01.328 10638 11264 E native : E0405 14:33:01.328423 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.350 10638 11264 E native : E0405 14:33:01.350884 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.368 10638 11264 E native : E0405 14:33:01.368455 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.399 10638 11264 E native : E0405 14:33:01.399214 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.446 10638 11264 E native : E0405 14:33:01.446653 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.476 10638 11264 E native : E0405 14:33:01.476053 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.486 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 15095(1429KB) AllocSpace objects, 9(9392KB) LOS objects, 49% free, 15MB/31MB,
paused 234us total 148.167ms
04-05 14:33:01.501 10638 11264 E native : E0405 14:33:01.501730 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.546 10638 11264 E native : E0405 14:33:01.546269 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.585 10638 11264 E native : E0405 14:33:01.585237 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.616 10638 11264 E native : E0405 14:33:01.615963 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.637 10638 11264 E native : E0405 14:33:01.637165 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.675 10638 11264 E native : E0405 14:33:01.675360 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.704 10638 11264 E native : E0405 14:33:01.704285 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.739 10638 11264 E native : E0405 14:33:01.739190 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.775 10638 11264 E native : E0405 14:33:01.775228 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.816 10638 11264 E native : E0405 14:33:01.816683 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.844 10638 11264 E native : E0405 14:33:01.844057 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.886 10638 11264 E native : E0405 14:33:01.886706 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.915 10638 11264 E native : E0405 14:33:01.915646 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.938 10638 11062 E native : E0405 14:33:01.938880 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:33:01.938 10638 11062 E native : === Source Location Trace: ===
04-05 14:33:01.938 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:33:01.938 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:33:01.938 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:33:01.938 10638 11062 E native :
04-05 14:33:01.952 10638 11264 E native : E0405 14:33:01.952838 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:01.978 10638 11264 E native : E0405 14:33:01.978659 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.017 10638 11264 E native : E0405 14:33:02.017148 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.042 10638 11264 E native : E0405 14:33:02.042780 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.086 10638 11264 E native : E0405 14:33:02.086635 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.114 10638 11264 E native : E0405 14:33:02.114540 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.155 10638 11264 E native : E0405 14:33:02.155833 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.187 10638 11264 E native : E0405 14:33:02.187809 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.195 10638 10652 I ptc.vuforiavie: Background young concurrent
copying GC freed 43139(4944KB) AllocSpace objects, 14(10MB) LOS objects, 34% free,
20MB/31MB, paused 5.439ms total 240.595ms
04-05 14:33:02.224 10638 11264 E native : E0405 14:33:02.224394 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.233 10638 11061 W native : W0405 14:33:02.233356 11061
plane_estimator.cc:661] Got a new plane, id: 2, with a invalid statistics.
04-05 14:33:02.258 10638 11264 E native : E0405 14:33:02.258782 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.288 10638 11264 E native : E0405 14:33:02.288850 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.343 10638 11264 E native : E0405 14:33:02.342959 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.360 10638 11264 E native : E0405 14:33:02.360818 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.390 10638 11264 E native : E0405 14:33:02.390313 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.419 10638 11264 E native : E0405 14:33:02.419488 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.460 10638 11264 E native : E0405 14:33:02.460147 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.497 10638 11264 E native : E0405 14:33:02.497015 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.522 10638 11264 E native : E0405 14:33:02.522361 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.584 10638 11264 E native : E0405 14:33:02.584050 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.619 10638 11264 E native : E0405 14:33:02.619885 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.640 10638 11264 E native : E0405 14:33:02.640211 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.658 10638 11264 E native : E0405 14:33:02.658444 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.740 10638 11264 E native : E0405 14:33:02.740297 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.754 10638 11264 E native : E0405 14:33:02.754665 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.775 10638 11264 E native : E0405 14:33:02.775844 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.802 10638 11264 E native : E0405 14:33:02.802692 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.833 10638 11264 E native : E0405 14:33:02.833420 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.868 10638 11264 E native : E0405 14:33:02.868359 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.871 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 54214(5769KB) AllocSpace objects, 27(24MB) LOS objects, 49% free, 10MB/21MB,
paused 431us total 305.736ms
04-05 14:33:02.900 10638 11264 E native : E0405 14:33:02.900344 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.927 10638 11264 E native : E0405 14:33:02.927706 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:02.978 10638 11264 E native : E0405 14:33:02.978789 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:03.000 10638 11264 E native : E0405 14:33:03.000729 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:03.026 10638 11264 E native : E0405 14:33:03.026937 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:03.068 10638 11264 E native : E0405 14:33:03.068277 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:03.113 10638 11264 E native : E0405 14:33:03.113650 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:03.124 10638 11264 E native : E0405 14:33:03.124212 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:03.156 10638 11264 E native : E0405 14:33:03.156749 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:03.231 10638 11264 E native : E0405 14:33:03.231510 11264
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:03.232 10638 10638 D CordovaActivity: Paused the activity.
04-05 14:33:03.234 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:33:03.256 10638 10638 I native : I0405 14:33:03.256348 10638
session.cc:1624] Entering Session::Pause.
04-05 14:33:03.258 10638 10638 I native : I0405 14:33:03.257945 10638
plane_manager.cc:927] PopulatePlaneEstimationStatistics
number_of_normal_segmentations: 0, number_of_plane_normal_segment_matches: 0,
vertical_planes_boundary_area: 0, vertical_planes_ml_boundary_growth: 0,
number_of_vertical_planes: 0, number_of_vertical_planes_with_ml_boundary_growth: 0,
avg_duration_in_seconds: 0, tof_merge_quality_stats_.Empty(): true,
tof_merge_quality_stats_.hist_area_overlap_ratio_: [0.750, 0.760): 0.000000,
[0.760, 0.770): 0.000000, [0.770, 0.780): 0.000000, [0.780, 0.790): 0.000000,
[0.790, 0.800): 0.000000, [0.800, 0.810): 0.000000, [0.810, 0.820): 0.000000,
[0.820, 0.830): 0.000000, [0.830, 0.840): 0.000000, [0.840, 0.850): 0.000000,
[0.850, 0.860): 0.000000, [0.860, 0.870): 0.000000, [0.870, 0.880): 0.000000,
[0.880, 0.890): 0.000000, [0.890, 0.900): 0.000000, [0.900, 0.910): 0.000000,
[0.910, 0.920): 0.000000, [0.920, 0.930): 0.000000, [0.930, 0.940): 0.000000,
[0.940, 0.950): 0.000000, [0.950, 0.960): 0.000000, [0.960, 0.970): 0.000000,
[0.970, 0.980): 0.000000, [0.980, 0.990): 0.000000, [0.990, 1.000): 0.000000,
[1.000, inf): 0.000000, , tof_merge_quality_stats_.hist_feature_overlap_ratio_:
[0.900, 0.905): 0.000000, [0.905, 0.910): 0.000000, [0.910, 0.915): 0.000000,
[0.915, 0.920): 0.000000, [0.920, 0.925): 0.000000, [0.925, 0.930): 0.000000,
[0.930, 0.935): 0.000000, [0.935, 0.940): 0.000000, [0.940, 0.945): 0.000000,
[0.945, 0.950): 0.000000, [0.950, 0.955): 0.000000, [0.955, 0.960): 0.000000,
[0.960, 0.965): 0.000000, [0.965, 0.970): 0.000000, [0.970, 0.975): 0.000000,
[0.975, 0.980): 0.000000, [0.980, 0.985): 0.000000, [0.985, 0.990): 0.000000,
[0.990, 0.995): 0.000000, [0.995, 1.000): 0.000000, [1.000, inf): 0.000000, ,
tof_merge_quality_stats_.hist_normal_closeness_: [0.900, 0.905): 0.000000, [0.905,
0.910): 0.000000, [0.910, 0.915): 0.000000, [0.915, 0.920): 0.000000, [0.920,
0.925): 0.000000, [0.925, 0.930): 0.000000, [0.930, 0.935): 0.000000, [0.935,
0.940): 0.000000, [0.940, 0.945): 0.000000, [0.945, 0.950): 0.000000, [0.950,
0.955): 0.000000, [0.955, 0.960): 0.000000, [0.960, 0.965): 0.000000, [0.965,
0.970): 0.000000, [0.970, 0.975): 0.000000, [0.975, 0.980): 0.000000, [0.980,
0.985): 0.000000, [0.985, 0.990): 0.000000, [0.990, 0.995): 0.000000, [0.995,
1.000): 0.000000, [1.000, inf): 0.000000, ,
tof_merge_quality_stats_.hist_plane_distance_: [0.000, 0.010): 0.000000, [0.010,
0.020): 0.000000, [0.020, 0.030): 0.000000, [0.030, 0.040): 0.000000, [0.040,
0.050): 0.000000, [0.050, 0.060): 0.000000, [0.060, 0.070): 0.000000, [0.070,
0.080): 0.000000, [0.080, 0.090): 0.000000, [0.090, 0.100): 0.000000, [0.100,
0.110): 0.000000, [0.110, 0.120): 0.000000, [0.120, 0.130): 0.000000, [0.130,
0.140): 0.000000, [0.140, 0.150): 0.000000, [0.150, 0.160): 0.000000, [0.160,
0.170): 0.000000, [0.170, 0.180): 0.000000, [0.180, 0.190): 0.000000, [0.190,
0.200): 0.000000, [0.200, 0.210): 0.000000, [0.210, 0.220): 0.000000, [0.220,
0.230): 0.000000, [0.230, 0.240): 0.000000, [0.240, 0.250): 0.000000, [0.250,
0.260): 0.000000, [0.260, 0.270): 0.000000, [0.270, 0.280): 0.000000, [0.280,
0.290): 0.000000, [0.290, 0.300): 0.000000, [0.300, 0.310): 0.000000, [0.310,
0.320): 0.000000, [0.320, 0.330): 0.000000, [0.330, 0.340): 0.000000, [0.340,
0.350): 0.000000, [0.350, 0.360): 0.000000, [0.360, 0.370): 0.000000, [0.370,
0.380): 0.000000, [0.380, 0.390): 0.000000, [0.390, 0.400): 0.000000, [0.400,
0.410): 0.000000, [0.410, 0.420): 0.000000, [0.420, 0.430): 0.000000, [0.430,
0.440): 0.000000, [0.440, 0.450): 0.000000, [0.450, 0.460): 0.000000, [0.460,
0.470): 0.000000, [0.470, 0.480): 0.000000, [0.480, 0.490): 0.000000, [0.490,
0.500): 0.000000, [0.500, inf): 0.000000, , ms_merge_quality_stats_.Empty(): true,
ms_merge_quality_stats_.hist_area_overlap_ratio_: [0.750, 0.760): 0.000000, [0.760,
0.770): 0.000000, [0.770, 0.780): 0.000000, [0.780, 0.790): 0.000000, [0.790,
0.800): 0.000000, [0.800, 0.810): 0.000000, [0.810, 0.820): 0.000000, [0.820,
0.830): 0.000000, [0.830, 0.840): 0.000000, [0.840, 0.850): 0.0
04-05 14:33:03.258 10638 10638 I native :
04-05 14:33:03.259 10638 10638 I native : I0405 14:33:03.259493 10638
online_calibration_manager.cc:160] OnlineCalibrationManager: Deleted the original
online recalibration file successfully.
04-05 14:33:03.273 10638 11059 I native : I0405 14:33:03.273871 11059
viwls_optimization.cc:977] Skip Lite-COM due to a significant calibration change.
04-05 14:33:03.313 10638 11059 I native : I0405 14:33:03.313917 11059
viwls_optimization.cc:826] MAP SOLVE: USER_SUCCESS
04-05 14:33:03.315 10638 11059 I native : I0405 14:33:03.315028 11059
visual_inertial_wls.cc:282] online_viwls_solve_time in seconds = 0.0594049
solve_time_counter_ = 0
04-05 14:33:03.325 10638 11059 I native : I0405 14:33:03.325386 11059
multi_map_manager.cc:289] Added ADF into multi_map_manager: 1f46191a-af85-298e-
8a3c-bba8391a9bef
04-05 14:33:03.385 10638 10930 W CameraManagerGlobal: ignore the torch status
update of camera: 21
04-05 14:33:03.387 10638 10930 W CameraManagerGlobal: ignore the torch status
update of camera: 22
04-05 14:33:03.389 10638 10930 W CameraManagerGlobal: ignore the torch status
update of camera: 61
04-05 14:33:03.392 10638 11151 I BufferQueueProducer: [ImageReader-
1920x1080f22u256m16-10638-0](id:298e00000000,api:4,p:858,c:10638) disconnect():
api=4
04-05 14:33:03.394 10638 11151 I BufferQueueProducer: [ImageReader-640x480f23m16-
10638-0](id:298e00000001,api:4,p:858,c:10638) disconnect(): api=4
04-05 14:33:03.398 10638 11151 I BufferQueueProducer: [ImageReader-1920x1080f23m16-
10638-1](id:298e00000002,api:4,p:858,c:10638) disconnect(): api=4
04-05 14:33:03.405 10638 11103 E CameraManagerGlobal: Camera 61 is not available.
Ignore physical camera status change
04-05 14:33:03.410 10638 10638 I native : I0405 14:33:03.410189 10638
logger.h:28] DataSourceMetrics: kStopImageSubSystem: 133.455923ms
04-05 14:33:03.413 10638 10638 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:03.416 10638 10638 E native : E0405 14:33:03.416794 10638
scheduler.cc:278] generic::internal: RET_CHECK failure
(third_party/mediapipe/framework/scheduler.cc:278) state_ != STATE_NOT_STARTED (0
vs. 0)
04-05 14:33:03.416 10638 10638 E native : Stack trace:
04-05 14:33:03.416 10638 10638 E native :
04-05 14:33:03.416 10638 10638 E native : E0405 14:33:03.416857 10638
normal_detector_cpu.cc:231] Error graph_->WaitUntilIdle():INTERNAL: RET_CHECK
failure (third_party/mediapipe/framework/scheduler.cc:278) state_ !=
STATE_NOT_STARTED (0 vs. 0)
04-05 14:33:03.416 10638 10638 E native : === Source Location Trace: ===
04-05 14:33:03.416 10638 10638 E native :
third_party/mediapipe/framework/scheduler.cc:278
04-05 14:33:03.416 10638 10638 E native :
third_party/mediapipe/framework/calculator_graph.cc:805
04-05 14:33:03.416 10638 10638 E native :
04-05 14:33:03.416 10638 10638 I native : I0405 14:33:03.416877 10638
session.cc:1732] Session::PauseWithAnalytics returning OK.
04-05 14:33:03.424 10638 10638 W Activity: Slow Operation: Activity
com.ptc.vuforiaview/com.ptc.thingbrowser.MainActivity onPause took 204ms
04-05 14:33:03.426 10638 11038 I System.out: [okhttp]:check permission begin!
04-05 14:33:03.426 10638 11038 I System.out: [okhttp]:not MMS!
04-05 14:33:03.426 10638 11038 I System.out: [okhttp]:not Email!
04-05 14:33:03.428 10638 11038 I System.out: [OkHttp] sendRequest<<
04-05 14:33:03.458 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:33:04.529 10638 10638 D CordovaActivity: Stopped the activity.
04-05 14:33:04.532 10638 10638 V PhoneWindow: DecorView setVisiblity: visibility =
4, Parent = android.view.ViewRootImpl@1299d23, this =
DecorView@7687baf[MainActivity]
04-05 14:33:04.553 10638 10743 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:33:23.544 10638 10638 D CordovaActivity: Started the activity.
04-05 14:33:23.545 10638 10638 V PhoneWindow: DecorView setVisiblity: visibility =
0, Parent = android.view.ViewRootImpl@1299d23, this =
DecorView@7687baf[MainActivity]
04-05 14:33:23.548 10638 10638 D CordovaActivity: Resumed the activity.
04-05 14:33:23.563 10638 12079 I System.out: [okhttp]:check permission begin!
04-05 14:33:23.563 10638 12079 I System.out: [okhttp]:not MMS!
04-05 14:33:23.563 10638 12079 I System.out: [okhttp]:not Email!
04-05 14:33:23.565 10638 10638 V PhoneWindow: DecorView setVisiblity: visibility =
0, Parent = android.view.ViewRootImpl@1299d23, this =
DecorView@7687baf[MainActivity]
04-05 14:33:23.630 10638 10638 I native : I0405 14:33:23.630074 10638
session.cc:1206] Entering Session::Resume.
04-05 14:33:23.633 10638 10638 I native : I0405 14:33:23.633950 10638
estimator_impl.cc:735] Resetting motion tracking from user request.
04-05 14:33:23.635 10638 10638 I native : I0405 14:33:23.635434 10638
session.cc:3334] Update Frame Delay to 0 frames.
04-05 14:33:23.635 10638 10638 I native : I0405 14:33:23.635536 10638
android_sensors.cc:212] Starting thread.
04-05 14:33:23.639 10638 10638 I native : I0405 14:33:23.639031 10638
logger.h:28] DataSourceMetrics: kStartImageSubSystem: 3.374077ms
04-05 14:33:23.639 10638 10638 I native : I0405 14:33:23.639109 10638
session.cc:1394] Session::ResumeWithAnalytics returning OK.
04-05 14:33:23.642 10638 12087 D libMEOW : applied 1 plugins for
[com.ptc.vuforiaview]:
04-05 14:33:23.642 10638 12087 D libMEOW : plugin 1: [libMEOW_gift.so]:
04-05 14:33:23.644 10638 12087 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:33:23.644 10638 12087 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:33:23.644 10638 12087 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:33:23.644 10638 12087 I libMEOW_gift: ctx:0xb400007bdd32feb8, ARC not
Enabled.
04-05 14:33:23.645 10638 12087 I native : I0405 14:33:23.644957 12087
session.cc:3334] Update Frame Delay to 0 frames.
04-05 14:33:23.645 10638 12087 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:33:23.645 10638 12087 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:33:23.645 10638 12087 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:33:23.645 10638 12087 I libMEOW_gift: ctx:0xb400007bc1ddfef0, ARC not
Enabled.
04-05 14:33:23.651 10638 10638 I AR : Starting camera with profile for Redmi
Note 8 Pro, 0
04-05 14:33:23.652 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:23.659 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:23.690 10638 12082 I native : I0405 14:33:23.690682 12082
android_sensors.cc:51] Gyro min delay 2.5ms requesting 5ms
04-05 14:33:23.694 10638 11038 I System.out: [okhttp]:check permission begin!
04-05 14:33:23.694 10638 11038 I System.out: [okhttp]:not MMS!
04-05 14:33:23.694 10638 11038 I System.out: [okhttp]:not Email!
04-05 14:33:23.696 10638 11001 E libc : Access denied finding property
"persist.vendor.camera.privapp.list"
04-05 14:33:23.697 10638 12082 I native : I0405 14:33:23.697910 12082
android_sensors.cc:51] Accel min delay 2.5ms requesting 5ms
04-05 14:33:23.716 10638 11103 E CameraManagerGlobal: Camera 61 is not available.
Ignore physical camera status change
04-05 14:33:23.721 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:23.726 10638 12079 I System.out: [socket]:check permission begin!
04-05 14:33:23.745 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:23.745 10638 10743 I chatty : uid=10403(com.ptc.vuforiaview)
RenderThread identical 2 lines
04-05 14:33:23.745 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:23.749 10638 10656 W CameraManagerGlobal: ignore the torch status
update of camera: 21
04-05 14:33:23.752 10638 10656 W CameraManagerGlobal: ignore the torch status
update of camera: 22
04-05 14:33:23.753 10638 10656 W CameraManagerGlobal: ignore the torch status
update of camera: 61
04-05 14:33:23.755 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:23.787 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:23.787 10638 11038 I System.out: [socket]:check permission begin!
04-05 14:33:23.819 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:23.852 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:23.885 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:23.894 10638 11151 I BufferQueueProducer: [ImageReader-
1920x1080f22u256m16-10638-0](id:298e00000000,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=true
04-05 14:33:23.896 10638 11151 I BufferQueueProducer: [ImageReader-640x480f23m16-
10638-0](id:298e00000001,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=false
04-05 14:33:23.897 10638 11151 I BufferQueueProducer: [ImageReader-1920x1080f23m16-
10638-1](id:298e00000002,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=false
04-05 14:33:23.918 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:23.950 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:23.983 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:24.017 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:24.049 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:24.082 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:24.115 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:24.127 10638 12079 I System.out: [OkHttp] sendRequest>>
04-05 14:33:24.127 10638 12079 I System.out: [OkHttp] sendRequest<<
04-05 14:33:24.147 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:24.180 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:24.213 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:24.246 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:24.279 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:24.312 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:24.314 10638 11117 I native : I0405 14:33:24.314378 11117
logger.h:28] DataSourceMetrics: kFirstGlCallback: 678.721231ms
04-05 14:33:24.345 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:24.365 10638 11230 I native : I0405 14:33:24.365834 11230
timebase_helpers.cc:169] Timebase offset intialized to 0
04-05 14:33:24.365 10638 11230 I native : I0405 14:33:24.365972 11230
logger.h:28] DataSourceMetrics: kFirstImageCallback: 730.315923ms
04-05 14:33:24.368 10638 12083 I native : I0405 14:33:24.368894 12083
performance_monitor.cc:115] Event: FeatureExtraction is taking too long, it took
2204.2ms
04-05 14:33:24.370 10638 11057 W native : W0405 14:33:24.370212 11057
vio_initializer.cc:498] Dropped initialization window due to skip in data.
04-05 14:33:24.370 10638 11056 E native : E0405 14:33:24.370299 11056
epipolar_self_consistency_metrics.cc:164] Failed to create pose node for current
timestamp 492319027721233
04-05 14:33:24.370 10638 11057 W native : W0405 14:33:24.370508 11057
motion_tracking_stats_gatherer.cc:1626] Feature Extraction frequency low: 0.140804
Hz.
04-05 14:33:24.370 10638 11057 W native : W0405 14:33:24.370577 11057
motion_tracking_stats_gatherer.cc:1626] VIO frequency low: 0.140804 Hz.
04-05 14:33:24.370 10638 11059 I native : I0405 14:33:24.370800 11059
data_manager.cc:157] Mapping backend detected fault.
04-05 14:33:24.370 10638 11059 I native : I0405 14:33:24.370866 11059
data_manager.cc:159] Saving current map to map buffer.
04-05 14:33:24.370 10638 11059 I native : I0405 14:33:24.370889 11059
data_manager.cc:165] Generated map # 1, ID 1f46191a-af85-298e-8a3c-bba8391a9bef,
non-marginalized keyframes 26, landmarks 46
04-05 14:33:24.377 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:24.379 10638 12087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:24.410 10638 12087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:24.445 10638 12087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:24.485 10638 12087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:24.492 10638 12079 I System.out: [okhttp]:check permission begin!
04-05 14:33:24.492 10638 12079 I System.out: [okhttp]:not MMS!
04-05 14:33:24.492 10638 12079 I System.out: [okhttp]:not Email!
04-05 14:33:24.518 10638 12087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:24.539 10638 11038 I System.out: [OkHttp] sendRequest<<
04-05 14:33:24.551 10638 12087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:24.585 10638 12079 I System.out: [socket]:check permission begin!
04-05 14:33:24.595 10638 12087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:24.637 10638 12087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:24.825 10638 12087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:24.931 10638 12087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:25.166 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 24012(2542KB) AllocSpace objects, 7(5336KB) LOS objects, 49% free, 10MB/20MB,
paused 2.212ms total 475.458ms
04-05 14:33:26.042 10638 12087 E native : E0405 14:33:26.041836 12087
status.cc:162] FAILED_PRECONDITION:
04-05 14:33:26.042 10638 12087 E native : ARCoreError:
third_party/arcore/ar/core/cpu_image_manager.cc:308
04-05 14:33:26.042 10638 12087 E native :
[type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_A
VAILABLE']
04-05 14:33:26.042 10638 12087 E native : === Source Location Trace: ===
04-05 14:33:26.042 10638 12087 E native :
third_party/arcore/ar/core/cpu_image_manager.cc:308
04-05 14:33:26.042 10638 12087 E native :
04-05 14:33:26.057 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 5773(834KB) AllocSpace objects, 14(15MB) LOS objects, 49% free, 15MB/30MB,
paused 986us total 259.526ms
04-05 14:33:26.289 10638 11057 E native : E0405 14:33:26.289463 11057
vio_initializer.cc:680] generic::internal: [SSBA Initialization] Failed: Image has
too few landmarks. [Required: 9, Actual: 4].;
04-05 14:33:26.289 10638 11057 E native : Initializer's SSBA failed to produce a
valid output.
04-05 14:33:26.401 10638 11057 E native : E0405 14:33:26.401201 11057
vio_initializer.cc:680] generic::internal: [SSBA Initialization] Failed: Image has
too few landmarks. [Required: 9, Actual: 6].;
04-05 14:33:26.401 10638 11057 E native : Initializer's SSBA failed to produce a
valid output.
04-05 14:33:26.529 10638 11057 E native : E0405 14:33:26.529741 11057
vio_initializer.cc:680] generic::internal: [SSBA Initialization] Failed: Image has
too few landmarks. [Required: 9, Actual: 1].;
04-05 14:33:26.529 10638 11057 E native : Initializer's SSBA failed to produce a
valid output.
04-05 14:33:26.592 10638 11057 E native : E0405 14:33:26.592579 11057
vio_initializer.cc:680] generic::internal: [SSBA Initialization] Failed: Image has
too few landmarks. [Required: 9, Actual: 6].;
04-05 14:33:26.592 10638 11057 E native : Initializer's SSBA failed to produce a
valid output.
04-05 14:33:26.717 10638 11057 I native : I0405 14:33:26.717424 11057
bundle_adjustment_initializer.cc:274] Intrinsic vector size of the camera 0 is 7
04-05 14:33:26.808 10638 11057 I native : I0405 14:33:26.808409 11057
bundle_adjustment_initialization.h:143] Number of measurements used in BA
initialization for temporal landmarks: 438
04-05 14:33:26.808 10638 11057 I native : I0405 14:33:26.808486 11057
bundle_adjustment_initialization.h:145] Number of good measurements (i.e.,
reprojection errors <= 3 pixels) in BA initialization for temporal landmarks: 418
04-05 14:33:26.854 10638 12087 E native : E0405 14:33:26.854051 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:26.882 10638 12087 E native : E0405 14:33:26.882148 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:26.883 10638 11062 E native : E0405 14:33:26.883337 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Could not
retrieve pose from pose graph.
04-05 14:33:26.883 10638 11062 E native : === Source Location Trace: ===
04-05 14:33:26.883 10638 11062 E native :
third_party/redwood/perception/pose_manager/pose_node_graph.cc:140
04-05 14:33:26.883 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1396
04-05 14:33:26.883 10638 11062 E native :
04-05 14:33:26.908 10638 10652 I ptc.vuforiavie: Background young concurrent
copying GC freed 45469(4008KB) AllocSpace objects, 11(9904KB) LOS objects, 27%
free, 22MB/30MB, paused 3.868ms total 147.724ms
04-05 14:33:26.917 10638 12087 E native : E0405 14:33:26.917779 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:26.954 10638 12087 E native : E0405 14:33:26.954295 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:26.992 10638 12087 E native : E0405 14:33:26.992041 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.025 10638 12087 E native : E0405 14:33:27.025359 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.061 10638 12087 E native : E0405 14:33:27.061882 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.087 10638 12087 E native : E0405 14:33:27.087294 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.129 10638 12087 E native : E0405 14:33:27.129465 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.165 10638 12087 E native : E0405 14:33:27.165620 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.223 10638 12087 E native : E0405 14:33:27.223648 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.244 10638 12087 E native : E0405 14:33:27.244841 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.262 10638 12087 E native : E0405 14:33:27.262659 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.298 10638 12087 E native : E0405 14:33:27.298878 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.324 10638 12087 E native : E0405 14:33:27.324662 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.370 10638 12087 E native : E0405 14:33:27.370651 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.412 10638 12087 E native : E0405 14:33:27.412257 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.427 10638 12087 E native : E0405 14:33:27.427055 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.460 10638 12087 E native : E0405 14:33:27.460886 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.498 10638 12087 E native : E0405 14:33:27.498228 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.528 10638 12087 E native : E0405 14:33:27.528151 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.576 10638 12087 E native : E0405 14:33:27.576080 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.601 10638 12087 E native : E0405 14:33:27.601017 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.672 10638 12087 E native : E0405 14:33:27.672460 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.683 10638 11061 W native : W0405 14:33:27.683427 11061
plane_estimator.cc:661] Got a new plane, id: 4, with a invalid statistics.
04-05 14:33:27.714 10638 12087 E native : E0405 14:33:27.714853 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.735 10638 12087 E native : E0405 14:33:27.735691 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.763 10638 12087 E native : E0405 14:33:27.763595 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.802 10638 12087 E native : E0405 14:33:27.802635 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.828 10638 12087 E native : E0405 14:33:27.828829 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.882 10638 12087 E native : E0405 14:33:27.882403 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.949 10638 12087 E native : E0405 14:33:27.949367 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.962 10638 12087 E native : E0405 14:33:27.961962 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:27.980 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 47681(4574KB) AllocSpace objects, 24(21MB) LOS objects, 49% free, 10MB/20MB,
paused 988us total 397.693ms
04-05 14:33:27.996 10638 12087 E native : E0405 14:33:27.996808 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.042 10638 12087 E native : E0405 14:33:28.042328 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.071 10638 12087 E native : E0405 14:33:28.071359 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.097 10638 12087 E native : E0405 14:33:28.097462 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.139 10638 12087 E native : E0405 14:33:28.139254 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.169 10638 12087 E native : E0405 14:33:28.169019 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.270 10638 12087 E native : E0405 14:33:28.270365 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.285 10638 12087 E native : E0405 14:33:28.285411 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.306 10638 12087 E native : E0405 14:33:28.306550 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.336 10638 12087 E native : E0405 14:33:28.336608 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.353 10638 11060 I native : I0405 14:33:28.353195 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.837351, y: -
0.52939, z: -0.111122, w: 0.0790098], p = [x: -0.0965206, y: -0.338405, z:
0.0837759]
04-05 14:33:28.353 10638 11060 I native : to: q = [x: 0.838824, y: -0.527197, z: -
0.113102, w: 0.0751307], p = [x: -0.0955737, y: -0.337098, z: 0.0824091]
04-05 14:33:28.353 10638 11060 I native : rotation change: 0.583719(deg), position
change: 0.00211476(m).
04-05 14:33:28.359 10638 11060 E native : E0405 14:33:28.355103 11060
sbr_action_state.cc:215] 2 consistent ADF to VIO transformation from MLE are
required to initialize this variable in VIO. Current value is 1.
04-05 14:33:28.359 10638 11060 E native : E0405 14:33:28.359886 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:28.359 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:28.359 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:28.359 10638 11060 E native :
04-05 14:33:28.380 10638 12087 E native : E0405 14:33:28.380360 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.414 10638 12087 E native : E0405 14:33:28.414338 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.439 10638 12087 E native : E0405 14:33:28.439448 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.459 10638 11060 I native : I0405 14:33:28.459591 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.839149, y: -
0.527305, z: -0.110035, w: 0.0753031], p = [x: -0.0977792, y: -0.339042, z:
0.0778205]
04-05 14:33:28.459 10638 11060 I native : to: q = [x: 0.839406, y: -0.526707, z: -
0.114362, w: 0.0699938], p = [x: -0.0963495, y: -0.337668, z: 0.0757486]
04-05 14:33:28.459 10638 11060 I native : rotation change: 0.788351(deg), position
change: 0.00286742(m).
04-05 14:33:28.460 10638 11060 I native : I0405 14:33:28.460358 11060
sbr_constraint_update_utils.cc:280] (Re-)setting adf_T_vio: q = [x: -0.00245203, y:
0.0062389, z: -0.0499682, w: 0.998728], p = [x: 0.386817, y: -0.264757, z: -
0.147229]
04-05 14:33:28.490 10638 12087 E native : E0405 14:33:28.490539 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.517 10638 12087 E native : E0405 14:33:28.517511 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.532 10638 11048 I native : I0405 14:33:28.532127 11048
pose_manager.cc:354] World pose node changing to MapId:1f46191a-af85-298e-8a3c-
bba8391a9bef with 1 opt.
04-05 14:33:28.580 10638 12087 E native : E0405 14:33:28.580634 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.632 10638 12087 E native : E0405 14:33:28.632505 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.645 10638 12087 E native : E0405 14:33:28.644943 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.678 10638 12087 E native : E0405 14:33:28.678757 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.715 10638 12087 E native : E0405 14:33:28.715703 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.743 10638 12087 E native : E0405 14:33:28.743071 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.776 10638 12087 E native : E0405 14:33:28.776804 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.813 10638 12087 E native : E0405 14:33:28.813782 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.841 10638 12087 E native : E0405 14:33:28.841476 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.874 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 23660(2439KB) AllocSpace objects, 10(9648KB) LOS objects, 49% free,
10MB/20MB, paused 3.756ms total 355.712ms
04-05 14:33:28.919 10638 12087 E native : E0405 14:33:28.919001 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.926 10638 12087 E native : E0405 14:33:28.926466 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.947 10638 12087 E native : E0405 14:33:28.946992 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:28.978 10638 12087 E native : E0405 14:33:28.978781 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.007 10638 12087 E native : E0405 14:33:29.007640 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.041 10638 12087 E native : E0405 14:33:29.041186 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.078 10638 12087 E native : E0405 14:33:29.078595 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.112 10638 12087 E native : E0405 14:33:29.112814 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.149 10638 12087 E native : E0405 14:33:29.149632 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.176 10638 12087 E native : E0405 14:33:29.176729 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.213 10638 12087 E native : E0405 14:33:29.213226 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.246 10638 12087 E native : E0405 14:33:29.246626 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.285 10638 12087 E native : E0405 14:33:29.285568 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.320 10638 12087 E native : E0405 14:33:29.320883 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.350 10638 12087 E native : E0405 14:33:29.350066 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.403 10638 10652 I ptc.vuforiavie: NativeAlloc concurrent copying GC
freed 17594(1012KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 11MB/23MB,
paused 1.018ms total 340.625ms
04-05 14:33:29.404 10638 12087 E native : E0405 14:33:29.403967 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.425 10638 12087 E native : E0405 14:33:29.425698 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.460 10638 12087 E native : E0405 14:33:29.460422 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.493 10638 12087 E native : E0405 14:33:29.493780 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.528 10638 12087 E native : E0405 14:33:29.528893 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.560 10638 12087 E native : E0405 14:33:29.560278 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.582 10638 12087 E native : E0405 14:33:29.582873 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.622 10638 12087 E native : E0405 14:33:29.622235 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.677 10638 12087 E native : E0405 14:33:29.677145 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.690 10638 12087 E native : E0405 14:33:29.690680 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.778 10638 12087 E native : E0405 14:33:29.778470 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.804 10638 12087 E native : E0405 14:33:29.804485 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.826 10638 12087 E native : E0405 14:33:29.826423 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.880 10638 12087 E native : E0405 14:33:29.880184 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.898 10638 12087 E native : E0405 14:33:29.898856 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.922 10638 12087 E native : E0405 14:33:29.922299 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:29.928 10638 11062 E native : E0405 14:33:29.928299 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:33:29.928 10638 11062 E native : === Source Location Trace: ===
04-05 14:33:29.928 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:33:29.928 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:33:29.928 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:33:29.928 10638 11062 E native :
04-05 14:33:29.958 10638 12087 E native : E0405 14:33:29.958242 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.008 10638 12087 E native : E0405 14:33:30.008486 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.052 10638 12087 E native : E0405 14:33:30.052018 12087
status.cc:162] FAILED_PRECONDITION:
04-05 14:33:30.052 10638 12087 E native : ARCoreError:
third_party/arcore/ar/core/cpu_image_manager.cc:308
04-05 14:33:30.052 10638 12087 E native :
[type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_A
VAILABLE']
04-05 14:33:30.052 10638 12087 E native : === Source Location Trace: ===
04-05 14:33:30.052 10638 12087 E native :
third_party/arcore/ar/core/cpu_image_manager.cc:308
04-05 14:33:30.052 10638 12087 E native :
04-05 14:33:30.090 10638 12087 E native : E0405 14:33:30.090703 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.128 10638 12087 E native : E0405 14:33:30.128473 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.187 10638 10652 I ptc.vuforiavie: Background young concurrent
copying GC freed 39466(3714KB) AllocSpace objects, 9(5848KB) LOS objects, 14% free,
20MB/23MB, paused 341us total 169.016ms
04-05 14:33:30.188 10638 12087 E native : E0405 14:33:30.188086 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.201 10638 12087 E native : E0405 14:33:30.201900 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.231 10638 12087 E native : E0405 14:33:30.231000 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.263 10638 12087 E native : E0405 14:33:30.263901 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.295 10638 12087 E native : E0405 14:33:30.295804 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.355 10638 12087 E native : E0405 14:33:30.355037 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.371 10638 12087 E native : E0405 14:33:30.370295 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.397 10638 12087 E native : E0405 14:33:30.397729 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.442 10638 12087 E native : E0405 14:33:30.442731 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.471 10638 12087 E native : E0405 14:33:30.471042 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.498 10638 12087 E native : E0405 14:33:30.498778 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.597 10638 12087 E native : E0405 14:33:30.597474 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.622 10638 12087 E native : E0405 14:33:30.622686 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.623 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 23825(2512KB) AllocSpace objects, 14(13MB) LOS objects, 49% free, 10MB/21MB,
paused 600us total 313.120ms
04-05 14:33:30.641 10638 12087 E native : E0405 14:33:30.641538 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.671 10638 12087 E native : E0405 14:33:30.670896 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.703 10638 12087 E native : E0405 14:33:30.703942 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.748 10638 12087 E native : E0405 14:33:30.748041 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.769 10638 12087 E native : E0405 14:33:30.769888 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.807 10638 12087 E native : E0405 14:33:30.807280 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.837 10638 12087 E native : E0405 14:33:30.837456 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.873 10638 12087 E native : E0405 14:33:30.873788 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.915 10638 12087 E native : E0405 14:33:30.915843 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.950 10638 12087 E native : E0405 14:33:30.950270 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:30.988 10638 12087 E native : E0405 14:33:30.988286 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.012 10638 12087 E native : E0405 14:33:31.012166 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.042 10638 12087 E native : E0405 14:33:31.042104 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.080 10638 12087 E native : E0405 14:33:31.080549 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.108 10638 12087 E native : E0405 14:33:31.108588 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.153 10638 12087 E native : E0405 14:33:31.153335 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.176 10638 12087 E native : E0405 14:33:31.176343 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.176 10638 10652 I ptc.vuforiavie: Background young concurrent
copying GC freed 35288(3422KB) AllocSpace objects, 9(5848KB) LOS objects, 31% free,
14MB/21MB, paused 3.858ms total 191.339ms
04-05 14:33:31.208 10638 12087 E native : E0405 14:33:31.208164 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.254 10638 12087 E native : E0405 14:33:31.254900 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.290 10638 12087 E native : E0405 14:33:31.290159 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.308 10638 12087 E native : E0405 14:33:31.307999 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.378 10638 12087 E native : E0405 14:33:31.378137 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.408 10638 12087 E native : E0405 14:33:31.408512 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.431 10638 12087 E native : E0405 14:33:31.431864 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.436 10638 10652 I ptc.vuforiavie: NativeAlloc concurrent copying GC
freed 17315(1462KB) AllocSpace objects, 4(4568KB) LOS objects, 49% free, 15MB/30MB,
paused 128us total 170.536ms
04-05 14:33:31.462 10638 12087 E native : E0405 14:33:31.462706 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.484 10638 12087 E native : E0405 14:33:31.484287 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.518 10638 12087 E native : E0405 14:33:31.518402 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.556 10638 12087 E native : E0405 14:33:31.556840 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.584 10638 12087 E native : E0405 14:33:31.584363 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.615 10638 12087 E native : E0405 14:33:31.615216 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.662 10638 12087 E native : E0405 14:33:31.662293 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.677 10638 12087 E native : E0405 14:33:31.677426 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.709 10638 12087 E native : E0405 14:33:31.709909 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.750 10638 12087 E native : E0405 14:33:31.750272 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.837 10638 12087 E native : E0405 14:33:31.837644 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.850 10638 12087 E native : E0405 14:33:31.850757 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.884 10638 12087 E native : E0405 14:33:31.884913 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.913 10638 12087 E native : E0405 14:33:31.912970 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:31.952 10638 12087 E native : E0405 14:33:31.952635 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.029 10638 12087 E native : E0405 14:33:32.028953 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.059 10638 12087 E native : E0405 14:33:32.059685 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.084 10638 12087 E native : E0405 14:33:32.084752 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.118 10638 12087 E native : E0405 14:33:32.118400 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.153 10638 12087 E native : E0405 14:33:32.153618 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.189 10638 12087 E native : E0405 14:33:32.189110 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.231 10638 12087 E native : E0405 14:33:32.231822 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.264 10638 12087 E native : E0405 14:33:32.264119 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.311 10638 12087 E native : E0405 14:33:32.311093 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.329 10638 12087 E native : E0405 14:33:32.329810 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.360 10638 12087 E native : E0405 14:33:32.360830 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.390 10638 12087 E native : E0405 14:33:32.390447 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.422 10638 12087 E native : E0405 14:33:32.422310 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.462 10638 12087 E native : E0405 14:33:32.461888 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.497 10638 12087 E native : E0405 14:33:32.497696 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.528 10638 12087 E native : E0405 14:33:32.528835 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.550 10638 10652 I ptc.vuforiavie: NativeAlloc concurrent copying GC
freed 53017(5019KB) AllocSpace objects, 18(14MB) LOS objects, 49% free, 10MB/20MB,
paused 802us total 214.273ms
04-05 14:33:32.558 10638 12087 E native : E0405 14:33:32.558766 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.596 10638 12087 E native : E0405 14:33:32.596900 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.618 10638 12087 E native : E0405 14:33:32.618233 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.671 10638 12087 E native : E0405 14:33:32.671601 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.717 10638 12087 E native : E0405 14:33:32.717260 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.726 10638 12087 E native : E0405 14:33:32.726789 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.763 10638 12087 E native : E0405 14:33:32.763677 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.799 10638 12087 E native : E0405 14:33:32.799105 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.827 10638 12087 E native : E0405 14:33:32.827861 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.862 10638 12087 E native : E0405 14:33:32.862361 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.897 10638 12087 E native : E0405 14:33:32.897409 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.924 10638 12087 E native : E0405 14:33:32.924317 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.957 10638 12087 E native : E0405 14:33:32.957196 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:32.997 10638 12087 E native : E0405 14:33:32.997928 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.040 10638 12087 E native : E0405 14:33:33.040137 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.063 10638 10652 I ptc.vuforiavie: Background young concurrent
copying GC freed 28577(2727KB) AllocSpace objects, 8(5592KB) LOS objects, 27% free,
14MB/20MB, paused 1.317ms total 137.503ms
04-05 14:33:33.079 10638 12087 E native : E0405 14:33:33.079280 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.117 10638 12087 E native : E0405 14:33:33.117460 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.143 10638 12087 E native : E0405 14:33:33.143317 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.174 10638 12087 E native : E0405 14:33:33.174025 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.200 10638 12087 E native : E0405 14:33:33.200358 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.243 10638 12087 E native : E0405 14:33:33.243407 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.269 10638 12087 E native : E0405 14:33:33.269738 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.307 10638 12087 E native : E0405 14:33:33.307808 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.334 10638 12087 E native : E0405 14:33:33.334357 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.379 10638 12087 E native : E0405 14:33:33.379231 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.404 10638 12087 E native : E0405 14:33:33.404300 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.441 10638 12087 E native : E0405 14:33:33.441533 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.471 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 26392(2567KB) AllocSpace objects, 10(9648KB) LOS objects, 49% free,
10MB/20MB, paused 181us total 150.734ms
04-05 14:33:33.472 10638 12087 E native : E0405 14:33:33.472755 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.504 10638 12087 E native : E0405 14:33:33.504887 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.540 10638 12087 E native : E0405 14:33:33.540193 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.577 10638 12087 E native : E0405 14:33:33.577868 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.607 10638 12087 E native : E0405 14:33:33.607356 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.642 10638 12087 E native : E0405 14:33:33.642825 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.677 10638 12087 E native : E0405 14:33:33.677857 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.708 10638 12087 E native : E0405 14:33:33.708611 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.742 10638 12087 E native : E0405 14:33:33.742834 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.777 10638 12087 E native : E0405 14:33:33.777076 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.810 10638 12087 E native : E0405 14:33:33.810657 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.850 10638 12087 E native : E0405 14:33:33.850371 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.895 10638 12087 E native : E0405 14:33:33.895628 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.910 10638 12087 E native : E0405 14:33:33.910860 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.931 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 10205(1170KB) AllocSpace objects, 9(9392KB) LOS objects, 49% free,
10228KB/19MB, paused 354us total 120.678ms
04-05 14:33:33.948 10638 12087 E native : E0405 14:33:33.948572 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:33.980 10638 12087 E native : E0405 14:33:33.980137 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.015 10638 12087 E native : E0405 14:33:34.015719 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.060 10638 12087 E native : E0405 14:33:34.060338 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.087 10638 12087 E native : E0405 14:33:34.087062 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.132 10638 12087 E native : E0405 14:33:34.132695 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.157 10638 12087 E native : E0405 14:33:34.157793 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.181 10638 12087 E native : E0405 14:33:34.181114 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.228 10638 12087 E native : E0405 14:33:34.228015 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.256 10638 12087 E native : E0405 14:33:34.255909 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.288 10638 12087 E native : E0405 14:33:34.288840 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.313 10638 12087 E native : E0405 14:33:34.313340 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.350 10638 12087 E native : E0405 14:33:34.350370 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.394 10638 12087 E native : E0405 14:33:34.394199 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.427 10638 12087 E native : E0405 14:33:34.427569 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.451 10638 12087 E native : E0405 14:33:34.451523 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.488 10638 12087 E native : E0405 14:33:34.488198 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.525 10638 12087 E native : E0405 14:33:34.525652 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.550 10638 12087 E native : E0405 14:33:34.550643 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.583 10638 12087 E native : E0405 14:33:34.583439 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.598 10638 10638 I TGX-JS-Console: "Tap on twx-dt-view element at
pageX = 289, pageY = 598", source:
file:///android_asset/www/ScanningExperience/tml/vuforia-angular.js (363)
04-05 14:33:34.611 10638 12785 W TGXAction: exitSpatialPlacementMode: calling
callback Vuforia1541005364 with status: ERROR, data: [""]; discarding callback;
args=[]
04-05 14:33:34.611 10638 12785 W TGXAction: exitSpatialPlacementMode: failed
04-05 14:33:34.619 10638 12087 E native : E0405 14:33:34.618964 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.648 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:33:34.658 10638 12087 E native : E0405 14:33:34.658329 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.674 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:33:34.680 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:33:34.690 10638 12087 E native : E0405 14:33:34.690467 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.734 10638 12087 E native : E0405 14:33:34.734700 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.766 10638 12087 E native : E0405 14:33:34.766789 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.793 10638 12087 E native : E0405 14:33:34.793440 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.800 10638 12079 I System.out: [okhttp]:check permission begin!
04-05 14:33:34.800 10638 12079 I System.out: [okhttp]:not MMS!
04-05 14:33:34.801 10638 12079 I System.out: [okhttp]:not Email!
04-05 14:33:34.801 10638 12079 I System.out: [socket]:check permission begin!
04-05 14:33:34.809 10638 11038 I System.out: [okhttp]:check permission begin!
04-05 14:33:34.810 10638 11038 I System.out: [okhttp]:not MMS!
04-05 14:33:34.810 10638 11038 I System.out: [okhttp]:not Email!
04-05 14:33:34.812 10638 11038 I System.out: [OkHttp] sendRequest<<
04-05 14:33:34.813 10638 10652 I ptc.vuforiavie: Background young concurrent
copying GC freed 26013(2714KB) AllocSpace objects, 3(768KB) LOS objects, 0% free,
19MB/19MB, paused 419us total 105.001ms
04-05 14:33:34.835 10638 12087 E native : E0405 14:33:34.834954 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.863 10638 12087 E native : E0405 14:33:34.863547 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.897 10638 12087 E native : E0405 14:33:34.897058 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.930 10638 12087 E native : E0405 14:33:34.930221 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.960 10638 12087 E native : E0405 14:33:34.959966 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:34.987 10638 12087 E native : E0405 14:33:34.987642 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.025 10638 12087 E native : E0405 14:33:35.024931 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.079 10638 12087 E native : E0405 14:33:35.079532 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.090 10638 12087 E native : E0405 14:33:35.090427 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.122 10638 12087 E native : E0405 14:33:35.121998 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.157 10638 12087 E native : E0405 14:33:35.157403 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.185 10638 12087 E native : E0405 14:33:35.185854 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.231 10638 12087 E native : E0405 14:33:35.231847 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.262 10638 12087 E native : E0405 14:33:35.261970 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.289 10638 12087 E native : E0405 14:33:35.289310 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.326 10638 12087 E native : E0405 14:33:35.326039 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.361 10638 12087 E native : E0405 14:33:35.361887 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.393 10638 12087 E native : E0405 14:33:35.393314 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.431 10638 12087 E native : E0405 14:33:35.431042 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.470 10638 12087 E native : E0405 14:33:35.470384 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.493 10638 12087 E native : E0405 14:33:35.493213 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.529 10638 12087 E native : E0405 14:33:35.529845 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.566 10638 12087 E native : E0405 14:33:35.566487 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.596 10638 12087 E native : E0405 14:33:35.596643 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.630 10638 12087 E native : E0405 14:33:35.630764 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.661 10638 12087 E native : E0405 14:33:35.661845 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.698 10638 12087 E native : E0405 14:33:35.697959 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.733 10638 12087 E native : E0405 14:33:35.733379 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.736 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 39540(4172KB) AllocSpace objects, 18(12MB) LOS objects, 49% free, 10MB/20MB,
paused 586us total 123.630ms
04-05 14:33:35.767 10638 12087 E native : E0405 14:33:35.766951 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.794 10638 12087 E native : E0405 14:33:35.794435 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.814 10638 11062 E native : E0405 14:33:35.814288 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:33:35.814 10638 11062 E native : === Source Location Trace: ===
04-05 14:33:35.814 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:33:35.814 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:33:35.814 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:33:35.814 10638 11062 E native :
04-05 14:33:35.840 10638 12087 E native : E0405 14:33:35.840796 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.876 10638 12087 E native : E0405 14:33:35.876448 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.916 10638 12087 E native : E0405 14:33:35.916670 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.932 10638 12087 E native : E0405 14:33:35.932699 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:35.968 10638 12087 E native : E0405 14:33:35.968198 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.007 10638 12087 E native : E0405 14:33:36.007182 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.048 10638 12087 E native : E0405 14:33:36.048322 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.077 10638 12087 E native : E0405 14:33:36.077676 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.115 10638 12087 E native : E0405 14:33:36.115874 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.141 10638 12087 E native : E0405 14:33:36.140919 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.174 10638 12087 E native : E0405 14:33:36.174302 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.207 10638 12087 E native : E0405 14:33:36.207272 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.243 10638 12087 E native : E0405 14:33:36.243866 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.282 10638 12087 E native : E0405 14:33:36.282117 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.318 10638 12087 E native : E0405 14:33:36.318099 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.319 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 19880(2351KB) AllocSpace objects, 10(9648KB) LOS objects, 49% free,
10MB/21MB, paused 157us total 138.901ms
04-05 14:33:36.351 10638 12087 E native : E0405 14:33:36.351388 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.374 10638 12087 E native : E0405 14:33:36.373907 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.405 10638 12087 E native : E0405 14:33:36.405649 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.450 10638 12087 E native : E0405 14:33:36.450065 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.474 10638 12087 E native : E0405 14:33:36.474615 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.503 10638 12087 E native : E0405 14:33:36.503869 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.545 10638 12087 E native : E0405 14:33:36.544929 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.596 10638 12087 E native : E0405 14:33:36.596622 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.622 10638 12087 E native : E0405 14:33:36.622148 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.660 10638 12087 E native : E0405 14:33:36.660073 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.675 10638 10652 I ptc.vuforiavie: Background young concurrent
copying GC freed 27568(2860KB) AllocSpace objects, 8(5592KB) LOS objects, 26% free,
15MB/21MB, paused 590us total 102.357ms
04-05 14:33:36.687 10638 12087 E native : E0405 14:33:36.687781 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.726 10638 12087 E native : E0405 14:33:36.726448 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.757 10638 12087 E native : E0405 14:33:36.757868 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.797 10638 12087 E native : E0405 14:33:36.797323 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.828 10638 12087 E native : E0405 14:33:36.828805 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.852 10638 12087 E native : E0405 14:33:36.852308 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.883 10638 12087 E native : E0405 14:33:36.883095 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.897 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 20526(2342KB) AllocSpace objects, 11(9904KB) LOS objects, 49% free,
10MB/20MB, paused 212us total 102.484ms
04-05 14:33:36.915 10638 12087 E native : E0405 14:33:36.915777 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.959 10638 12087 E native : E0405 14:33:36.959805 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:36.987 10638 12087 E native : E0405 14:33:36.987404 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.023 10638 12087 E native : E0405 14:33:37.023588 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.054 10638 12087 E native : E0405 14:33:37.054663 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.090 10638 12087 E native : E0405 14:33:37.090670 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.123 10638 12087 E native : E0405 14:33:37.123871 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.150 10638 12087 E native : E0405 14:33:37.150843 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.186 10638 12087 E native : E0405 14:33:37.186015 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.221 10638 12087 E native : E0405 14:33:37.221572 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.256 10638 12087 E native : E0405 14:33:37.256740 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.296 10638 12087 E native : E0405 14:33:37.296118 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.320 10638 12087 E native : E0405 14:33:37.320286 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.353 10638 12087 E native : E0405 14:33:37.353277 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.400 10638 12087 E native : E0405 14:33:37.400305 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.431 10638 12087 E native : E0405 14:33:37.431904 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.466 10638 12087 E native : E0405 14:33:37.466153 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.508 10638 12087 E native : E0405 14:33:37.508033 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.532 10638 12087 E native : E0405 14:33:37.532296 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.580 10638 12087 E native : E0405 14:33:37.580665 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.594 10638 12087 E native : E0405 14:33:37.594485 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.639 10638 12087 E native : E0405 14:33:37.639369 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.670 10638 12087 E native : E0405 14:33:37.670265 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.692 10638 12087 E native : E0405 14:33:37.692289 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.733 10638 12087 E native : E0405 14:33:37.733790 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.777 10638 12087 E native : E0405 14:33:37.776966 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.797 10638 12087 E native : E0405 14:33:37.797581 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.825 10638 12087 E native : E0405 14:33:37.825391 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.862 10638 12087 E native : E0405 14:33:37.862892 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.905 10638 12087 E native : E0405 14:33:37.905839 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.925 10638 12087 E native : E0405 14:33:37.925552 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.936 10638 10652 I ptc.vuforiavie: NativeAlloc concurrent copying GC
freed 12982(1351KB) AllocSpace objects, 9(9392KB) LOS objects, 49% free, 14MB/29MB,
paused 759us total 186.521ms
04-05 14:33:37.960 10638 12087 E native : E0405 14:33:37.960426 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:37.998 10638 12087 E native : E0405 14:33:37.998396 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.029 10638 12087 E native : E0405 14:33:38.029567 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.073 10638 12087 E native : E0405 14:33:38.073383 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.109 10638 12087 E native : E0405 14:33:38.109325 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.141 10638 12087 E native : E0405 14:33:38.141880 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.177 10638 12087 E native : E0405 14:33:38.177687 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.205 10638 12087 E native : E0405 14:33:38.205113 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.236 10638 12087 E native : E0405 14:33:38.236838 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.269 10638 12087 E native : E0405 14:33:38.269664 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.303 10638 12087 E native : E0405 14:33:38.303786 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.334 10638 12087 E native : E0405 14:33:38.334040 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.368 10638 12087 E native : E0405 14:33:38.368792 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.405 10638 12087 E native : E0405 14:33:38.405467 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.439 10638 12087 E native : E0405 14:33:38.438912 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.474 10638 12087 E native : E0405 14:33:38.474301 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.507 10638 12087 E native : E0405 14:33:38.507045 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.537 10638 12087 E native : E0405 14:33:38.537843 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.581 10638 12087 E native : E0405 14:33:38.581644 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.604 10638 12087 E native : E0405 14:33:38.604342 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.636 10638 12087 E native : E0405 14:33:38.636541 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.681 10638 12087 E native : E0405 14:33:38.681085 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.708 10638 12087 E native : E0405 14:33:38.708546 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.738 10638 12087 E native : E0405 14:33:38.738053 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.771 10638 12087 E native : E0405 14:33:38.771813 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.801 10638 12087 E native : E0405 14:33:38.801421 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.812 10638 11062 E native : E0405 14:33:38.811978 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:33:38.812 10638 11062 E native : === Source Location Trace: ===
04-05 14:33:38.812 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:33:38.812 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:33:38.812 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:33:38.812 10638 11062 E native :
04-05 14:33:38.851 10638 12087 E native : E0405 14:33:38.851240 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.893 10638 12087 E native : E0405 14:33:38.893786 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.919 10638 12087 E native : E0405 14:33:38.919482 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.954 10638 12087 E native : E0405 14:33:38.954533 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:38.976 10638 12087 E native : E0405 14:33:38.976060 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.000 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 39206(4216KB) AllocSpace objects, 16(14MB) LOS objects, 49% free, 15MB/30MB,
paused 77us total 160.316ms
04-05 14:33:39.011 10638 12087 E native : E0405 14:33:39.011041 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.039 10638 12087 E native : E0405 14:33:39.039886 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.084 10638 12087 E native : E0405 14:33:39.084566 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.111 10638 12087 E native : E0405 14:33:39.111805 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.144 10638 12087 E native : E0405 14:33:39.144072 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.206 10638 12087 E native : E0405 14:33:39.206144 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.216 10638 12087 E native : E0405 14:33:39.216688 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.248 10638 12087 E native : E0405 14:33:39.248706 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.292 10638 12087 E native : E0405 14:33:39.292851 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.327 10638 12087 E native : E0405 14:33:39.327877 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.369 10638 12087 E native : E0405 14:33:39.369712 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.386 10638 12087 E native : E0405 14:33:39.386450 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.416 10638 12087 E native : E0405 14:33:39.416768 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.445 10638 12087 E native : E0405 14:33:39.445769 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.480 10638 12087 E native : E0405 14:33:39.480616 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.517 10638 12087 E native : E0405 14:33:39.517782 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.546 10638 12087 E native : E0405 14:33:39.546045 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.575 10638 12087 E native : E0405 14:33:39.575537 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.618 10638 12087 E native : E0405 14:33:39.618929 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.644 10638 12087 E native : E0405 14:33:39.644478 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.681 10638 12087 E native : E0405 14:33:39.681007 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.714 10638 12087 E native : E0405 14:33:39.714469 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.761 10638 12087 E native : E0405 14:33:39.761354 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.773 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 21946(2727KB) AllocSpace objects, 19(18MB) LOS objects, 49% free, 10MB/20MB,
paused 191us total 113.511ms
04-05 14:33:39.785 10638 12087 E native : E0405 14:33:39.785468 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.812 10638 11059 I native : I0405 14:33:39.812025 11059
viwls_optimization.cc:977] Skip Lite-COM due to a significant calibration change.
04-05 14:33:39.820 10638 12087 E native : E0405 14:33:39.820783 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.853 10638 12087 E native : E0405 14:33:39.853317 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.877 10638 11059 I native : I0405 14:33:39.877450 11059
viwls_optimization.cc:826] MAP SOLVE: USER_SUCCESS
04-05 14:33:39.881 10638 11059 I native : I0405 14:33:39.881073 11059
visual_inertial_wls.cc:282] online_viwls_solve_time in seconds = 0.0828397
solve_time_counter_ = 0
04-05 14:33:39.904 10638 12087 E native : E0405 14:33:39.904538 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.927 10638 12087 E native : E0405 14:33:39.927769 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.940 10638 11059 I native : I0405 14:33:39.940454 11059
multi_map_manager.cc:289] Added ADF into multi_map_manager: 1f46191b-af85-298e-
8b47-68cdf8efa0c1
04-05 14:33:39.940 10638 11059 I native : I0405 14:33:39.940608 11059
data_manager.cc:346] Start aligning maps.
04-05 14:33:39.951 10638 11059 I native : I0405 14:33:39.951742 11059
multi_map_localizer.cc:26] Adding ADF 1f46191a-af85-298e-8a3c-bba8391a9bef to
localizer.
04-05 14:33:39.960 10638 12087 E native : E0405 14:33:39.960122 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:39.980 10638 11059 W native : W0405 14:33:39.980878 11059
localization_backend.cc:259] No descriptors for entry 136a7758-af85-298e-89b8-
31ac140ffa63 camera: 0
04-05 14:33:39.980 10638 11059 W native : W0405 14:33:39.980967 11059
localization_backend.cc:259] No descriptors for entry 136a775e-af85-298e-8b17-
f468f5f8dae2 camera: 0
04-05 14:33:39.980 10638 11059 W native : W0405 14:33:39.980992 11059
localization_backend.cc:259] No descriptors for entry 136a7764-af85-298e-8b69-
6d03c9cb07c0 camera: 0
04-05 14:33:39.981 10638 11059 W native : W0405 14:33:39.981010 11059
localization_backend.cc:259] No descriptors for entry 136a776a-af85-298e-8946-
7e66da9196f1 camera: 0
04-05 14:33:39.981 10638 11059 W native : W0405 14:33:39.981026 11059
localization_backend.cc:259] No descriptors for entry 136a7788-af85-298e-8acb-
704728bc72ef camera: 0
04-05 14:33:39.983 10638 11059 W native : W0405 14:33:39.983494 11059
localization_backend.cc:259] No descriptors for entry 136a78cc-af85-298e-8b46-
1bf07b9ec519 camera: 0
04-05 14:33:39.983 10638 11059 W native : W0405 14:33:39.983587 11059
localization_backend.cc:259] No descriptors for entry 136a78de-af85-298e-8b5d-
d13648df814b camera: 0
04-05 14:33:39.983 10638 11059 I native : I0405 14:33:39.983607 11059
localizer_helper.cc:159] Localizer refreshing 0 landmarks.
04-05 14:33:39.983 10638 11059 I native : I0405 14:33:39.983617 11059
localizer_helper.cc:162] Localizer 1f46191a-af85-298e-8a3c-bba8391a9bef loaded:
04-05 14:33:39.983 10638 11059 I native : 26/26 keyframes.
04-05 14:33:39.983 10638 11059 I native : 0/46 landmarks.
04-05 14:33:39.989 10638 12087 E native : E0405 14:33:39.989316 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:40.030 10638 12087 E native : E0405 14:33:40.030027 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:40.047 10638 11059 I native : I0405 14:33:40.047803 11059
multi_map_localizer.cc:43] quried 1f46191a-af85-298e-8a3c-bba8391a9bef
04-05 14:33:40.048 10638 11059 I native : I0405 14:33:40.047992 11059
map_query_util.cc:184] Have transformation adf_db_T_adf_query q = [x: -0, y: -0, z:
0.0577585, w: 0.998331], p = [x: -0.353951, y: 0.253297, z: 0.165241]
04-05 14:33:40.048 10638 11059 I native : I0405 14:33:40.048034 11059
map_query_util.cc:197] Alignment computation has 10 inliers and an inlier ratio of:
1
04-05 14:33:40.048 10638 11059 I native : I0405 14:33:40.048078 11059
map_alignment.cc:170] ADF 1f46191b-af85-298e-8b47-68cdf8efa0c1 successfully
localized against ADF 1f46191a-af85-298e-8a3c-bba8391a9bef with relative offset: q
= [x: -0, y: -0, z: 0.0577585, w: 0.998331], p = [x: -0.353951, y: 0.253297, z:
0.165241]
04-05 14:33:40.048 10638 11059 I native : I0405 14:33:40.048145 11059
multi_map_geometric_optimization.cc:1363] The map 1f46191b-af85-298e-8b47-
68cdf8efa0c1 does not have landmark covariances computed. Will compute here.
04-05 14:33:40.050 10638 11059 I native : I0405 14:33:40.050492 11059
viwls_optimization.cc:1043] Computing landmark covariances.
04-05 14:33:40.061 10638 11059 I native : I0405 14:33:40.061105 11059
multi_map_geometric_optimization.cc:1363] The map 1f46191a-af85-298e-8a3c-
bba8391a9bef does not have landmark covariances computed. Will compute here.
04-05 14:33:40.062 10638 11059 I native : I0405 14:33:40.062657 11059
viwls_optimization.cc:1043] Computing landmark covariances.
04-05 14:33:40.070 10638 12087 E native : E0405 14:33:40.070317 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:40.073 10638 11059 I native : I0405 14:33:40.073117 11059
multi_map_manager.cc:194] Map alignment successful, the transformation convergency
status is false
04-05 14:33:40.091 10638 12087 E native : E0405 14:33:40.091302 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:40.110 10638 11059 I native : I0405 14:33:40.109961 11059
data_manager.cc:377] Merged the map 1f46191a-af85-298e-8a3c-bba8391a9bef into the
active map 1f46191b-af85-298e-8b47-68cdf8efa0c1
04-05 14:33:40.118 10638 11059 E native : E0405 14:33:40.118209 11059
pose_node_graph.cc:189] Tried to create an already existing map pose node:
Id:1f46191b-af85-298e-8b47-68cdf8efa0c1 opt:1
04-05 14:33:40.120 10638 12087 E native : E0405 14:33:40.120663 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:40.157 10638 12087 E native : E0405 14:33:40.157132 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:40.183 10638 11060 W native : W0405 14:33:40.182917 11060
localization_manager.cc:649] Localizer from last tracked map is gone: 1f46191a-
af85-298e-8a3c-bba8391a9bef
04-05 14:33:40.207 10638 12087 E native : E0405 14:33:40.207600 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:40.222 10638 12087 E native : E0405 14:33:40.222627 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:40.252 10638 12087 E native : E0405 14:33:40.252154 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:40.270 10638 11060 W native : W0405 14:33:40.269961 11060
localization_manager.cc:649] Localizer from last tracked map is gone: 1f46191a-
af85-298e-8a3c-bba8391a9bef
04-05 14:33:40.381 10638 11060 W native : W0405 14:33:40.381895 11060
localization_manager.cc:649] Localizer from last tracked map is gone: 1f46191a-
af85-298e-8a3c-bba8391a9bef
04-05 14:33:40.480 10638 11060 W native : W0405 14:33:40.480414 11060
localization_manager.cc:649] Localizer from last tracked map is gone: 1f46191a-
af85-298e-8a3c-bba8391a9bef
04-05 14:33:40.584 10638 11060 W native : W0405 14:33:40.584742 11060
localization_manager.cc:649] Localizer from last tracked map is gone: 1f46191a-
af85-298e-8a3c-bba8391a9bef
04-05 14:33:40.590 10638 11060 W native : W0405 14:33:40.590347 11060
sbr_constraint_update_utils.cc:332] Switching to track map: 1f46191b-af85-298e-
8b47-68cdf8efa0c1
04-05 14:33:40.591 10638 11060 I native : I0405 14:33:40.591291 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.842895, y: -
0.469211, z: -0.211158, w: 0.157424], p = [x: 0.333323, y: -0.603213, z: -0.044213]
04-05 14:33:40.591 10638 11060 I native : to: q = [x: 0.85256, y: -0.481059, z: -
0.173535, w: 0.10775], p = [x: 0.330979, y: -0.581565, z: -0.032072]
04-05 14:33:40.591 10638 11060 I native : rotation change: 7.35373(deg), position
change: 0.024931(m).
04-05 14:33:40.591 10638 11060 E native : E0405 14:33:40.591462 11060
sbr_action_state.cc:215] 2 consistent ADF to VIO transformation from MLE are
required to initialize this variable in VIO. Current value is 1.
04-05 14:33:40.591 10638 11060 E native : E0405 14:33:40.591497 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:40.591 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:40.591 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:40.591 10638 11060 E native :
04-05 14:33:41.576 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 8625(1108KB) AllocSpace objects, 9(9392KB) LOS objects, 49% free, 10MB/20MB,
paused 87us total 109.368ms
04-05 14:33:41.703 10638 11060 I native : I0405 14:33:41.703741 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.851792, y: -
0.464874, z: -0.196489, w: 0.14048], p = [x: 0.331078, y: -0.590646, z: -0.0636677]
04-05 14:33:41.703 10638 11060 I native : to: q = [x: 0.864422, y: -0.472736, z: -
0.14962, w: 0.0831228], p = [x: 0.329334, y: -0.569845, z: -0.0426564]
04-05 14:33:41.703 10638 11060 I native : rotation change: 8.65945(deg), position
change: 0.0296171(m).
04-05 14:33:41.704 10638 11060 E native : E0405 14:33:41.704016 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 8.648100, which should be less equal than 5.000000 degrees.
04-05 14:33:41.704 10638 11060 E native : E0405 14:33:41.704106 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:41.704 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:41.704 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:41.704 10638 11060 E native :
04-05 14:33:41.796 10638 11060 I native : I0405 14:33:41.795965 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.850709, y: -
0.467167, z: -0.196079, w: 0.140007], p = [x: 0.333342, y: -0.59352, z: -0.0556601]
04-05 14:33:41.796 10638 11060 I native : to: q = [x: 0.861616, y: -0.47297, z: -
0.166847, w: 0.0779722], p = [x: 0.336107, y: -0.570857, z: -0.0443516]
04-05 14:33:41.796 10638 11060 I native : rotation change: 7.98652(deg), position
change: 0.0254781(m).
04-05 14:33:41.796 10638 11060 E native : E0405 14:33:41.796069 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 7.930472, which should be less equal than 5.000000 degrees.
04-05 14:33:41.796 10638 11060 E native : E0405 14:33:41.796089 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:41.796 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:41.796 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:41.796 10638 11060 E native :
04-05 14:33:41.828 10638 11062 E native : E0405 14:33:41.828588 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:33:41.828 10638 11062 E native : === Source Location Trace: ===
04-05 14:33:41.828 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:33:41.828 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:33:41.828 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:33:41.828 10638 11062 E native :
04-05 14:33:41.924 10638 11060 I native : I0405 14:33:41.924466 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.850357, y: -
0.466767, z: -0.197832, w: 0.141009], p = [x: 0.33533, y: -0.592189, z: -0.0544302]
04-05 14:33:41.924 10638 11060 I native : to: q = [x: 0.863228, y: -0.471421, z: -
0.161606, w: 0.0805219], p = [x: 0.335074, y: -0.567818, z: -0.0430248]
04-05 14:33:41.924 10638 11060 I native : rotation change: 8.23194(deg), position
change: 0.0269095(m).
04-05 14:33:41.925 10638 11060 E native : E0405 14:33:41.925103 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 8.168183, which should be less equal than 5.000000 degrees.
04-05 14:33:41.928 10638 11060 E native : E0405 14:33:41.928308 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:41.928 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:41.928 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:41.928 10638 11060 E native :
04-05 14:33:41.953 10638 12087 E native : E0405 14:33:41.953582 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:41.987 10638 12087 E native : E0405 14:33:41.987186 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.032 10638 12087 E native : E0405 14:33:42.032172 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.039 10638 11060 I native : I0405 14:33:42.039531 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.842791, y: -
0.476578, z: -0.205021, w: 0.143329], p = [x: 0.339809, y: -0.584689, z: -0.052484]
04-05 14:33:42.039 10638 11060 I native : to: q = [x: 0.850148, y: -0.479466, z: -
0.18193, w: 0.119421], p = [x: 0.33813, y: -0.575303, z: -0.0418646]
04-05 14:33:42.039 10638 11060 I native : rotation change: 3.91519(deg), position
change: 0.0142716(m).
04-05 14:33:42.039 10638 11060 E native : E0405 14:33:42.039683 11060
sbr_action_state.cc:215] Failed to obtain consistent ADF to VIO transformation.
04-05 14:33:42.039 10638 11060 E native : E0405 14:33:42.039726 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:42.039 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:42.039 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:42.039 10638 11060 E native :
04-05 14:33:42.048 10638 12087 E native : E0405 14:33:42.048093 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.064 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 22242(2621KB) AllocSpace objects, 10(9648KB) LOS objects, 49% free,
10MB/20MB, paused 856us total 129.647ms
04-05 14:33:42.077 10638 12087 E native : E0405 14:33:42.077650 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.113 10638 11060 I native : I0405 14:33:42.113122 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.82107, y: -
0.510168, z: -0.210726, w: 0.145488], p = [x: 0.350652, y: -0.584563, z: -
0.0367786]
04-05 14:33:42.113 10638 11060 I native : to: q = [x: 0.842571, y: -0.492386, z: -
0.19237, w: 0.103071], p = [x: 0.353067, y: -0.562459, z: -0.0349601]
04-05 14:33:42.113 10638 11060 I native : rotation change: 6.18722(deg), position
change: 0.0223098(m).
04-05 14:33:42.115 10638 11060 I native : I0405 14:33:42.114573 11060
sbr_constraint_update_utils.cc:280] (Re-)setting adf_T_vio: q = [x: -0.0435341, y:
-0.00190343, z: 0.000799304, w: 0.99905], p = [x: 0.00282472, y: -0.0738135, z:
0.0632915]
04-05 14:33:42.122 10638 12087 E native : E0405 14:33:42.122453 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.147 10638 12087 E native : E0405 14:33:42.147020 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.180 10638 12087 E native : E0405 14:33:42.180488 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.197 10638 11047 I native : I0405 14:33:42.197617 11047
pose_manager.cc:354] World pose node changing to MapId:1f46191b-af85-298e-8b47-
68cdf8efa0c1 with 1 opt.
04-05 14:33:42.214 10638 12087 E native : E0405 14:33:42.214836 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.253 10638 12087 E native : E0405 14:33:42.253240 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.285 10638 12087 E native : E0405 14:33:42.285041 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.322 10638 12087 E native : E0405 14:33:42.322864 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.352 10638 12087 E native : E0405 14:33:42.352232 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.385 10638 12087 E native : E0405 14:33:42.385390 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.416 10638 12087 E native : E0405 14:33:42.416168 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.455 10638 12087 E native : E0405 14:33:42.455892 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.488 10638 12087 E native : E0405 14:33:42.487920 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.541 10638 12087 E native : E0405 14:33:42.541443 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.557 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 18442(2323KB) AllocSpace objects, 10(9648KB) LOS objects, 49% free,
10MB/20MB, paused 209us total 116.751ms
04-05 14:33:42.565 10638 12087 E native : E0405 14:33:42.565248 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.591 10638 12087 E native : E0405 14:33:42.591323 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.629 10638 12087 E native : E0405 14:33:42.629437 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.659 10638 12087 E native : E0405 14:33:42.659464 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.693 10638 12087 E native : E0405 14:33:42.693498 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.724 10638 12087 E native : E0405 14:33:42.724490 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.755 10638 12087 E native : E0405 14:33:42.755676 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.796 10638 12087 E native : E0405 14:33:42.796566 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.824 10638 12087 E native : E0405 14:33:42.824174 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.858 10638 12087 E native : E0405 14:33:42.858283 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.894 10638 12087 E native : E0405 14:33:42.893895 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.926 10638 12087 E native : E0405 14:33:42.926002 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.958 10638 12087 E native : E0405 14:33:42.958296 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:42.997 10638 12087 E native : E0405 14:33:42.996994 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.024 10638 12087 E native : E0405 14:33:43.024792 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.063 10638 12087 E native : E0405 14:33:43.063223 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.102 10638 12087 E native : E0405 14:33:43.102511 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.129 10638 12087 E native : E0405 14:33:43.128982 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.169 10638 12087 E native : E0405 14:33:43.169814 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.211 10638 12087 E native : E0405 14:33:43.211258 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.236 10638 12087 E native : E0405 14:33:43.236300 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.270 10638 12087 E native : E0405 14:33:43.270616 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.310 10638 12087 E native : E0405 14:33:43.309961 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.342 10638 12087 E native : E0405 14:33:43.342440 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.361 10638 12087 E native : E0405 14:33:43.361760 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.404 10638 12087 E native : E0405 14:33:43.404336 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.432 10638 12087 E native : E0405 14:33:43.432146 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.467 10638 12087 E native : E0405 14:33:43.467569 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.501 10638 12087 E native : E0405 14:33:43.501465 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.538 10638 12087 E native : E0405 14:33:43.538312 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.568 10638 12087 E native : E0405 14:33:43.568533 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.614 10638 12087 E native : E0405 14:33:43.614017 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.634 10638 12087 E native : E0405 14:33:43.634021 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.678 10638 12087 E native : E0405 14:33:43.678629 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.702 10638 12087 E native : E0405 14:33:43.702777 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.734 10638 12087 E native : E0405 14:33:43.733977 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.770 10638 12087 E native : E0405 14:33:43.770201 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.808 10638 12087 E native : E0405 14:33:43.808602 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.835 10638 12087 E native : E0405 14:33:43.835635 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.873 10638 12087 E native : E0405 14:33:43.873457 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.911 10638 12087 E native : E0405 14:33:43.910886 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.951 10638 12087 E native : E0405 14:33:43.951113 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:43.981 10638 12087 E native : E0405 14:33:43.981419 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.011 10638 12087 E native : E0405 14:33:44.011868 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.050 10638 12087 E native : E0405 14:33:44.050046 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.090 10638 12087 E native : E0405 14:33:44.090591 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.094 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 24287(2671KB) AllocSpace objects, 10(9648KB) LOS objects, 49% free,
10MB/20MB, paused 198us total 153.664ms
04-05 14:33:44.114 10638 12087 E native : E0405 14:33:44.114760 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.142 10638 12087 E native : E0405 14:33:44.142961 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.175 10638 12087 E native : E0405 14:33:44.175278 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.210 10638 12087 E native : E0405 14:33:44.210032 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.238 10638 12087 E native : E0405 14:33:44.238800 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.254 10638 11060 W native : W0405 14:33:44.254653 11060
sbr_action_state.cc:138] Map update failed: 1/2
04-05 14:33:44.276 10638 12087 E native : E0405 14:33:44.276596 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.314 10638 12087 E native : E0405 14:33:44.314072 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.331 10638 11060 W native : W0405 14:33:44.331922 11060
sbr_action_state.cc:138] Map update failed: 2/2
04-05 14:33:44.332 10638 11060 W native : W0405 14:33:44.332045 11060
sbr_action_state.cc:152] Too many map update failures, probably lost map tracking.
Re-evaluating vio to adf transformation.
04-05 14:33:44.332 10638 11060 E native : E0405 14:33:44.332085 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:44.332 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:44.332 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:44.332 10638 11060 E native :
04-05 14:33:44.348 10638 12087 E native : E0405 14:33:44.347960 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.379 10638 12087 E native : E0405 14:33:44.379382 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.413 10638 12087 E native : E0405 14:33:44.413838 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.462 10638 12087 E native : E0405 14:33:44.462111 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.463 10638 11060 I native : I0405 14:33:44.463236 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.87792, y: -
0.435395, z: -0.170584, w: 0.102904], p = [x: 0.318199, y: -0.572797, z: -0.122023]
04-05 14:33:44.463 10638 11060 I native : to: q = [x: 0.879685, y: -0.434665, z: -
0.15494, w: 0.114954], p = [x: 0.313897, y: -0.574029, z: -0.119457]
04-05 14:33:44.463 10638 11060 I native : rotation change: 2.2734(deg), position
change: 0.00515843(m).
04-05 14:33:44.463 10638 11060 I native : I0405 14:33:44.463353 11060
sbr_constraint_update_utils.cc:663] Accumulate corrupted adf_to_vio frames due to
large errors: position error upper bound 0.3(m), rotation error upper bound 5(deg).
04-05 14:33:44.463 10638 11060 E native : E0405 14:33:44.463389 11060
sbr_action_state.cc:85] generic::failed_precondition: Re-evaluation failed and the
number of corrupted adf transform VIO frames does not reach the reset threshold.
04-05 14:33:44.463 10638 11060 E native : E0405 14:33:44.463427 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:44.463 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:44.463 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:44.463 10638 11060 E native :
04-05 14:33:44.488 10638 12087 E native : E0405 14:33:44.488664 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.521 10638 12087 E native : E0405 14:33:44.521744 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.562 10638 12087 E native : E0405 14:33:44.562341 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.566 10638 11060 I native : I0405 14:33:44.566578 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.878245, y: -
0.431598, z: -0.176671, w: 0.105815], p = [x: 0.321229, y: -0.573059, z: -0.116828]
04-05 14:33:44.566 10638 11060 I native : to: q = [x: 0.878678, y: -0.436221, z: -
0.151753, w: 0.12086], p = [x: 0.314163, y: -0.574222, z: -0.115201]
04-05 14:33:44.566 10638 11060 I native : rotation change: 3.37777(deg), position
change: 0.0073442(m).
04-05 14:33:44.566 10638 11060 I native : I0405 14:33:44.566775 11060
sbr_constraint_update_utils.cc:663] Accumulate corrupted adf_to_vio frames due to
large errors: position error upper bound 0.3(m), rotation error upper bound 5(deg).
04-05 14:33:44.567 10638 11060 I native : I0405 14:33:44.567594 11060
sbr_constraint_update_utils.cc:280] (Re-)setting adf_T_vio: q = [x: 0.000827126, y:
-0.027998, z: 0.0182946, w: 0.99944], p = [x: 0.00882451, y: -0.0596387, z:
0.0274875]
04-05 14:33:44.590 10638 12087 E native : E0405 14:33:44.590832 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.631 10638 12087 E native : E0405 14:33:44.631766 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.657 10638 12087 E native : E0405 14:33:44.656965 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.693 10638 12087 E native : E0405 14:33:44.693735 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.719 10638 12087 E native : E0405 14:33:44.719614 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.767 10638 12087 E native : E0405 14:33:44.767578 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.797 10638 12087 E native : E0405 14:33:44.797393 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.826 10638 12087 E native : E0405 14:33:44.826639 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.855 10638 12087 E native : E0405 14:33:44.855609 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.876 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 22793(2176KB) AllocSpace objects, 9(9392KB) LOS objects, 49% free, 10MB/21MB,
paused 380us total 179.321ms
04-05 14:33:44.890 10638 12087 E native : E0405 14:33:44.890653 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.919 10638 12087 E native : E0405 14:33:44.919482 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:44.953 10638 12078 I TGX : UniversalLinkStatusManager: Unable to
reach universal link server https://view.vuforia.com/command/ping
04-05 14:33:44.953 10638 12078 I TGX : java.io.IOException: Exception while
obtaining HttpURLConnection.getResponseCode() result
04-05 14:33:44.953 10638 12078 I TGX : at
com.ptc.thingx.cordova.plugin.core.TGXUtils.getResponseCode(TGXUtils.java:442)
04-05 14:33:44.953 10638 12078 I TGX : at
com.ptc.thingbrowser.UniversalLinkStatusManager.lambda$checkUniversalLinkAvailabili
ty$0$com-ptc-thingbrowser-
UniversalLinkStatusManager(UniversalLinkStatusManager.java:78)
04-05 14:33:44.953 10638 12078 I TGX : at
com.ptc.thingbrowser.UniversalLinkStatusManager$
$ExternalSyntheticLambda0.run(Unknown Source:2)
04-05 14:33:44.953 10638 12078 I TGX : at
java.lang.Thread.run(Thread.java:923)
04-05 14:33:44.953 10638 12078 I TGX : Caused by:
java.util.concurrent.ExecutionException: java.net.SocketTimeoutException: Read
timed out
04-05 14:33:44.953 10638 12078 I TGX : at
java.util.concurrent.FutureTask.report(FutureTask.java:123)
04-05 14:33:44.953 10638 12078 I TGX : at
java.util.concurrent.FutureTask.get(FutureTask.java:193)
04-05 14:33:44.953 10638 12078 I TGX : at
com.ptc.thingx.cordova.plugin.core.TGXUtils.getResponseCode(TGXUtils.java:433)
04-05 14:33:44.953 10638 12078 I TGX : ... 3 more
04-05 14:33:44.953 10638 12078 I TGX : Caused by:
java.net.SocketTimeoutException: Read timed out
04-05 14:33:44.953 10638 12078 I TGX : at
java.net.SocketInputStream.socketRead0(Native Method)
04-05 14:33:44.953 10638 12078 I TGX : at
java.net.SocketInputStream.socketRead(SocketInputStream.java:119)
04-05 14:33:44.953 10638 12078 I TGX : at
java.net.SocketInputStream.read(SocketInputStream.java:176)
04-05 14:33:44.953 10638 12078 I TGX : at
java.net.SocketInputStream.read(SocketInputStream.java:144)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readFromSocket(Consc
ryptEngineSocket.java:936)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocke
t(ConscryptEngineSocket.java:900)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.access$100(Conscrypt
EngineSocket.java:722)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.j
ava:238)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocke
t.java:217)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:196)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:153
)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.j
ava:186)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAlloc
ation.java:128)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:9
7)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:302)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:245)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl
.java:465)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnection
Impl.java:411)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnec
tionImpl.java:542)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(Delega
tingHttpsURLConnection.java:106)
04-05 14:33:44.953 10638 12078 I TGX : at
com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConn
ectionImpl.java:30)
04-05 14:33:44.953 10638 12078 I TGX : at
com.ptc.thingx.cordova.plugin.core.TGXUtils.lambda$getResponseCode$0(TGXUtils.java:
430)
04-05 14:33:44.953 10638 12078 I TGX : at
com.ptc.thingx.cordova.plugin.core.TGXUtils$$ExternalSyntheticLambda7.call(Unknown
Source:4)
04-05 14:33:44.953 10638 12078 I TGX : at
java.util.concurrent.FutureTask.run(FutureTask.java:266)
04-05 14:33:44.953 10638 12078 I TGX : at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
04-05 14:33:44.953 10638 12078 I TGX : at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
04-05 14:33:44.953 10638 12078 I TGX : ... 1 more
04-05 14:33:44.963 10638 12087 E native : E0405 14:33:44.963583 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.010 10638 12087 E native : E0405 14:33:45.010028 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.025 10638 12087 E native : E0405 14:33:45.025081 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.057 10638 12087 E native : E0405 14:33:45.057330 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.090 10638 12087 E native : E0405 14:33:45.090666 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.126 10638 12087 E native : E0405 14:33:45.126150 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.167 10638 12087 E native : E0405 14:33:45.167865 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.193 10638 12087 E native : E0405 14:33:45.193144 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.224 10638 12087 E native : E0405 14:33:45.224082 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.264 10638 12087 E native : E0405 14:33:45.264661 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.293 10638 12087 E native : E0405 14:33:45.293513 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.320 10638 12087 E native : E0405 14:33:45.320375 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.358 10638 12087 E native : E0405 14:33:45.358531 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.395 10638 12087 E native : E0405 14:33:45.395561 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.427 10638 12087 E native : E0405 14:33:45.427768 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.481 10638 12087 E native : E0405 14:33:45.481152 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.496 10638 12087 E native : E0405 14:33:45.496017 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.511 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 23812(2595KB) AllocSpace objects, 11(9904KB) LOS objects, 49% free,
10MB/20MB, paused 154us total 103.075ms
04-05 14:33:45.533 10638 12087 E native : E0405 14:33:45.533599 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.564 10638 12087 E native : E0405 14:33:45.564775 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.601 10638 12087 E native : E0405 14:33:45.600904 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.632 10638 12087 E native : E0405 14:33:45.631975 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.666 10638 12087 E native : E0405 14:33:45.666612 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.700 10638 12087 E native : E0405 14:33:45.700349 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.731 10638 12087 E native : E0405 14:33:45.731688 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.782 10638 12087 E native : E0405 14:33:45.782072 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.804 10638 12087 E native : E0405 14:33:45.804770 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.836 10638 12087 E native : E0405 14:33:45.836230 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.867 10638 12087 E native : E0405 14:33:45.866951 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.902 10638 12087 E native : E0405 14:33:45.901997 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.934 10638 12087 E native : E0405 14:33:45.934598 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:45.970 10638 12087 E native : E0405 14:33:45.970293 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:46.000 10638 12087 E native : E0405 14:33:46.000006 12087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:46.028 10638 10973 E Surface : getSlotFromBufferLocked: unknown buffer:
0xb400007c523e8380
04-05 14:33:46.029 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:33:46.034 10638 10638 I native : I0405 14:33:46.034080 10638
session.cc:1624] Entering Session::Pause.
04-05 14:33:46.034 10638 10638 I native : I0405 14:33:46.034422 10638
plane_manager.cc:927] PopulatePlaneEstimationStatistics
number_of_normal_segmentations: 0, number_of_plane_normal_segment_matches: 0,
vertical_planes_boundary_area: 0, vertical_planes_ml_boundary_growth: 0,
number_of_vertical_planes: 0, number_of_vertical_planes_with_ml_boundary_growth: 0,
avg_duration_in_seconds: 0, tof_merge_quality_stats_.Empty(): true,
tof_merge_quality_stats_.hist_area_overlap_ratio_: [0.750, 0.760): 0.000000,
[0.760, 0.770): 0.000000, [0.770, 0.780): 0.000000, [0.780, 0.790): 0.000000,
[0.790, 0.800): 0.000000, [0.800, 0.810): 0.000000, [0.810, 0.820): 0.000000,
[0.820, 0.830): 0.000000, [0.830, 0.840): 0.000000, [0.840, 0.850): 0.000000,
[0.850, 0.860): 0.000000, [0.860, 0.870): 0.000000, [0.870, 0.880): 0.000000,
[0.880, 0.890): 0.000000, [0.890, 0.900): 0.000000, [0.900, 0.910): 0.000000,
[0.910, 0.920): 0.000000, [0.920, 0.930): 0.000000, [0.930, 0.940): 0.000000,
[0.940, 0.950): 0.000000, [0.950, 0.960): 0.000000, [0.960, 0.970): 0.000000,
[0.970, 0.980): 0.000000, [0.980, 0.990): 0.000000, [0.990, 1.000): 0.000000,
[1.000, inf): 0.000000, , tof_merge_quality_stats_.hist_feature_overlap_ratio_:
[0.900, 0.905): 0.000000, [0.905, 0.910): 0.000000, [0.910, 0.915): 0.000000,
[0.915, 0.920): 0.000000, [0.920, 0.925): 0.000000, [0.925, 0.930): 0.000000,
[0.930, 0.935): 0.000000, [0.935, 0.940): 0.000000, [0.940, 0.945): 0.000000,
[0.945, 0.950): 0.000000, [0.950, 0.955): 0.000000, [0.955, 0.960): 0.000000,
[0.960, 0.965): 0.000000, [0.965, 0.970): 0.000000, [0.970, 0.975): 0.000000,
[0.975, 0.980): 0.000000, [0.980, 0.985): 0.000000, [0.985, 0.990): 0.000000,
[0.990, 0.995): 0.000000, [0.995, 1.000): 0.000000, [1.000, inf): 0.000000, ,
tof_merge_quality_stats_.hist_normal_closeness_: [0.900, 0.905): 0.000000, [0.905,
0.910): 0.000000, [0.910, 0.915): 0.000000, [0.915, 0.920): 0.000000, [0.920,
0.925): 0.000000, [0.925, 0.930): 0.000000, [0.930, 0.935): 0.000000, [0.935,
0.940): 0.000000, [0.940, 0.945): 0.000000, [0.945, 0.950): 0.000000, [0.950,
0.955): 0.000000, [0.955, 0.960): 0.000000, [0.960, 0.965): 0.000000, [0.965,
0.970): 0.000000, [0.970, 0.975): 0.000000, [0.975, 0.980): 0.000000, [0.980,
0.985): 0.000000, [0.985, 0.990): 0.000000, [0.990, 0.995): 0.000000, [0.995,
1.000): 0.000000, [1.000, inf): 0.000000, ,
tof_merge_quality_stats_.hist_plane_distance_: [0.000, 0.010): 0.000000, [0.010,
0.020): 0.000000, [0.020, 0.030): 0.000000, [0.030, 0.040): 0.000000, [0.040,
0.050): 0.000000, [0.050, 0.060): 0.000000, [0.060, 0.070): 0.000000, [0.070,
0.080): 0.000000, [0.080, 0.090): 0.000000, [0.090, 0.100): 0.000000, [0.100,
0.110): 0.000000, [0.110, 0.120): 0.000000, [0.120, 0.130): 0.000000, [0.130,
0.140): 0.000000, [0.140, 0.150): 0.000000, [0.150, 0.160): 0.000000, [0.160,
0.170): 0.000000, [0.170, 0.180): 0.000000, [0.180, 0.190): 0.000000, [0.190,
0.200): 0.000000, [0.200, 0.210): 0.000000, [0.210, 0.220): 0.000000, [0.220,
0.230): 0.000000, [0.230, 0.240): 0.000000, [0.240, 0.250): 0.000000, [0.250,
0.260): 0.000000, [0.260, 0.270): 0.000000, [0.270, 0.280): 0.000000, [0.280,
0.290): 0.000000, [0.290, 0.300): 0.000000, [0.300, 0.310): 0.000000, [0.310,
0.320): 0.000000, [0.320, 0.330): 0.000000, [0.330, 0.340): 0.000000, [0.340,
0.350): 0.000000, [0.350, 0.360): 0.000000, [0.360, 0.370): 0.000000, [0.370,
0.380): 0.000000, [0.380, 0.390): 0.000000, [0.390, 0.400): 0.000000, [0.400,
0.410): 0.000000, [0.410, 0.420): 0.000000, [0.420, 0.430): 0.000000, [0.430,
0.440): 0.000000, [0.440, 0.450): 0.000000, [0.450, 0.460): 0.000000, [0.460,
0.470): 0.000000, [0.470, 0.480): 0.000000, [0.480, 0.490): 0.000000, [0.490,
0.500): 0.000000, [0.500, inf): 0.000000, , ms_merge_quality_stats_.Empty(): true,
ms_merge_quality_stats_.hist_area_overlap_ratio_: [0.750, 0.760): 0.000000, [0.760,
0.770): 0.000000, [0.770, 0.780): 0.000000, [0.780, 0.790): 0.000000, [0.790,
0.800): 0.000000, [0.800, 0.810): 0.000000, [0.810, 0.820): 0.000000, [0.820,
0.830): 0.000000, [0.830, 0.840): 0.000000, [0.840, 0.850): 0.0
04-05 14:33:46.034 10638 10638 I native :
04-05 14:33:46.035 10638 10638 E native : E0405 14:33:46.035590 10638
session.cc:1678] INTERNAL: Could not delete online calibration file.
04-05 14:33:46.035 10638 10638 E native : === Source Location Trace: ===
04-05 14:33:46.035 10638 10638 E native :
third_party/arcore/ar/calibration/online_calibration_manager/online_calibration_man
ager.cc:156
04-05 14:33:46.035 10638 10638 E native :
04-05 14:33:46.255 10638 11105 W CameraManagerGlobal: ignore the torch status
update of camera: 21
04-05 14:33:46.256 10638 11105 W CameraManagerGlobal: ignore the torch status
update of camera: 22
04-05 14:33:46.256 10638 11105 W CameraManagerGlobal: ignore the torch status
update of camera: 61
04-05 14:33:46.258 10638 11150 I BufferQueueProducer: [ImageReader-
1920x1080f22u256m16-10638-0](id:298e00000000,api:4,p:858,c:10638) disconnect():
api=4
04-05 14:33:46.260 10638 11150 I BufferQueueProducer: [ImageReader-640x480f23m16-
10638-0](id:298e00000001,api:4,p:858,c:10638) disconnect(): api=4
04-05 14:33:46.262 10638 11150 I BufferQueueProducer: [ImageReader-1920x1080f23m16-
10638-1](id:298e00000002,api:4,p:858,c:10638) disconnect(): api=4
04-05 14:33:46.268 10638 11105 E CameraManagerGlobal: Camera 61 is not available.
Ignore physical camera status change
04-05 14:33:46.268 10638 11150 W BpBinder: Slow Binder: BpBinder transact took 202
ms, interface=android.hardware.camera2.ICameraDeviceUser, code=1 oneway=false
04-05 14:33:46.271 10638 10638 I native : I0405 14:33:46.270978 10638
logger.h:28] DataSourceMetrics: kStopImageSubSystem: 206.734154ms
04-05 14:33:46.273 10638 10638 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:46.276 10638 10638 E native : E0405 14:33:46.276510 10638
scheduler.cc:278] generic::internal: RET_CHECK failure
(third_party/mediapipe/framework/scheduler.cc:278) state_ != STATE_NOT_STARTED (0
vs. 0)
04-05 14:33:46.276 10638 10638 E native : Stack trace:
04-05 14:33:46.276 10638 10638 E native :
04-05 14:33:46.276 10638 10638 E native : E0405 14:33:46.276743 10638
normal_detector_cpu.cc:231] Error graph_->WaitUntilIdle():INTERNAL: RET_CHECK
failure (third_party/mediapipe/framework/scheduler.cc:278) state_ !=
STATE_NOT_STARTED (0 vs. 0)
04-05 14:33:46.276 10638 10638 E native : === Source Location Trace: ===
04-05 14:33:46.276 10638 10638 E native :
third_party/mediapipe/framework/scheduler.cc:278
04-05 14:33:46.276 10638 10638 E native :
third_party/mediapipe/framework/calculator_graph.cc:805
04-05 14:33:46.276 10638 10638 E native :
04-05 14:33:46.276 10638 10638 I native : I0405 14:33:46.276787 10638
session.cc:1732] Session::PauseWithAnalytics returning OK.
04-05 14:33:46.293 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:33:50.033 10638 12887 I TGXIdentityRequestTask: TGXIdentityRequestTask
starting on thread 91341 (ExperienceListLoader-2) for
http://192.168.1.32:2019/ExperienceService/id-resolution/resolutions?
key=urn:vuforia:nokey&resourcetype=Experience&wNdp=392 ...
04-05 14:33:50.033 10638 12887 I TGXIdentityRequestTask: TGXIdentityRequestTask
full request URL:
http://192.168.1.32:2019/ExperienceService/id-resolution/resolutions?
key=urn:vuforia:nokey&resourcetype=Experience&wNdp=392&aspect=spatial-tracking
04-05 14:33:50.041 10638 12888 I System.out: [okhttp]:check permission begin!
04-05 14:33:50.041 10638 12888 I System.out: [okhttp]:not MMS!
04-05 14:33:50.041 10638 12888 I System.out: [okhttp]:not Email!
04-05 14:33:50.041 10638 12888 I System.out: [socket]:check permission begin!
04-05 14:33:50.049 10638 12888 I System.out: [OkHttp] sendRequest>>
04-05 14:33:50.049 10638 12888 I System.out: [OkHttp] sendRequest<<
04-05 14:33:50.206 10638 12887 I TGXIdentityRequestTask: TGXIdentityRequestTask
complete.
04-05 14:33:50.235 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:33:50.238 10638 10638 I chatty : uid=10403(com.ptc.vuforiaview) identical
4 lines
04-05 14:33:50.239 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:33:50.251 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:33:50.253 10638 10638 I chatty : uid=10403(com.ptc.vuforiaview) identical
2 lines
04-05 14:33:50.253 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:33:50.260 10638 12891 I System.out: [okhttp]:check permission begin!
04-05 14:33:50.260 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:33:50.260 10638 12891 I System.out: [okhttp]:not MMS!
04-05 14:33:50.260 10638 12891 I System.out: [okhttp]:not Email!
04-05 14:33:50.260 10638 12891 I System.out: [OkHttp] sendRequest>>
04-05 14:33:50.260 10638 12891 I System.out: [OkHttp] sendRequest<<
04-05 14:33:50.276 10638 12890 E ion : ioctl c0044901 failed with code -1:
Invalid argument
04-05 14:33:50.292 10638 12890 I TGX_ImageCache: Loading Image of size 193320. to
TGXImageCache
04-05 14:33:52.142 10638 10638 D JsMessageQueue: Set native->JS mode to null
04-05 14:33:52.142 10638 10638 D CordovaWebViewImpl:
onPageDidNavigate(file:///android_asset/www/ScanningExperience/index.html)
04-05 14:33:52.145 10638 12895 I TGX_C++ : [ ObserverManager.cpp:135 |
resetObservers ] Vuforia:: resetObservers() finished
04-05 14:33:52.145 10638 12895 D JsMessageQueue: Dropping Native->JS message due to
disabled bridge
04-05 14:33:52.145 10638 10970 E TGX_C++ : [ CameraPreviewWatcherJavaBridge.cpp:73
|callGrayscaleCallback ] CameraScanner:: Image buffer is invalid
04-05 14:33:52.165 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:33:52.171 10638 10638 E TGX_C++ : [ VuforiaManager.cpp:511 |
resumeIfNeeded ] Vuforia:: AR not requested, skipping
04-05 14:33:52.192 10638 10638 D CordovaWebViewImpl:
onPageFinished(file:///android_asset/www/ScanningExperience/index.html)
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: >>>
loadUrl(javascript:setTimeout(function(){
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: Licensed to the Apache
Software Foundation (ASF) under one
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: or more contributor license
agreements. See the NOTICE file
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: distributed with this work
for additional information
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: regarding copyright
ownership. The ASF licenses this file
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: to you under the Apache
License, Version 2.0 (the
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "License"); you may not use
this file except in compliance
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: with the License. You may
obtain a copy of the License at
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: http:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: Unless required by applicable
law or agreed to in writing,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: software distributed under
the License is distributed on an
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: KIND, either express or
implied. See the License for the
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: specific language governing
permissions and limitations
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: under the License.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: ;(function() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var
PLATFORM_VERSION_BUILD_LABEL = '8.0.0';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var require;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var define;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: (function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var modules = {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var requireStack = [];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var inProgressModules =
{};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var SEPARATOR = '.';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function build (module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var factory =
module.factory;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var localRequire =
function (id) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var resultantId =
id;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (id.charAt(0)
=== '.') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: resultantId =
module.id.slice(0, module.id.lastIndexOf(SEPARATOR)) + SEPARATOR + id.slice(2);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
require(resultantId);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports = {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: delete module.factory;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: factory(localRequire,
module.exports, module);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return module.exports;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: require = function (id) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!modules[id]) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' not found';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if (id in
inProgressModules) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var cycle =
requireStack.slice(inProgressModules[id]).join('->') + '->' + id;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: throw 'Cycle in
require graph: ' + cycle;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if
(modules[id].factory) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
inProgressModules[id] = requireStack.length;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
requireStack.push(id);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
build(modules[id]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: delete
inProgressModules[id];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
requireStack.pop();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
modules[id].exports;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define = function (id,
factory) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (modules[id]) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' already defined';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: modules[id] = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: id: id,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: factory: factory
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define.remove = function
(id) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: delete modules[id];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define.moduleMap =
modules;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: })();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof module === 'object'
&& typeof require === 'function') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports.require =
require;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports.define =
define;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define("cordova",
function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (window.cordova && !
(window.cordova instanceof HTMLElement)) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: throw new Error('cordova
already defined');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Intercept calls to
addEventListener + removeEventListener and handle deviceready,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * resume, and pause events.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var
m_document_addEventListener = document.addEventListener;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var
m_document_removeEventListener = document.removeEventListener;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var m_window_addEventListener
= window.addEventListener;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var
m_window_removeEventListener = window.removeEventListener;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Houses custom event
handlers to intercept on document + window event listeners.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var documentEventHandlers =
{};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var windowEventHandlers = {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: document.addEventListener =
function (evt, handler, capture) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].subscribe(handler);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
m_document_addEventListener.call(document, evt, handler, capture);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: window.addEventListener =
function (evt, handler, capture) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].subscribe(handler);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
m_window_addEventListener.call(window, evt, handler, capture);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: document.removeEventListener =
function (evt, handler, capture) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].unsubscribe(handler);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
m_document_removeEventListener.call(document, evt, handler, capture);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: window.removeEventListener =
function (evt, handler, capture) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].unsubscribe(handler);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
m_window_removeEventListener.call(window, evt, handler, capture);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function createEvent (type,
data) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var event =
document.createEvent('Events');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: event.initEvent(type,
false, false);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (data) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i in data) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if
(data.hasOwnProperty(i)) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: event[i] =
data[i];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return event;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-undef */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var cordova = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define: define,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: require: require,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: version:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: platformVersion:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: platformId: platform.id,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-undef
*/
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Methods to add/remove
your own addEventListener hijacking on document + window.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: addWindowEventHandler:
function (event) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
(windowEventHandlers[event] = channel.create(event));
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
addStickyDocumentEventHandler: function (event) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.createSticky(event));
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: addDocumentEventHandler:
function (event) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.create(event));
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: removeWindowEventHandler:
function (event) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: delete
windowEventHandlers[event];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
removeDocumentEventHandler: function (event) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: delete
documentEventHandlers[event];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Retrieve original event
handlers that were replaced by Cordova
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @return object
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: getOriginalHandlers:
function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return {'document':
{'addEventListener': m_document_addEventListener, 'removeEventListener':
m_document_removeEventListener},
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: 'window':
{'addEventListener': m_window_addEventListener, 'removeEventListener':
m_window_removeEventListener}};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Method to fire event
from native code
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * bNoDetach is required
for events which cause an exception which needs to be caught in native code
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: fireDocumentEvent:
function (type, data, bNoDetach) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[type] !== 'undefined') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (bNoDetach) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (type
=== 'deviceready') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: fireWindowEvent: function
(type, data) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[type] !== 'undefined') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[type].fire(evt);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
window.dispatchEvent(evt);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Plugin callback
mechanism.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: callbackId:
Math.floor(Math.random() * 2000000000),
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: callbacks: {},
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: callbackStatus: {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: NO_RESULT: 0,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: OK: 1,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
CLASS_NOT_FOUND_EXCEPTION: 2,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
ILLEGAL_ACCESS_EXCEPTION: 3,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
INSTANTIATION_EXCEPTION: 4,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
MALFORMED_URL_EXCEPTION: 5,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: IO_EXCEPTION: 6,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: INVALID_ACTION: 7,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: JSON_EXCEPTION: 8,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: ERROR: 9
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning successful result from an action.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: callbackSuccess: function
(callbackId, args) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, true, args.status, [args.message],
args.keepCallback);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning error result from an action.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: callbackError: function
(callbackId, args) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, false, args.status, [args.message],
args.keepCallback);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning the result from an action.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: callbackFromNative:
function (callbackId, isSuccess, status, args, keepCallback) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var callback =
cordova.callbacks[callbackId];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (callback) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (isSuccess
&& status === cordova.callbackStatus.OK) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
callback.success && callback.success.apply(null, args);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if (!
isSuccess) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
callback.fail && callback.fail.apply(null, args);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: else
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: Note, this
case is intentionally not caught.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this can
happen if isSuccess is true, but callbackStatus is NO_RESULT
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: which is
used to remove a callback from the list without calling the callbacks
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: typically
keepCallback is false in this case
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!
keepCallback) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: delete
cordova.callbacks[callbackId];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } catch (err) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var msg = 'Error
in ' + (isSuccess ? 'Success' : 'Error') + ' callbackId: ' + callbackId + ' : ' +
err;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: console &&
console.log && console.log(msg);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: console &&
console.log && err.stack && console.log(err.stack);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent('cordovacallbackerror', { 'message': msg });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: throw err;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: addConstructor: function
(func) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: func();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
console.log('Failed to run constructor: ' + e);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports = cordova;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
define("cordova/android/nativeapiprovider", function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Exports the
ExposedJsApi.java object if available, otherwise exports the PromptBasedNativeApi.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var nativeApi =
this._cordovaNative || require('cordova/android/promptbasednativeapi');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var currentApi = nativeApi;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: get: function() { return
currentApi; },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: setPreferPrompt:
function(value) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: currentApi = value ?
require('cordova/android/promptbasednativeapi') : nativeApi;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: set: function(value) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: currentApi = value;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
define("cordova/android/promptbasednativeapi", function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Implements the API of
ExposedJsApi.java, but uses prompt() to communicate.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * This is used pre-JellyBean,
where addJavascriptInterface() is disabled.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exec:
function(bridgeSecret, service, action, callbackId, argsJson) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
prompt(argsJson, 'gap:'+JSON.stringify([bridgeSecret, service, action,
callbackId]));
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: setNativeToJsBridgeMode:
function(bridgeSecret, value) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: prompt(value,
'gap_bridge_mode:' + bridgeSecret);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: retrieveJsMessages:
function(bridgeSecret, fromOnlineEvent) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
prompt(+fromOnlineEvent, 'gap_poll:' + bridgeSecret);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define("cordova/argscheck",
function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var moduleExports =
module.exports;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var typeMap = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: 'A': 'Array',
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: 'D': 'Date',
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: 'N': 'Number',
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: 'S': 'String',
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: 'F': 'Function',
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: 'O': 'Object'
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function extractParamName
(callee, argIndex) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return (/.*?\
((.*?)\)/).exec(callee)[1].split(', ')[argIndex];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function checkArgs (spec,
functionName, args, opt_callee) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!
moduleExports.enableChecks) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var errMsg = null;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var typeName;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
spec.length; ++i) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var c =
spec.charAt(i);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var cUpper =
c.toUpperCase();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var arg = args[i];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (c === '*') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: typeName =
utils.typeName(arg);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if ((arg === null ||
arg === undefined) && c === cUpper) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeName !==
typeMap[cUpper]) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: errMsg = 'Expected
' + typeMap[cUpper];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (errMsg) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: errMsg += ', but got '
+ typeName + '.';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: errMsg = 'Wrong type
for parameter "' + extractParamName(opt_callee || args.callee, i) + '" of ' +
functionName + ': ' + errMsg;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof jasmine ===
'undefined') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
console.error(errMsg);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: throw
TypeError(errMsg);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function getValue (value,
defaultValue) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return value === undefined
? defaultValue : value;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: moduleExports.checkArgs =
checkArgs;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: moduleExports.getValue =
getValue;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: moduleExports.enableChecks =
true;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define("cordova/base64",
function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var base64 = exports;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: base64.fromArrayBuffer =
function (arrayBuffer) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
uint8ToBase64(array);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: base64.toArrayBuffer =
function (str) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var decodedStr = typeof
atob !== 'undefined' ? atob(str) : Buffer.from(str, 'base64').toString('binary');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var arrayBuffer = new
ArrayBuffer(decodedStr.length);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
decodedStr.length; i < len; i++) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: array[i] =
decodedStr.charCodeAt(i);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return arrayBuffer;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /* This code is based on the
performance tests at http:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * This 12-bit-at-a-time
algorithm was the best performing version on all
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * platforms tested.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var b64_6bit =
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var b64_12bit;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var b64_12bitTable = function
() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: b64_12bit = [];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < 64; i+
+) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
64; j++) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: b64_12bit[i * 64 +
j] = b64_6bit[i] + b64_6bit[j];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: b64_12bitTable = function
() { return b64_12bit; };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return b64_12bit;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function uint8ToBase64
(rawData) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var numBytes =
rawData.byteLength;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var output = '';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var segment;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var table =
b64_12bitTable();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
numBytes - 2; i += 3) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8) + rawData[i + 2];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: output +=
table[segment & 0xfff];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (numBytes - i === 2) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: output +=
b64_6bit[(segment & 0xfff) >> 6];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: output += '=';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if (numBytes - i
=== 1) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: output += '==';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return output;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define("cordova/builder",
function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function each (objects, func,
context) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var prop in objects)
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if
(objects.hasOwnProperty(prop)) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
func.apply(context, [objects[prop], prop]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function clobber (obj, key,
value) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
exports.replaceHookForTesting(obj, key);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var needsProperty = false;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: obj[key] = value;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: needsProperty = true;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (needsProperty ||
obj[key] !== value) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function
assignOrWrapInDeprecateGetter (obj, key, value, message) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (message) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
console.log(message);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: delete obj[key];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function include (parent,
objects, clobber, merge) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: each(objects, function
(obj, key) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var result =
obj.path ? require(obj.path) : {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (clobber) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if
(typeof obj.path !== 'undefined') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (merge)
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
recursiveMerge(parent[key], result);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (obj.children)
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
include(result, obj.children, clobber, merge);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
utils.alert('Exception building Cordova JS globals: ' + e + ' for key "' + key +
'"');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Merge properties from one
object onto another recursively. Properties from
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * the src object will
overwrite existing target property.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param target Object to
merge properties into.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param src Object to merge
properties from.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function recursiveMerge
(target, src) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var prop in src) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if
(src.hasOwnProperty(prop)) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if
(target.prototype && target.prototype.constructor === target) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
clobber(target.prototype, prop, src[prop]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof
src[prop] === 'object' && typeof target[prop] === 'object') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
recursiveMerge(target[prop], src[prop]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
clobber(target, prop, src[prop]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
exports.buildIntoButDoNotClobber = function (objects, target) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: include(target, objects,
false, false);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndClobber =
function (objects, target) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, false);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndMerge =
function (objects, target) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, true);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.recursiveMerge =
recursiveMerge;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
exports.assignOrWrapInDeprecateGetter = assignOrWrapInDeprecateGetter;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.replaceHookForTesting
= function () {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define("cordova/channel",
function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var nextGuid = 1;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Custom pub-sub "channel"
that can have functions subscribed to it
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * This object is used to
define and control firing of events for
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * cordova initialization, as
well as for custom events thereafter.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * The order of events during
page load and Cordova startup is as follows:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * onDOMContentLoaded*
Internal event that is received when the web page is loaded and parsed.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * onNativeReady*
Internal event that indicates the Cordova native side is ready.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * onCordovaReady*
Internal event fired when all Cordova JavaScript objects have been created.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * onDeviceReady*
User event fired to indicate that Cordova is ready
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * onResume
User event fired to indicate a start/resume lifecycle event
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * onPause
User event fired to indicate a pause lifecycle event
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * The events marked with an *
are sticky. Once they have fired, they will stay in the fired state.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * All listeners that
subscribe after the event is fired will be executed right away.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * The only Cordova events
that user code should register for are:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * deviceready
Cordova native code is initialized and Cordova APIs can be called from JavaScript
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * pause
App has moved to background
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * resume
App has returned to foreground
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Listeners can be registered
as:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("deviceready", myDeviceReadyListener, false);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("resume", myResumeListener, false);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("pause", myPauseListener, false);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * The DOM lifecycle events
should be used for saving and restoring state
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * window.onload
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * window.onunload
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Channel
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @constructor
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param type String the
channel name
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var Channel = function (type,
sticky) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this.type = type;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this.handlers = {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this.state = sticky ? 1 :
0;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this.fireArgs = null;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this.numHandlers = 0;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange = null;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var channel = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Calls the provided
function only after all of the channels specified
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * have been fired. All
channels must be sticky channels.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: join: function (h, c) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var len = c.length;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var i = len;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var f = function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!(--i)) h();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
len; j++) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (c[j].state ===
0) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: throw
Error('Can only use join with sticky channels.');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: c[j].subscribe(f);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!len) h();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-
return-assign */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: create: function (type) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, false);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: createSticky: function
(type) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, true);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-
return-assign */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * cordova Channels that
must fire before "deviceready" is fired.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsArray:
[],
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsMap:
{},
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Indicate that a feature
needs to be initialized before it is ready to be used.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * This holds up Cordova's
"deviceready" event until the feature has been initialized
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * and
Cordova.initComplete(feature) is called.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: waitForInitialization:
function (feature) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (feature) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var c =
channel[feature] || this.createSticky(feature);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsMap[feature] = c;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsArray.push(c);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Indicate that
initialization code has completed and the feature is ready to be used.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: initializationComplete:
function (feature) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var c =
this.deviceReadyChannelsMap[feature];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (c) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: c.fire();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function
checkSubscriptionArgument (argument) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof argument !==
'function' && typeof argument.handleEvent !== 'function') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: throw new Error(
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: 'Must provide a
function or an EventListener object ' +
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: 'implementing
the handleEvent interface.'
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: );
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Subscribes the given
function to the channel. Any time that
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Channel.fire is called so
too will the function.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Optionally specify an
execution context for the function
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * and a guid that can be used
to stop subscribing to the channel.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Returns the guid.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: Channel.prototype.subscribe =
function (eventListenerOrFunction, eventListener) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var handleEvent, guid;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: eventListener =
eventListenerOrFunction;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (this.state === 2) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
handleEvent.apply(eventListener || this, this.fireArgs);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: guid =
eventListenerOrFunction.observer_guid;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof eventListener
=== 'object') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: handleEvent =
utils.close(eventListener, handleEvent);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!guid) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: guid = '' + nextGuid+
+;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: handleEvent.observer_guid
= guid;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
eventListenerOrFunction.observer_guid = guid;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!this.handlers[guid])
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this.handlers[guid] =
handleEvent;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this.numHandlers++;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 1) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Unsubscribes the function
with the given guid from the channel.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: Channel.prototype.unsubscribe
= function (eventListenerOrFunction) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var handleEvent, guid,
handler;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: guid =
handleEvent.observer_guid;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: handler =
this.handlers[guid];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (handler) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: delete
this.handlers[guid];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this.numHandlers--;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 0) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Calls all functions
subscribed to this channel.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: Channel.prototype.fire =
function (e) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var fail = false;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var fireArgs =
Array.prototype.slice.call(arguments);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (this.state === 1) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this.state = 2;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this.fireArgs =
fireArgs;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (this.numHandlers) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var toCall = [];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var item in
this.handlers) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
toCall.push(this.handlers[item]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
toCall.length; ++i) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
toCall[i].apply(this, fireArgs);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (this.state === 2
&& this.numHandlers) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this.numHandlers =
0;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this.handlers =
{};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDOMContentLoaded');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onNativeReady');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onCordovaReady');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onPluginsReady');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDeviceReady');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: channel.create('onResume');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: channel.create('onPause');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onCordovaReady');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onDOMContentLoaded');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports = channel;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define("cordova/exec",
function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Execute a cordova command.
It is up to the native side whether this action
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * is synchronous or
asynchronous. The native side can return:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Synchronous:
PluginResult object as a JSON string
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Asynchronous: Empty
string ""
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * If async, the native side
will cordova.callbackSuccess or cordova.callbackError,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * depending upon the result
of the action.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param {Function} success
The success callback
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param {Function} fail
The fail callback
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param {String} service
The name of the service to use
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param {String} action
Action to be run in cordova
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param {String[]} [args]
Zero or more arguments to pass to the method
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova'),
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: nativeApiProvider =
require('cordova/android/nativeapiprovider'),
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: utils =
require('cordova/utils'),
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: base64 =
require('cordova/base64'),
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: channel =
require('cordova/channel'),
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: jsToNativeModes = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: PROMPT: 0,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: JS_OBJECT: 1
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: nativeToJsModes = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: POLLING: 0,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: LOAD_URL: 1,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: ONLINE_EVENT: 2,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: EVAL_BRIDGE: 3
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
nativeToJsModes.EVAL_BRIDGE,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: pollEnabled = false,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: bridgeSecret = -1;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var messagesFromNative = [];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var isProcessing = false;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var resolvedPromise = typeof
Promise == 'undefined' ? null : Promise.resolve();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var nextTick = resolvedPromise
? function(fn) { resolvedPromise.then(fn); } : function(fn) { setTimeout(fn); };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function androidExec(success,
fail, service, action, args) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: throw new
Error('exec() called without bridgeSecret');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
=== undefined) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: args = args || [];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
args.length; i++) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if
(utils.typeName(args[i]) == 'ArrayBuffer') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: args[i] =
base64.fromArrayBuffer(args[i]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var callbackId = service +
cordova.callbackId++,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: argsJson =
JSON.stringify(args);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (success || fail) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordova.callbacks[callbackId] = {success:success, fail:fail};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().exec(bridgeSecret, service, action, callbackId, argsJson);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
== jsToNativeModes.JS_OBJECT && msgs === "@Null arguments.") {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.PROMPT);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: androidExec(success,
fail, service, action, args);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if (msgs) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: androidExec.init = function()
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: bridgeSecret = +prompt('',
'gap_init:' + nativeToJsBridgeMode);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function
pollOnceFromOnlineEvent() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: pollOnce(true);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function
pollOnce(opt_fromOnlineEvent) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().retrieveJsMessages(bridgeSecret, !!opt_fromOnlineEvent);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (msgs) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: processMessages();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function pollingTimerFunc() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (pollEnabled) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: pollOnce();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 50);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function hookOnlineApis() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function proxyEvent(e) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent(e.type);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
window.addEventListener('online', pollOnceFromOnlineEvent, false);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
window.addEventListener('offline', pollOnceFromOnlineEvent, false);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('online');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('offline');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
document.addEventListener('online', proxyEvent, false);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
document.addEventListener('offline', proxyEvent, false);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: hookOnlineApis();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: androidExec.jsToNativeModes =
jsToNativeModes;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: androidExec.nativeToJsModes =
nativeToJsModes;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode = function(mode) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (mode ==
jsToNativeModes.JS_OBJECT && !window._cordovaNative) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: mode =
jsToNativeModes.PROMPT;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.setPreferPrompt(mode == jsToNativeModes.PROMPT);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode =
mode;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
androidExec.setNativeToJsBridgeMode = function(mode) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsBridgeMode) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (nativeToJsBridgeMode
== nativeToJsModes.POLLING) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: pollEnabled = false;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
mode;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (bridgeSecret >= 0) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.get().setNativeToJsBridgeMode(bridgeSecret, mode);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsModes.POLLING) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: pollEnabled = true;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 1);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function buildPayload(payload,
message) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var payloadKind =
message.charAt(0);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (payloadKind == 's') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
payload.push(message.slice(1));
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
't') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: payload.push(true);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'f') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: payload.push(false);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'N') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: payload.push(null);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'n') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
payload.push(+message.slice(1));
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'A') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var data =
message.slice(1);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
payload.push(base64.toArrayBuffer(data));
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'S') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
payload.push(window.atob(message.slice(1)));
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'M') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var multipartMessages
= message.slice(1);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: while
(multipartMessages !== "") {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var spaceIdx =
multipartMessages.indexOf(' ');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var msgLen =
+multipartMessages.slice(0, spaceIdx);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var
multipartMessage = multipartMessages.substr(spaceIdx + 1, msgLen);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: multipartMessages
= multipartMessages.slice(spaceIdx + msgLen + 1);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
buildPayload(payload, multipartMessage);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
payload.push(JSON.parse(message));
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function
processMessage(message) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var firstChar =
message.charAt(0);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (firstChar == 'J') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
eval(message.slice(1));
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if (firstChar ==
'S' || firstChar == 'F') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var success =
firstChar == 'S';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var keepCallback =
message.charAt(1) == '1';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var spaceIdx =
message.indexOf(' ', 2);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var status =
+message.slice(2, spaceIdx);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var nextSpaceIdx =
message.indexOf(' ', spaceIdx + 1);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var callbackId =
message.slice(spaceIdx + 1, nextSpaceIdx);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var payloadMessage =
message.slice(nextSpaceIdx + 1);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var payload = [];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: buildPayload(payload,
payloadMessage);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, success, status, payload, keepCallback);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
console.log("processMessage failed: invalid message: " + JSON.stringify(message));
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function processMessages() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (isProcessing) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length === 0) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: isProcessing = true;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var msg =
popMessageFromQueue();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (msg == '*' &&
messagesFromNative.length === 0) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
nextTick(pollOnce);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: processMessage(msg);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: isProcessing = false;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length > 0) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function popMessageFromQueue()
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var messageBatch =
messagesFromNative.shift();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (messageBatch == '*') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return '*';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var spaceIdx =
messageBatch.indexOf(' ');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var msgLen =
+messageBatch.slice(0, spaceIdx);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var message =
messageBatch.substr(spaceIdx + 1, msgLen);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: messageBatch =
messageBatch.slice(spaceIdx + msgLen + 1);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (messageBatch) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
messagesFromNative.unshift(messageBatch);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return message;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports = androidExec;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define("cordova/exec/proxy",
function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var CommandProxyMap = {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: add: function (id,
proxyObj) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: console.log('adding
proxy for ' + id);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
proxyObj;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return proxyObj;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: remove: function (id) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var proxy =
CommandProxyMap[id];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: delete
CommandProxyMap[id];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
null;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return proxy;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: get: function (service,
action) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
(CommandProxyMap[service] ? CommandProxyMap[service][action] : null);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define("cordova/init",
function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var pluginloader =
require('cordova/pluginloader');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var platformInitChannelsArray
= [channel.onNativeReady, channel.onPluginsReady];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function logUnfiredChannels
(arr) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
arr.length; ++i) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (arr[i].state !==
2) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
console.log('Channel not fired: ' + arr[i].type);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: window.setTimeout(function ()
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if
(channel.onDeviceReady.state !== 2) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
console.log('deviceready has not fired after 5 seconds.');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(platformInitChannelsArray);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(channel.deviceReadyChannelsArray);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }, 5000);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function replaceNavigator
(origNavigator) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var CordovaNavigator =
function () {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: CordovaNavigator.prototype
= origNavigator;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var newNavigator = new
CordovaNavigator();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (CordovaNavigator.bind)
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var key in
origNavigator) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (typeof
origNavigator[key] === 'function') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
newNavigator[key] = origNavigator[key].bind(origNavigator);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: (function (k)
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
utils.defineGetterSetter(newNavigator, key, function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
origNavigator[k];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: })(key);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return newNavigator;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (window.navigator) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: window.navigator =
replaceNavigator(window.navigator);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!window.console) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: window.console = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: log: function () {}
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!window.console.warn) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: window.console.warn =
function (msg) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: this.log('warn: ' +
msg);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: channel.onPause =
cordova.addDocumentEventHandler('pause');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: channel.onResume =
cordova.addDocumentEventHandler('resume');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: channel.onActivated =
cordova.addDocumentEventHandler('activated');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: channel.onDeviceReady =
cordova.addStickyDocumentEventHandler('deviceready');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (document.readyState ===
'complete' || document.readyState === 'interactive') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
document.addEventListener('DOMContentLoaded', function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }, false);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (window._nativeReady) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova', 'cordova');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'cordova.exec');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'Cordova.exec');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: platform.bootstrap &&
platform.bootstrap();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: setTimeout(function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: pluginloader.load(function
() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.onPluginsReady.fire();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Create all cordova objects
once native side is ready.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
modulemapper.mapModules(window);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: platform.initialize &&
platform.initialize();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.fire();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
require('cordova').fireDocumentEvent('deviceready');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
channel.deviceReadyChannelsArray);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }, platformInitChannelsArray);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define("cordova/modulemapper",
function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var builder =
require('cordova/builder');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var moduleMap =
define.moduleMap;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var symbolList;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var deprecationMap;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.reset = function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: symbolList = [];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: deprecationMap = {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function addEntry (strategy,
moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!(moduleName in
moduleMap)) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: throw new
Error('Module ' + moduleName + ' does not exist.');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: symbolList.push(strategy,
moduleName, symbolPath);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if
(opt_deprecationMessage) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
deprecationMap[symbolPath] = opt_deprecationMessage;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.clobbers = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: addEntry('c', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.merges = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: addEntry('m', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.defaults = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: addEntry('d', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.runs = function
(moduleName) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: addEntry('r', moduleName,
null);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function prepareNamespace
(symbolPath, context) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!symbolPath) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return context;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var cur = context;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0, part; part
= parts[i]; ++i) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: cur = cur[part] =
cur[part] || {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return cur;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.mapModules = function
(context) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var origSymbols = {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: context.CDV_origSymbols =
origSymbols;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
symbolList.length; i < len; i += 3) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var strategy =
symbolList[i];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var moduleName =
symbolList[i + 1];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var module =
require(moduleName);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (strategy === 'r')
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var symbolPath =
symbolList[i + 2];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var lastDot =
symbolPath.lastIndexOf('.');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var namespace =
symbolPath.substr(0, lastDot);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var lastName =
symbolPath.substr(lastDot + 1);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var deprecationMsg =
symbolPath in deprecationMap ? 'Access made to deprecated symbol: ' + symbolPath +
'. ' + deprecationMsg : null;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var parentObj =
prepareNamespace(namespace, context);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var target =
parentObj[lastName];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (strategy === 'm'
&& target) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
builder.recursiveMerge(target, module);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if ((strategy
=== 'd' && !target) || (strategy !== 'd')) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!(symbolPath
in origSymbols)) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
origSymbols[symbolPath] = target;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
builder.assignOrWrapInDeprecateGetter(parentObj, lastName, module, deprecationMsg);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.getOriginalSymbol =
function (context, symbolPath) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var origSymbols =
context.CDV_origSymbols;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (origSymbols &&
(symbolPath in origSymbols)) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
origSymbols[symbolPath];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var obj = context;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
parts.length; ++i) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: obj = obj &&
obj[parts[i]];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.reset();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define("cordova/platform",
function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var lastResumeEvent = null;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: id: 'android',
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: bootstrap: function() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel'),
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: cordova =
require('cordova'),
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exec =
require('cordova/exec'),
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: modulemapper =
require('cordova/modulemapper');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exec.init();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/plugin/android/app', 'navigator.app');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(cordova.platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' : 'App';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var backButtonChannel
= cordova.addDocumentEventHandler('backbutton');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
backButtonChannel.onHasSubscribersChange = function() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [this.numHandlers == 1]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('menubutton');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('searchbutton');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function
bindButtonChannel(buttonName) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var
volumeButtonChannel = cordova.addDocumentEventHandler(buttonName + 'button');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
volumeButtonChannel.onHasSubscribersChange = function() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exec(null,
null, APP_PLUGIN_NAME, "overrideButton", [buttonName, this.numHandlers == 1]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumeup');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumedown');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var
cordovaAddEventListener = document.addEventListener;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
document.addEventListener = function(evt, handler, capture) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordovaAddEventListener(evt, handler, capture);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (evt ===
'resume' && lastResumeEvent) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
handler(lastResumeEvent);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
exec(onMessageFromNative, null, APP_PLUGIN_NAME, 'messageChannel', []);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "show", []);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function
onMessageFromNative(msg) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var action = msg.action;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: switch (action)
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: case 'backbutton':
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: case 'menubutton':
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: case 'searchbutton':
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: case 'pause':
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: case
'volumedownbutton':
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: case 'volumeupbutton':
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: case 'resume':
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
if(arguments.length > 1 && msg.pendingResult) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
if(arguments.length === 2) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = arguments[1];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var res =
[];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for(var i
= 1; i < arguments.length; i++) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
res.push(arguments[i]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = res;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
lastResumeEvent = msg;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action, msg);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: default:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: throw new
Error('Unknown event action ' + action);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
define("cordova/plugin/android/app", function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var exec =
require('cordova/exec');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(require('cordova').platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' :
'App';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Clear the resource
cache.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: clearCache:function() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearCache", []);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Load the url into the
webview or into new browser instance.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param url The
URL to load
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param props
Properties that can be passed in to the activity:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * wait: int
=> wait msec before loading URL
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * loadingDialog:
"Title,Message" => display a native loading dialog
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
loadUrlTimeoutValue: int => time in msec to wait before triggering a
timeout error
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * clearHistory:
boolean => clear webview history (default=false)
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * openExternal:
boolean => open in a new browser (default=false)
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Example:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
navigator.app.loadUrl("http:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: loadUrl:function(url,
props) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "loadUrl", [url, props]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Cancel loadUrl that is
waiting to be loaded.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: cancelLoadUrl:function() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "cancelLoadUrl", []);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Clear web history in
this web view.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Instead of BACK button
loading the previous web page, it will exit the app.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: clearHistory:function() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearHistory", []);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Go to previous page
displayed.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * This is the same as
pressing the backbutton on Android device.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: backHistory:function() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "backHistory", []);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android back button.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * If overridden, when the
back button is pressed, the "backKeyDown" JavaScript event will be fired.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * registers for the
"backbutton" event, this is automatically done.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
overrideBackbutton:function(override) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [override]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android volume button.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * If overridden, when the
volume button is pressed, the "volume[up|down]button"
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * JavaScript event will be
fired.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * registers for the
"volume[up|down]button" event, this is automatically done.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param button
volumeup, volumedown
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
overrideButton:function(button, override) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideButton", [button, override]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Exit and terminate the
application.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exitApp:function() {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return exec(null,
null, APP_PLUGIN_NAME, "exitApp", []);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define("cordova/pluginloader",
function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.injectScript =
function (url, onload, onerror) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var script =
document.createElement('script');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: script.onload = onload;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: script.onerror = onerror;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: script.src = url;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
document.head.appendChild(script);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function injectIfNecessary
(id, url, onload, onerror) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: onerror = onerror ||
onload;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
exports.injectScript(url, function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: onerror();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }, onerror);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function
onScriptLoadingComplete (moduleList, finishPluginLoading) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0, module;
module = moduleList[i]; i++) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (module.clobbers &&
module.clobbers.length) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var j = 0; j
< module.clobbers.length; j++) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers(module.id, module.clobbers[j]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (module.merges &&
module.merges.length) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var k = 0; k
< module.merges.length; k++) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
modulemapper.merges(module.id, module.merges[k]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (module.runs) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
modulemapper.runs(module.id);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function handlePluginsObject
(path, moduleList, finishPluginLoading) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var scriptCounter =
moduleList.length;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!scriptCounter) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function
scriptLoadedCallback () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!--scriptCounter)
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
onScriptLoadingComplete(moduleList, finishPluginLoading);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
moduleList.length; i++) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
injectIfNecessary(moduleList[i].id, path + moduleList[i].file,
scriptLoadedCallback);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function findCordovaPath () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var path = null;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var scripts =
document.getElementsByTagName('script');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var term = '/cordova.js';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var n =
scripts.length - 1; n > -1; n--) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var src =
scripts[n].src.replace(/\?.*$/, '');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (src.indexOf(term)
=== (src.length - term.length)) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: path =
src.substring(0, src.length - term.length) + '/';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.load = function
(callback) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var pathPrefix =
findCordovaPath();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (pathPrefix === null) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: console.log('Could not
find cordova.js script tag. Plugin loading may fail.');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: pathPrefix = '';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
injectIfNecessary('cordova/plugin_list', pathPrefix + 'cordova_plugins.js',
function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var moduleList =
require('cordova/plugin_list');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
handlePluginsObject(pathPrefix, moduleList, callback);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }, callback);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define("cordova/urlutil",
function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * For already absolute URLs,
returns what is passed in.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * For relative URLs, converts
them to absolute ones.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: exports.makeAbsolute =
function makeAbsolute (url) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var anchorEl =
document.createElement('a');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: anchorEl.href = url;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return anchorEl.href;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: define("cordova/utils",
function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var utils = exports;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Defines a property getter /
setter for obj[key].
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: utils.defineGetterSetter =
function (obj, key, getFunc, opt_setFunc) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (Object.defineProperty)
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var desc = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: get: getFunc,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: configurable: true
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: desc.set =
opt_setFunc;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
Object.defineProperty(obj, key, desc);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
obj.__defineGetter__(key, getFunc);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
obj.__defineSetter__(key, opt_setFunc);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Defines a property getter
for obj[key].
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: utils.defineGetter =
utils.defineGetterSetter;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: utils.arrayIndexOf = function
(a, item) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (a.indexOf) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
a.indexOf(item);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var len = a.length;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < len; +
+i) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (a[i] === item) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return i;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Returns whether the item
was found in the array.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: utils.arrayRemove = function
(a, item) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var index =
utils.arrayIndexOf(a, item);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (index !== -1) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: a.splice(index, 1);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return index !== -1;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: utils.typeName = function
(val) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
Object.prototype.toString.call(val).slice(8, -1);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is an array or not
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: utils.isArray = Array.isArray
||
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function (a) {
return utils.typeName(a) === 'Array'; };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is a Date or not
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: utils.isDate = function (d) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return (d instanceof
Date);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Does a deep clone of the
object.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: utils.clone = function (obj) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (!obj || typeof obj ===
'function' || utils.isDate(obj) || typeof obj !== 'object') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var retVal, i;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (utils.isArray(obj)) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: retVal = [];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (i = 0; i <
obj.length; ++i) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
retVal.push(utils.clone(obj[i]));
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: retVal = {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (i in obj) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if ((!(i in retVal) ||
retVal[i] !== obj[i]) && typeof obj[i] !== 'undefined' && typeof obj[i] !==
'unknown') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: retVal[i] =
utils.clone(obj[i]);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Returns a wrapped version
of the function
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: utils.close = function
(context, func, params) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var args = params ||
arguments;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return
func.apply(context, args);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: function UUIDcreatePart
(length) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var uuidpart = '';
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
length; i++) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var uuidchar =
parseInt((Math.random() * 256), 10).toString(16);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (uuidchar.length
=== 1) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: uuidchar = '0' +
uuidchar;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: uuidpart += uuidchar;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return uuidpart;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Create a UUID
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: utils.createUUID = function ()
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return UUIDcreatePart(4) +
'-' +
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(6);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Extends a child object from
a parent object using classical inheritance
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * pattern.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: utils.extend = (function () {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var F = function () {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: return function (Child,
Parent) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: F.prototype =
Parent.prototype;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: Child.prototype = new
F();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: Child.__super__ =
Parent.prototype;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
Child.prototype.constructor = Child;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }());
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Alerts a message in any
available way: alert or console.log.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: utils.alert = function (msg) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (window.alert) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: window.alert(msg);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else if (console &&
console.log) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: console.log(msg);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: window.cordova =
require('cordova');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: require('cordova/init');
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: })();
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordova.define('cordova/plugin_list', function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports = [
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/vuforia.js",
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.vuforia",
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "vuforia"
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: ]
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/identity_resolution.js",
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.irs",
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "irs"
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: ]
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/intent_navigation_filter.js",
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.inf",
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "inf"
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: ]
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: ];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports.metadata =
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "cordova-plugin-
whitelist": "1.3.3",
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: "cordova-plugin-thingx":
"1.0.0"
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.inf", function(require, exports, module) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl: allowIntent: function
(theURL, successCallback, errorCallback) {
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:33:52.193 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowIntent",
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: allowNavigation: function
(theURL, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowNavigation",
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.vuforia", function(require, exports, module) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: * In case a new method is
created then follow following pattern:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: * function(params,
successCallback, errorCallback)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: * If there is a new
parameter required to be added to existing method then
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: * follow following pattern:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: * function(...args)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: * Note: Check add3DImage
function on how both old and new methods are supported for adding
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: * new param.
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: function resolvePath(names) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var split = names.split("
");
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var result = "";
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var path =
location.pathname;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var lastIndexOfSlash =
path.lastIndexOf('/');
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: path = path.substr(0,
lastIndexOfSlash);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: for (var
i=0;i<split.length;i++) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var name = split[i];
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (lastIndexOfSlash >
-1) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (result.length
> 0) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: result += " ";
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if
(name.startsWith("/")) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: result +=
location.origin + name;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: result +=
location.origin + path + "/" + name;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return result;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: function
resolvePathIfNeeded(path) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return
resolvePath(path);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: function sanitizeURL(path) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (path.indexOf(' ')
>= 0) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return
encodeURI(path);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: function asBoolean(arg) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"boolean") {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"string") {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var larg =
arg.toLowerCase();
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return larg ===
"true";
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"number") {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return arg !== 0;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return !!arg;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: function asString(arg) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"string") {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return "" + arg;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: function asNumber(arg) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"number") {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return Number(arg);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: function
asThreeStateBoolean(arg) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (arg === null || arg
=== undefined) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (arg === "true" || arg
=== true) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return 1;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (arg === "false" || arg
=== false) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return 0;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: return asNumber(arg);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: initializeAR: function
(arMechanism, maxtrackers, extendedtracking, persistmap, near, far,
successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initializeAR",
[asString(arMechanism),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(maxtrackers),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asBoolean(extendedtracking),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asBoolean(persistmap),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(near),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(far)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: setViewProperties:
function(properties, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{ };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if
(properties.dropshadow !== undefined) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties.dropshadow);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties["experimental-dropshadow"]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setViewProperties",
[cordovaParams]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: showARView: function
(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "showARView", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: cleanUpAndPause: function
(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndPause",
[]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: pauseAR: function
(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "pauseAR", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: resumeAR: function
(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resumeAR", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: lockCameraAndOrientation:
function (successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"lockCameraAndOrientation", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
unlockCameraAndOrientation: function (successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"unlockCameraAndOrientation", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: cleanUpAndContinue:
function (successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndContinue",
[]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: resetSpatialTracking:
function (successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetSpatialTracking", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: getTracked: function
(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getTracked", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: loadTrackerDef: function
(markerSet, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var ms = (markerSet
=== undefined) ? [] : markerSet;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadTrackerDef", [ms,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
window.location.href]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: addTracker: function
(nameOrParams, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var options =
nameOrParams;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if
(typeof(nameOrParams) === "string") {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: options = { name:
nameOrParams, trackingHints: { stationary: true } };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: options.name =
asString(options.name);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: options.trackingHints
= (options.trackingHints === undefined) ? {} : options.trackingHints;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
options.trackingHints.stationary = (options.trackingHints.stationary === false) ?
false : true;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addTracker",
[options]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: add3DObject: function
(trackerName, name, vertices, normals, texCoords, indexes, color, texture, parent,
successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DObject",
[asString(trackerName),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
normals,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
texCoords,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: addPVS: function
(trackerName, name, url, cull, parent, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: url =
resolvePathIfNeeded(sanitizeURL(url));
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addPVS",
[asString(trackerName),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(url),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: addLeaderLine: function
(trackerName, name, vertices, color, texture,
nbScreenCoord,pointSize,lineWidth,parent, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var
nbsc=(nbScreenCoord === undefined) ? "0" : nbScreenCoord;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var ps=(pointSize ===
undefined) ? "40" : pointSize;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var lw=(lineWidth ===
undefined) ? "5" : lineWidth;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addLeaderLine",
[asString(trackerName),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(nbsc),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(ps),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(lw),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: append3DObject: function
(name, mode, indexes, color, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "append3DObject",
[asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(mode),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
color
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: addEmitter: function
(trackerName, name, particles, radius, velocity, decay, gravity, spread, size,
mass, rate, wind, blend, color, texture, parent, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addEmitter",
[asString(trackerName),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(particles),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(radius),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(velocity),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(decay),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(gravity),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(spread),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(size),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(mass),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(rate),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
wind,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(blend),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: addGroup: function
(trackerName, name, cull, parent, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addGroup",
[asString(trackerName),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(parent)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: addMarker: function
(trackerName, name, src, size, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addMarker",
[asString(trackerName),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(src),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(size)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: add3DImage: function
(...args) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: let tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, preload, successCallback,
errorCallback;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (typeof args[0] ===
'object') {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: let params;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: [params,
successCallback, errorCallback] = args;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: ({tracker, id,
src, parent, leaderX, leaderY, anchor, width, height, pivot, preload} = params);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: } else if (typeof
args[0] === 'string') {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: preload = true;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: [tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, successCallback,
errorCallback] = args;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: throw new
Error('add3DImage call with invalid args');
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: src =
resolvePathIfNeeded(src);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DImage",
[asString(tracker),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(id),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
src,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
undefined,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(leaderX),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(leaderY),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(anchor),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(width),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(height),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(pivot)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: allowNextGesture:
function(params, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{};
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "allowNextGesture",
[cordovaParams]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: loadViewState:
function(params, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: viewStateID:
asNumber(params.viewStateID)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadViewState",
[cordovaParams]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: loadPVI: function (params,
successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var encodedURL =
sanitizeURL(params.url);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: url:
asString(resolvePathIfNeeded(encodedURL))
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadPVI",
[cordovaParams]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: playStep: function
(params, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playStep",
[cordovaParams]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: gotoStep: function
(params, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: position:
asString(params.position)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "gotoStep",
[cordovaParams]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: setModelURL: function
(params, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var modelURL =
resolvePathIfNeeded(sanitizeURL(params.modelURL));
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: modelURL:
asString(modelURL)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setModelURL",
[cordovaParams]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: setTexture: function
(name, texture, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTexture",
[asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
texture
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: setColor: function (name,
color, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setColor",
[asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
color
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: setVertices: function
(name, vertices, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setVertices",
[asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
vertices
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: insertGroupNode: function
(props, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "insertGroupNode",
[asString(props.name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(props.target)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: removeNode: function
(props, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "removeNode",
[asString(props.name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asBoolean(props.reparent)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: setProperties: function
(name, props, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var opacity
= (props.opacity === undefined) ? -1 : props.opacity;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var hidden
= (props.hidden === undefined) ? -1 : props.hidden;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var occlude
= (props.occlude === undefined) ? false : props.occlude;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var billboard
= (props.billboard === undefined) ? false : props.billboard;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var decal
= (props.decal === undefined) ? false : props.decal;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var shader
= (props.shader === undefined) ? null : props.shader;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var phantom
= (props.phantom === undefined) ? false : props.phantom;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var forceHidden
= (props.forceHidden === undefined) ? false : props.forceHidden;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var
experimentalOneSided = (props.experimentalOneSided === undefined) ? false :
props.experimentalOneSided;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setProperties",
[asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(opacity),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asThreeStateBoolean(hidden),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asBoolean(occlude),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asBoolean(billboard),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asBoolean(decal),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(shader),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asBoolean(phantom),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asBoolean(forceHidden),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asBoolean(experimentalOneSided)]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: getAllPropertyValues:
function (name, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"getAllPropertyValues", [asString(name)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: setTranslation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTranslation",
[asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: setRotation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setRotation",
[asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: setScale: function (name,
ax, ay, az, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 1.0 : ax;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 1.0 : ay;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 1.0 : az;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setScale",
[asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: setGestures: function
(params, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var gestures = {};
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableTranslate !== undefined) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
gestures.enableTranslate = asBoolean(params.gestures.enableTranslate);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableRotate !== undefined) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
gestures.enableRotate = asBoolean(params.gestures.enableRotate);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableScale !== undefined) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
gestures.enableScale = asBoolean(params.gestures.enableScale);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: nodeId:
asString(params.nodeId),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: gestures: gestures
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setGestures",
[cordovaParams]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: resetGestureTransforms:
function (successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetGestureTransforms", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: setupAREventsCommand:
function (successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupAREventsCommand", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
setupTrackingEventsCommand: function (successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupTrackingEventsCommand", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: transform: function (name,
dx, dy, dz, drx, dry, drz, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var x = (dx ===
undefined) ? 0.0 : dx;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var y = (dy ===
undefined) ? 0.0 : dy;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var z = (dz ===
undefined) ? 0.0 : dz;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var rx = (drx ===
undefined) ? 0.0 : drx;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var ry = (dry ===
undefined) ? 0.0 : dry;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var rz = (drz ===
undefined) ? 0.0 : drz;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "transform",
[asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(z),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(rx),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(ry),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(rz)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: resetAll: function
( successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resetAll", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: reset: function (name,
successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "reset",
[asString(name)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: setShader: function (name,
vertex, fragment, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setShader",
[asString(name),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(vertex),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(fragment)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: userPick: function
(params, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "userPick",
[asNumber(params.x),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asNumber(params.y)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: exitSpatialPlacementMode:
function(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"exitSpatialPlacementMode", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: takeScreenshot:
function(params, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: withAugmentation:
asBoolean(params.withAugmentation),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: dataURL:
asBoolean(params.dataURL),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: imgFormat:
asString(params.imgFormat),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: imgWidth:
params.imgWidth,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: imgHeight:
params.imgHeight
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "takeScreenshot",
[cordovaParams]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: startBatch: function
(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startBatch", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: executeBatch: function
(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "executeBatch", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: scanForNextBarCode:
function(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "scanForNextBarCode",
[]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: stopBarCodeScanning:
function(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopBarCodeScanning",
[]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: playSxsl: function(params,
successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playSxsl",
[asString(params.sxsl), window.location.href, params.autoOpenProcedure]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: goBack: function
(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "goBack", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
setupSpeechRecognitionCallback: function (params, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(function(guesses) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if
(successCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
successCallback(Array.isArray(guesses) ? guesses : null);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }, errorCallback,
"Vuforia", "setupSpeechRecognitionCallback", [asBoolean(params.unregister)]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: updateVoiceCommands:
function (params, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "updateVoiceCommands",
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
[asBoolean(params.clearCommands),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
params.commandsToRemove,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
params.commandsToAdd
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: ]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: forceRealWearRescan:
function(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "forceRealWearRescan",
[]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: getCameraImage:
function(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getCameraImage", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: synthesizeSpeech:
function(params, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "synthesizeSpeech",
[asString(params.text),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
asString(params.locale)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: stopSpeaking:
function(successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopSpeaking", []);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: /** Ask the native plugin
to start atom on the added augmentation */
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: initAtom: function(params,
successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: atomName:
asString(params.atomName),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initAtom",
[cordovaParams]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: startAtom:
function(params, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startAtom",
[cordovaParams]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: stopAtom: function(params,
successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopAtom",
[cordovaParams]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: configureAtom:
function(params, successCallback, errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var configureAtom =
(params.objectSet === undefined) ? {} : params.objectSet;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId),
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: configureAtom:
configureAtom
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "configureAtom",
[cordovaParams]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };});
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.irs", function(require, exports, module) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: queryIdentityService:
function (theID, theContentType, useFeedback, notifyNativeCode, successCallback,
errorCallback) {
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
"IdentityService", "queryIdentityService",
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
[theID, theContentType, useFeedback, notifyNativeCode]);
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl:
04-05 14:33:52.194 10638 10638 D CordovaWebViewImpl: window.thingworxview =
{"configuration":
{"nativeSequencer":true,"batchProcessing":true,"trackingHints":true,"setModelURL":t
rue}};},0);)
04-05 14:33:52.206 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:33:52.216 10638 10638 D JsMessageQueue: Set native->JS mode to
EvalBridgeMode
04-05 14:33:52.220 10638 10638 I TGX-JS-Console: "Could not find cordova.js script
tag. Plugin loading may fail.", source: (1)
04-05 14:33:52.226 10638 10638 I TGX-JS-Console: "onDeviceReady() fired.", source:
file:///android_asset/www/ScanningExperience/index.html (43)
04-05 14:33:52.238 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:52.238 10638 10743 I chatty : uid=10403(com.ptc.vuforiaview)
RenderThread identical 2 lines
04-05 14:33:52.238 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:52.272 10638 10971 I App : WARNING: Back Button Default Behavior
will be overridden. The backbutton event will be fired!
04-05 14:33:52.283 10638 10638 I TGX-JS-Console: "[ng-i18next] Can't find i18next
and/or i18next options! Please refer to i18next.", source:
file:///android_asset/www/ScanningExperience/lib/i18next/ng-i18next.js (318)
04-05 14:33:52.293 10638 10638 W TGX-JS-Console: "TML layer asked to emit an event
with no name!", source: file:///android_asset/www/ScanningExperience/tml/vuforia-
angular.js (292)
04-05 14:33:52.301 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:52.301 10638 10743 I chatty : uid=10403(com.ptc.vuforiaview)
RenderThread identical 2 lines
04-05 14:33:52.301 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:52.792 10638 12895 I TGXInitHandler: Vuforia initialization successful.
04-05 14:33:52.795 10638 10638 I native : I0405 14:33:52.794963 10638
session.cc:1206] Entering Session::Resume.
04-05 14:33:52.801 10638 10638 I native : I0405 14:33:52.801300 10638
estimator_impl.cc:735] Resetting motion tracking from user request.
04-05 14:33:52.804 10638 10638 I native : I0405 14:33:52.804882 10638
session.cc:3334] Update Frame Delay to 0 frames.
04-05 14:33:52.805 10638 10638 I native : I0405 14:33:52.804999 10638
android_sensors.cc:212] Starting thread.
04-05 14:33:52.809 10638 10638 I native : I0405 14:33:52.809456 10638
logger.h:28] DataSourceMetrics: kStartImageSubSystem: 3.649615ms
04-05 14:33:52.809 10638 10638 I native : I0405 14:33:52.809594 10638
session.cc:1394] Session::ResumeWithAnalytics returning OK.
04-05 14:33:52.813 10638 11155 E libc : Access denied finding property
"persist.vendor.camera.privapp.list"
04-05 14:33:52.816 10638 12905 D libMEOW : applied 1 plugins for
[com.ptc.vuforiaview]:
04-05 14:33:52.816 10638 12905 D libMEOW : plugin 1: [libMEOW_gift.so]:
04-05 14:33:52.818 10638 12901 I native : I0405 14:33:52.817941 12901
android_sensors.cc:51] Gyro min delay 2.5ms requesting 5ms
04-05 14:33:52.819 10638 12905 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:33:52.819 10638 12905 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:33:52.819 10638 12905 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:33:52.819 10638 12905 I libMEOW_gift: ctx:0xb400007bc1d50f00, ARC not
Enabled.
04-05 14:33:52.819 10638 12905 I native : I0405 14:33:52.819791 12905
session.cc:3334] Update Frame Delay to 0 frames.
04-05 14:33:52.820 10638 12905 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:33:52.820 10638 12905 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:33:52.820 10638 12905 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:33:52.820 10638 12905 I libMEOW_gift: ctx:0xb400007b00766e98, ARC not
Enabled.
04-05 14:33:52.821 10638 10656 E CameraManagerGlobal: Camera 61 is not available.
Ignore physical camera status change
04-05 14:33:52.821 10638 10638 I AR : Starting camera with profile for Redmi
Note 8 Pro, 0
04-05 14:33:52.823 10638 12901 I native : I0405 14:33:52.823102 12901
android_sensors.cc:51] Accel min delay 2.5ms requesting 5ms
04-05 14:33:52.824 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:52.827 10638 10666 W CameraManagerGlobal: ignore the torch status
update of camera: 21
04-05 14:33:52.828 10638 10666 W CameraManagerGlobal: ignore the torch status
update of camera: 22
04-05 14:33:52.828 10638 10666 W CameraManagerGlobal: ignore the torch status
update of camera: 61
04-05 14:33:52.843 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:52.848 10638 10638 I TGX : TGXTrackerDataLoadHandler: Vuforia::
Tracker loading succeeded
04-05 14:33:52.848 10638 10638 E AR : Failed to reset world tracking
04-05 14:33:52.877 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:52.910 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:52.919 10638 11003 I BufferQueueProducer: [ImageReader-
1920x1080f22u256m16-10638-0](id:298e00000000,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=true
04-05 14:33:52.920 10638 11003 I BufferQueueProducer: [ImageReader-640x480f23m16-
10638-0](id:298e00000001,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=false
04-05 14:33:52.921 10638 11003 I BufferQueueProducer: [ImageReader-1920x1080f23m16-
10638-1](id:298e00000002,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=false
04-05 14:33:52.942 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:52.975 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:53.008 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:53.041 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:53.074 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:53.107 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:53.139 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:53.172 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:53.195 10638 11117 I native : I0405 14:33:53.195475 11117
logger.h:28] DataSourceMetrics: kFirstGlCallback: 389.669231ms
04-05 14:33:53.205 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:53.238 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:53.244 10638 11230 I native : I0405 14:33:53.244236 11230
timebase_helpers.cc:169] Timebase offset intialized to 0
04-05 14:33:53.244 10638 11230 I native : I0405 14:33:53.244298 11230
logger.h:28] DataSourceMetrics: kFirstImageCallback: 438.49477ms
04-05 14:33:53.247 10638 12903 I native : I0405 14:33:53.247384 12903
performance_monitor.cc:115] Event: FeatureExtraction is taking too long, it took
812.608ms
04-05 14:33:53.248 10638 11057 W native : W0405 14:33:53.248969 11057
vio_initializer.cc:498] Dropped initialization window due to skip in data.
04-05 14:33:53.249 10638 11054 E native : E0405 14:33:53.249132 11054
epipolar_self_consistency_metrics.cc:164] Failed to create pose node for current
timestamp 492347920100233
04-05 14:33:53.249 10638 11059 I native : I0405 14:33:53.249204 11059
data_manager.cc:157] Mapping backend detected fault.
04-05 14:33:53.249 10638 11059 I native : I0405 14:33:53.249238 11059
data_manager.cc:159] Saving current map to map buffer.
04-05 14:33:53.249 10638 11059 I native : I0405 14:33:53.249254 11059
data_manager.cc:165] Generated map # 1, ID 1f46191b-af85-298e-8b47-68cdf8efa0c1,
non-marginalized keyframes 63, landmarks 86
04-05 14:33:53.256 10638 12905 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:53.291 10638 12905 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:53.327 10638 12905 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:53.365 10638 12905 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:53.404 10638 12905 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:53.429 10638 12905 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:53.465 10638 12905 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:53.499 10638 12905 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:53.639 10638 13011 I TGXIdentityRequestTask: TGXIdentityRequestTask
starting on thread 91352 (ScanningExperienceListLoader-2) for
http://192.168.1.32:2019/ExperienceService/id-resolution/resolutions?
key=urn:vuforia:vumark:1:4&resourcetype=Experience&wNdp=392 ...
04-05 14:33:53.639 10638 13011 I TGXIdentityRequestTask: TGXIdentityRequestTask
full request URL:
http://192.168.1.32:2019/ExperienceService/id-resolution/resolutions?
key=urn:vuforia:vumark:1:4&resourcetype=Experience&wNdp=392&aspect=spatial-tracking
04-05 14:33:53.652 10638 13012 I System.out: [okhttp]:check permission begin!
04-05 14:33:53.652 10638 13012 I System.out: [okhttp]:not MMS!
04-05 14:33:53.652 10638 13012 I System.out: [okhttp]:not Email!
04-05 14:33:53.652 10638 13012 I System.out: [OkHttp] sendRequest>>
04-05 14:33:53.652 10638 13012 I System.out: [OkHttp] sendRequest<<
04-05 14:33:53.700 10638 13011 D AudioTrack: start(3216): 0xb400007bdd544200, prior
state:STATE_STOPPED
04-05 14:33:53.720 10638 13011 I TGXIdentityRequestTask: TGXIdentityRequestTask
complete.
04-05 14:33:53.784 10638 10652 I ptc.vuforiavie: Background concurrent copying GC
freed 30152(2957KB) AllocSpace objects, 9(5652KB) LOS objects, 49% free,
10211KB/19MB, paused 173us total 147.529ms
04-05 14:33:53.787 10638 13020 I System.out: [okhttp]:check permission begin!
04-05 14:33:53.787 10638 13020 I System.out: [okhttp]:not MMS!
04-05 14:33:53.787 10638 13020 I System.out: [okhttp]:not Email!
04-05 14:33:53.789 10638 13020 I System.out: [OkHttp] sendRequest>>
04-05 14:33:53.789 10638 13020 I System.out: [OkHttp] sendRequest<<
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: Event is valid
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: Message that has been sent to
https://usageservice.prod.vuforia.com/v3/metric or stored if offline: {
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "application": {
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "name": "Vuforia View",
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "version": "9.3.2.2749"
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: },
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "custom": {
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "applicationLaunchUUID":
"36cf2f46-af33-4ca8-af00-4d15c76b758f",
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "experience": {
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "public": true
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: },
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "navigateOrigin":
"thingmark"
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: },
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "device": {
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "id": "65ecdd80-e96d-45e3-
8dec-98d6f18bf35f",
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "model": "Xiaomi Redmi Note
8 Pro",
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "version": "1.0.0"
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: },
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "event": {
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "result": "success",
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "timestamp": "2022-04-
05T11:33:53Z",
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "type":
"startViewingExperience",
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "version": "1.0.0"
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: },
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "os": {
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "locale": "ru-RU",
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "name": "Android",
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "version": "30"
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: },
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "service": {
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "host":
"9f51319760faae1e51d4d5f983321f061c369099cac1fee8b9135379bd60ce86"
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: },
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "subject": {
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: "id":
"98d3259f0ef8b8d82ad9b778111a1540a40f9325e34ff5f89bc990cc3e8e2ddb"
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: }
04-05 14:33:53.829 10638 10638 D AnalyticsSDK: }
04-05 14:33:53.967 10638 11057 I native : I0405 14:33:53.967733 11057
bundle_adjustment_initializer.cc:274] Intrinsic vector size of the camera 0 is 7
04-05 14:33:54.064 10638 10946 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:33:54.066 10638 10638 D JsMessageQueue: Set native->JS mode to null
04-05 14:33:54.066 10638 10638 D CordovaWebViewImpl:
onPageDidNavigate(http://192.168.1.32:2019/ExperienceService/content/projects/
synchro_serv_ipad/index.html?expId=1&vumark=1:4)
04-05 14:33:54.075 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:33:54.086 10638 11057 I native : I0405 14:33:54.086414 11057
bundle_adjustment_initializer.cc:481] [SSBA Solver] Initializer did not converge:
Maximum number of iterations reached. Number of iterations: 18.
04-05 14:33:54.093 10638 11057 I native : I0405 14:33:54.092980 11057
bundle_adjustment_initialization.h:143] Number of measurements used in BA
initialization for temporal landmarks: 470
04-05 14:33:54.093 10638 11057 I native : I0405 14:33:54.093106 11057
bundle_adjustment_initialization.h:145] Number of good measurements (i.e.,
reprojection errors <= 3 pixels) in BA initialization for temporal landmarks: 469
04-05 14:33:54.098 10638 10652 I ptc.vuforiavie: NativeAlloc concurrent copying GC
freed 18603(1943KB) AllocSpace objects, 5(4824KB) LOS objects, 49% free, 15MB/31MB,
paused 136us total 199.716ms
04-05 14:33:54.130 10638 12905 E native : E0405 14:33:54.130904 12905
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:54.131 10638 13027 I native : I0405 14:33:54.131059 13027
session.cc:1624] Entering Session::Pause.
04-05 14:33:54.132 10638 13027 I native : I0405 14:33:54.131927 13027
plane_manager.cc:927] PopulatePlaneEstimationStatistics
number_of_normal_segmentations: 0, number_of_plane_normal_segment_matches: 0,
vertical_planes_boundary_area: 0, vertical_planes_ml_boundary_growth: 0,
number_of_vertical_planes: 0, number_of_vertical_planes_with_ml_boundary_growth: 0,
avg_duration_in_seconds: 0, tof_merge_quality_stats_.Empty(): true,
tof_merge_quality_stats_.hist_area_overlap_ratio_: [0.750, 0.760): 0.000000,
[0.760, 0.770): 0.000000, [0.770, 0.780): 0.000000, [0.780, 0.790): 0.000000,
[0.790, 0.800): 0.000000, [0.800, 0.810): 0.000000, [0.810, 0.820): 0.000000,
[0.820, 0.830): 0.000000, [0.830, 0.840): 0.000000, [0.840, 0.850): 0.000000,
[0.850, 0.860): 0.000000, [0.860, 0.870): 0.000000, [0.870, 0.880): 0.000000,
[0.880, 0.890): 0.000000, [0.890, 0.900): 0.000000, [0.900, 0.910): 0.000000,
[0.910, 0.920): 0.000000, [0.920, 0.930): 0.000000, [0.930, 0.940): 0.000000,
[0.940, 0.950): 0.000000, [0.950, 0.960): 0.000000, [0.960, 0.970): 0.000000,
[0.970, 0.980): 0.000000, [0.980, 0.990): 0.000000, [0.990, 1.000): 0.000000,
[1.000, inf): 0.000000, , tof_merge_quality_stats_.hist_feature_overlap_ratio_:
[0.900, 0.905): 0.000000, [0.905, 0.910): 0.000000, [0.910, 0.915): 0.000000,
[0.915, 0.920): 0.000000, [0.920, 0.925): 0.000000, [0.925, 0.930): 0.000000,
[0.930, 0.935): 0.000000, [0.935, 0.940): 0.000000, [0.940, 0.945): 0.000000,
[0.945, 0.950): 0.000000, [0.950, 0.955): 0.000000, [0.955, 0.960): 0.000000,
[0.960, 0.965): 0.000000, [0.965, 0.970): 0.000000, [0.970, 0.975): 0.000000,
[0.975, 0.980): 0.000000, [0.980, 0.985): 0.000000, [0.985, 0.990): 0.000000,
[0.990, 0.995): 0.000000, [0.995, 1.000): 0.000000, [1.000, inf): 0.000000, ,
tof_merge_quality_stats_.hist_normal_closeness_: [0.900, 0.905): 0.000000, [0.905,
0.910): 0.000000, [0.910, 0.915): 0.000000, [0.915, 0.920): 0.000000, [0.920,
0.925): 0.000000, [0.925, 0.930): 0.000000, [0.930, 0.935): 0.000000, [0.935,
0.940): 0.000000, [0.940, 0.945): 0.000000, [0.945, 0.950): 0.000000, [0.950,
0.955): 0.000000, [0.955, 0.960): 0.000000, [0.960, 0.965): 0.000000, [0.965,
0.970): 0.000000, [0.970, 0.975): 0.000000, [0.975, 0.980): 0.000000, [0.980,
0.985): 0.000000, [0.985, 0.990): 0.000000, [0.990, 0.995): 0.000000, [0.995,
1.000): 0.000000, [1.000, inf): 0.000000, ,
tof_merge_quality_stats_.hist_plane_distance_: [0.000, 0.010): 0.000000, [0.010,
0.020): 0.000000, [0.020, 0.030): 0.000000, [0.030, 0.040): 0.000000, [0.040,
0.050): 0.000000, [0.050, 0.060): 0.000000, [0.060, 0.070): 0.000000, [0.070,
0.080): 0.000000, [0.080, 0.090): 0.000000, [0.090, 0.100): 0.000000, [0.100,
0.110): 0.000000, [0.110, 0.120): 0.000000, [0.120, 0.130): 0.000000, [0.130,
0.140): 0.000000, [0.140, 0.150): 0.000000, [0.150, 0.160): 0.000000, [0.160,
0.170): 0.000000, [0.170, 0.180): 0.000000, [0.180, 0.190): 0.000000, [0.190,
0.200): 0.000000, [0.200, 0.210): 0.000000, [0.210, 0.220): 0.000000, [0.220,
0.230): 0.000000, [0.230, 0.240): 0.000000, [0.240, 0.250): 0.000000, [0.250,
0.260): 0.000000, [0.260, 0.270): 0.000000, [0.270, 0.280): 0.000000, [0.280,
0.290): 0.000000, [0.290, 0.300): 0.000000, [0.300, 0.310): 0.000000, [0.310,
0.320): 0.000000, [0.320, 0.330): 0.000000, [0.330, 0.340): 0.000000, [0.340,
0.350): 0.000000, [0.350, 0.360): 0.000000, [0.360, 0.370): 0.000000, [0.370,
0.380): 0.000000, [0.380, 0.390): 0.000000, [0.390, 0.400): 0.000000, [0.400,
0.410): 0.000000, [0.410, 0.420): 0.000000, [0.420, 0.430): 0.000000, [0.430,
0.440): 0.000000, [0.440, 0.450): 0.000000, [0.450, 0.460): 0.000000, [0.460,
0.470): 0.000000, [0.470, 0.480): 0.000000, [0.480, 0.490): 0.000000, [0.490,
0.500): 0.000000, [0.500, inf): 0.000000, , ms_merge_quality_stats_.Empty(): true,
ms_merge_quality_stats_.hist_area_overlap_ratio_: [0.750, 0.760): 0.000000, [0.760,
0.770): 0.000000, [0.770, 0.780): 0.000000, [0.780, 0.790): 0.000000, [0.790,
0.800): 0.000000, [0.800, 0.810): 0.000000, [0.810, 0.820): 0.000000, [0.820,
0.830): 0.000000, [0.830, 0.840): 0.000000, [0.840, 0.850): 0.0
04-05 14:33:54.132 10638 13027 I native :
04-05 14:33:54.132 10638 13027 E native : E0405 14:33:54.132577 13027
session.cc:1678] INTERNAL: Could not delete online calibration file.
04-05 14:33:54.132 10638 13027 E native : === Source Location Trace: ===
04-05 14:33:54.132 10638 13027 E native :
third_party/arcore/ar/calibration/online_calibration_manager/online_calibration_man
ager.cc:156
04-05 14:33:54.132 10638 13027 E native :
04-05 14:33:54.150 10638 11062 E native : E0405 14:33:54.149975 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:33:54.150 10638 11062 E native : === Source Location Trace: ===
04-05 14:33:54.150 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:33:54.150 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:33:54.150 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:33:54.150 10638 11062 E native :
04-05 14:33:54.192 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:33:54.239 10638 10931 D AudioTrack: stop(3216): 0xb400007bdd544200, prior
state:STATE_ACTIVE
04-05 14:33:54.239 10638 10931 D AudioTrack: stop(sessionID=18849)
04-05 14:33:54.239 10638 10931 D AudioTrack: stop(3216): called with 19456 frames
delivered
04-05 14:33:54.239 10638 10931 D AudioTrack: stop(3216): 0xb400007bdd544200 stop
done
04-05 14:33:54.280 10638 11103 W CameraManagerGlobal: ignore the torch status
update of camera: 21
04-05 14:33:54.281 10638 11103 W CameraManagerGlobal: ignore the torch status
update of camera: 22
04-05 14:33:54.281 10638 11103 W CameraManagerGlobal: ignore the torch status
update of camera: 61
04-05 14:33:54.281 10638 10999 I BufferQueueProducer: [ImageReader-
1920x1080f22u256m16-10638-0](id:298e00000000,api:4,p:858,c:10638) disconnect():
api=4
04-05 14:33:54.285 10638 10999 I BufferQueueProducer: [ImageReader-640x480f23m16-
10638-0](id:298e00000001,api:4,p:858,c:10638) disconnect(): api=4
04-05 14:33:54.288 10638 10999 I BufferQueueProducer: [ImageReader-1920x1080f23m16-
10638-1](id:298e00000002,api:4,p:858,c:10638) disconnect(): api=4
04-05 14:33:54.293 10638 10666 E CameraManagerGlobal: Camera 61 is not available.
Ignore physical camera status change
04-05 14:33:54.297 10638 13027 I native : I0405 14:33:54.297789 13027
logger.h:28] DataSourceMetrics: kStopImageSubSystem: 154.199692ms
04-05 14:33:54.302 10638 13027 D libMEOW : applied 1 plugins for
[com.ptc.vuforiaview]:
04-05 14:33:54.302 10638 13027 D libMEOW : plugin 1: [libMEOW_gift.so]:
04-05 14:33:54.302 10638 13027 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:54.438 10638 13027 E native : E0405 14:33:54.438125 13027
scheduler.cc:278] generic::internal: RET_CHECK failure
(third_party/mediapipe/framework/scheduler.cc:278) state_ != STATE_NOT_STARTED (0
vs. 0)
04-05 14:33:54.438 10638 13027 E native : Stack trace:
04-05 14:33:54.438 10638 13027 E native :
04-05 14:33:54.438 10638 13027 E native : E0405 14:33:54.438288 13027
normal_detector_cpu.cc:231] Error graph_->WaitUntilIdle():INTERNAL: RET_CHECK
failure (third_party/mediapipe/framework/scheduler.cc:278) state_ !=
STATE_NOT_STARTED (0 vs. 0)
04-05 14:33:54.438 10638 13027 E native : === Source Location Trace: ===
04-05 14:33:54.438 10638 13027 E native :
third_party/mediapipe/framework/scheduler.cc:278
04-05 14:33:54.438 10638 13027 E native :
third_party/mediapipe/framework/calculator_graph.cc:805
04-05 14:33:54.438 10638 13027 E native :
04-05 14:33:54.438 10638 13027 I native : I0405 14:33:54.438323 13027
session.cc:1732] Session::PauseWithAnalytics returning OK.
04-05 14:33:54.448 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:214 |acquireState
] Vuforia:: Engine is not running
04-05 14:33:54.449 10638 13027 I TGX_C++ : [ ObserverManager.cpp:135 |
resetObservers ] Vuforia:: resetObservers() finished
04-05 14:33:54.453 10638 11038 I System.out: [okhttp]:check permission begin!
04-05 14:33:54.453 10638 11038 I System.out: [okhttp]:not MMS!
04-05 14:33:54.453 10638 11038 I System.out: [okhttp]:not Email!
04-05 14:33:54.455 10638 11038 I System.out: [OkHttp] sendRequest<<
04-05 14:33:54.461 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:33:54.518 10638 10638 D CordovaWebViewImpl:
onPageFinished(http://192.168.1.32:2019/ExperienceService/content/projects/
synchro_serv_ipad/index.html?expId=1&vumark=1:4)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: >>>
loadUrl(javascript:setTimeout(function(){
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: Licensed to the Apache
Software Foundation (ASF) under one
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: or more contributor license
agreements. See the NOTICE file
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: distributed with this work
for additional information
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: regarding copyright
ownership. The ASF licenses this file
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: to you under the Apache
License, Version 2.0 (the
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "License"); you may not use
this file except in compliance
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: with the License. You may
obtain a copy of the License at
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: http:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: Unless required by applicable
law or agreed to in writing,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: software distributed under
the License is distributed on an
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: KIND, either express or
implied. See the License for the
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: specific language governing
permissions and limitations
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: under the License.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: ;(function() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var
PLATFORM_VERSION_BUILD_LABEL = '8.0.0';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var require;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var define;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: (function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var modules = {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var requireStack = [];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var inProgressModules =
{};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var SEPARATOR = '.';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function build (module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var factory =
module.factory;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var localRequire =
function (id) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var resultantId =
id;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (id.charAt(0)
=== '.') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: resultantId =
module.id.slice(0, module.id.lastIndexOf(SEPARATOR)) + SEPARATOR + id.slice(2);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
require(resultantId);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports = {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: delete module.factory;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: factory(localRequire,
module.exports, module);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return module.exports;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: require = function (id) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!modules[id]) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' not found';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (id in
inProgressModules) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cycle =
requireStack.slice(inProgressModules[id]).join('->') + '->' + id;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: throw 'Cycle in
require graph: ' + cycle;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(modules[id].factory) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
inProgressModules[id] = requireStack.length;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
requireStack.push(id);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
build(modules[id]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: delete
inProgressModules[id];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
requireStack.pop();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
modules[id].exports;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define = function (id,
factory) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (modules[id]) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' already defined';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: modules[id] = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: id: id,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: factory: factory
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define.remove = function
(id) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: delete modules[id];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define.moduleMap =
modules;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: })();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof module === 'object'
&& typeof require === 'function') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports.require =
require;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports.define =
define;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define("cordova",
function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (window.cordova && !
(window.cordova instanceof HTMLElement)) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: throw new Error('cordova
already defined');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Intercept calls to
addEventListener + removeEventListener and handle deviceready,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * resume, and pause events.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var
m_document_addEventListener = document.addEventListener;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var
m_document_removeEventListener = document.removeEventListener;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var m_window_addEventListener
= window.addEventListener;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var
m_window_removeEventListener = window.removeEventListener;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Houses custom event
handlers to intercept on document + window event listeners.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var documentEventHandlers =
{};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var windowEventHandlers = {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: document.addEventListener =
function (evt, handler, capture) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].subscribe(handler);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
m_document_addEventListener.call(document, evt, handler, capture);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: window.addEventListener =
function (evt, handler, capture) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].subscribe(handler);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
m_window_addEventListener.call(window, evt, handler, capture);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: document.removeEventListener =
function (evt, handler, capture) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].unsubscribe(handler);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
m_document_removeEventListener.call(document, evt, handler, capture);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: window.removeEventListener =
function (evt, handler, capture) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].unsubscribe(handler);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
m_window_removeEventListener.call(window, evt, handler, capture);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function createEvent (type,
data) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var event =
document.createEvent('Events');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: event.initEvent(type,
false, false);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (data) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i in data) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(data.hasOwnProperty(i)) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: event[i] =
data[i];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return event;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-undef */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordova = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define: define,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: require: require,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: version:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: platformVersion:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: platformId: platform.id,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-undef
*/
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Methods to add/remove
your own addEventListener hijacking on document + window.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: addWindowEventHandler:
function (event) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
(windowEventHandlers[event] = channel.create(event));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
addStickyDocumentEventHandler: function (event) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.createSticky(event));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: addDocumentEventHandler:
function (event) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.create(event));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: removeWindowEventHandler:
function (event) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: delete
windowEventHandlers[event];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
removeDocumentEventHandler: function (event) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: delete
documentEventHandlers[event];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Retrieve original event
handlers that were replaced by Cordova
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @return object
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: getOriginalHandlers:
function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return {'document':
{'addEventListener': m_document_addEventListener, 'removeEventListener':
m_document_removeEventListener},
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: 'window':
{'addEventListener': m_window_addEventListener, 'removeEventListener':
m_window_removeEventListener}};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Method to fire event
from native code
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * bNoDetach is required
for events which cause an exception which needs to be caught in native code
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: fireDocumentEvent:
function (type, data, bNoDetach) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[type] !== 'undefined') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (bNoDetach) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (type
=== 'deviceready') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: fireWindowEvent: function
(type, data) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[type] !== 'undefined') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[type].fire(evt);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
window.dispatchEvent(evt);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Plugin callback
mechanism.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: callbackId:
Math.floor(Math.random() * 2000000000),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: callbacks: {},
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: callbackStatus: {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: NO_RESULT: 0,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: OK: 1,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
CLASS_NOT_FOUND_EXCEPTION: 2,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
ILLEGAL_ACCESS_EXCEPTION: 3,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
INSTANTIATION_EXCEPTION: 4,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
MALFORMED_URL_EXCEPTION: 5,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: IO_EXCEPTION: 6,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: INVALID_ACTION: 7,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: JSON_EXCEPTION: 8,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: ERROR: 9
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning successful result from an action.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: callbackSuccess: function
(callbackId, args) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, true, args.status, [args.message],
args.keepCallback);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning error result from an action.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: callbackError: function
(callbackId, args) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, false, args.status, [args.message],
args.keepCallback);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning the result from an action.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: callbackFromNative:
function (callbackId, isSuccess, status, args, keepCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var callback =
cordova.callbacks[callbackId];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (callback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (isSuccess
&& status === cordova.callbackStatus.OK) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
callback.success && callback.success.apply(null, args);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (!
isSuccess) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
callback.fail && callback.fail.apply(null, args);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: else
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: Note, this
case is intentionally not caught.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this can
happen if isSuccess is true, but callbackStatus is NO_RESULT
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: which is
used to remove a callback from the list without calling the callbacks
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: typically
keepCallback is false in this case
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!
keepCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: delete
cordova.callbacks[callbackId];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } catch (err) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var msg = 'Error
in ' + (isSuccess ? 'Success' : 'Error') + ' callbackId: ' + callbackId + ' : ' +
err;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: console &&
console.log && console.log(msg);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: console &&
console.log && err.stack && console.log(err.stack);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent('cordovacallbackerror', { 'message': msg });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: throw err;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: addConstructor: function
(func) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: func();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
console.log('Failed to run constructor: ' + e);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports = cordova;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
define("cordova/android/nativeapiprovider", function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Exports the
ExposedJsApi.java object if available, otherwise exports the PromptBasedNativeApi.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var nativeApi =
this._cordovaNative || require('cordova/android/promptbasednativeapi');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var currentApi = nativeApi;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: get: function() { return
currentApi; },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setPreferPrompt:
function(value) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: currentApi = value ?
require('cordova/android/promptbasednativeapi') : nativeApi;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: set: function(value) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: currentApi = value;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
define("cordova/android/promptbasednativeapi", function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Implements the API of
ExposedJsApi.java, but uses prompt() to communicate.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * This is used pre-JellyBean,
where addJavascriptInterface() is disabled.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exec:
function(bridgeSecret, service, action, callbackId, argsJson) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
prompt(argsJson, 'gap:'+JSON.stringify([bridgeSecret, service, action,
callbackId]));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setNativeToJsBridgeMode:
function(bridgeSecret, value) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: prompt(value,
'gap_bridge_mode:' + bridgeSecret);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: retrieveJsMessages:
function(bridgeSecret, fromOnlineEvent) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
prompt(+fromOnlineEvent, 'gap_poll:' + bridgeSecret);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define("cordova/argscheck",
function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var moduleExports =
module.exports;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var typeMap = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: 'A': 'Array',
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: 'D': 'Date',
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: 'N': 'Number',
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: 'S': 'String',
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: 'F': 'Function',
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: 'O': 'Object'
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function extractParamName
(callee, argIndex) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return (/.*?\
((.*?)\)/).exec(callee)[1].split(', ')[argIndex];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function checkArgs (spec,
functionName, args, opt_callee) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!
moduleExports.enableChecks) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var errMsg = null;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var typeName;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
spec.length; ++i) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var c =
spec.charAt(i);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cUpper =
c.toUpperCase();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var arg = args[i];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (c === '*') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: typeName =
utils.typeName(arg);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if ((arg === null ||
arg === undefined) && c === cUpper) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeName !==
typeMap[cUpper]) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: errMsg = 'Expected
' + typeMap[cUpper];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (errMsg) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: errMsg += ', but got '
+ typeName + '.';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: errMsg = 'Wrong type
for parameter "' + extractParamName(opt_callee || args.callee, i) + '" of ' +
functionName + ': ' + errMsg;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof jasmine ===
'undefined') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
console.error(errMsg);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: throw
TypeError(errMsg);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function getValue (value,
defaultValue) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return value === undefined
? defaultValue : value;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: moduleExports.checkArgs =
checkArgs;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: moduleExports.getValue =
getValue;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: moduleExports.enableChecks =
true;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define("cordova/base64",
function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var base64 = exports;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: base64.fromArrayBuffer =
function (arrayBuffer) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
uint8ToBase64(array);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: base64.toArrayBuffer =
function (str) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var decodedStr = typeof
atob !== 'undefined' ? atob(str) : Buffer.from(str, 'base64').toString('binary');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var arrayBuffer = new
ArrayBuffer(decodedStr.length);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
decodedStr.length; i < len; i++) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: array[i] =
decodedStr.charCodeAt(i);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return arrayBuffer;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /* This code is based on the
performance tests at http:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * This 12-bit-at-a-time
algorithm was the best performing version on all
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * platforms tested.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var b64_6bit =
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var b64_12bit;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var b64_12bitTable = function
() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: b64_12bit = [];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < 64; i+
+) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
64; j++) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: b64_12bit[i * 64 +
j] = b64_6bit[i] + b64_6bit[j];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: b64_12bitTable = function
() { return b64_12bit; };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return b64_12bit;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function uint8ToBase64
(rawData) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var numBytes =
rawData.byteLength;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var output = '';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var segment;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var table =
b64_12bitTable();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
numBytes - 2; i += 3) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8) + rawData[i + 2];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: output +=
table[segment & 0xfff];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (numBytes - i === 2) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: output +=
b64_6bit[(segment & 0xfff) >> 6];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: output += '=';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (numBytes - i
=== 1) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: output += '==';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return output;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define("cordova/builder",
function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function each (objects, func,
context) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var prop in objects)
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(objects.hasOwnProperty(prop)) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
func.apply(context, [objects[prop], prop]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function clobber (obj, key,
value) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
exports.replaceHookForTesting(obj, key);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var needsProperty = false;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: obj[key] = value;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: needsProperty = true;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (needsProperty ||
obj[key] !== value) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function
assignOrWrapInDeprecateGetter (obj, key, value, message) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (message) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
console.log(message);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: delete obj[key];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function include (parent,
objects, clobber, merge) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: each(objects, function
(obj, key) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var result =
obj.path ? require(obj.path) : {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (clobber) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if
(typeof obj.path !== 'undefined') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (merge)
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
recursiveMerge(parent[key], result);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (obj.children)
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
include(result, obj.children, clobber, merge);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
utils.alert('Exception building Cordova JS globals: ' + e + ' for key "' + key +
'"');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Merge properties from one
object onto another recursively. Properties from
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * the src object will
overwrite existing target property.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param target Object to
merge properties into.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param src Object to merge
properties from.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function recursiveMerge
(target, src) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var prop in src) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(src.hasOwnProperty(prop)) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(target.prototype && target.prototype.constructor === target) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
clobber(target.prototype, prop, src[prop]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof
src[prop] === 'object' && typeof target[prop] === 'object') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
recursiveMerge(target[prop], src[prop]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
clobber(target, prop, src[prop]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
exports.buildIntoButDoNotClobber = function (objects, target) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: include(target, objects,
false, false);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndClobber =
function (objects, target) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, false);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndMerge =
function (objects, target) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, true);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.recursiveMerge =
recursiveMerge;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
exports.assignOrWrapInDeprecateGetter = assignOrWrapInDeprecateGetter;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.replaceHookForTesting
= function () {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define("cordova/channel",
function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var nextGuid = 1;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Custom pub-sub "channel"
that can have functions subscribed to it
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * This object is used to
define and control firing of events for
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * cordova initialization, as
well as for custom events thereafter.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * The order of events during
page load and Cordova startup is as follows:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * onDOMContentLoaded*
Internal event that is received when the web page is loaded and parsed.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * onNativeReady*
Internal event that indicates the Cordova native side is ready.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * onCordovaReady*
Internal event fired when all Cordova JavaScript objects have been created.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * onDeviceReady*
User event fired to indicate that Cordova is ready
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * onResume
User event fired to indicate a start/resume lifecycle event
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * onPause
User event fired to indicate a pause lifecycle event
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * The events marked with an *
are sticky. Once they have fired, they will stay in the fired state.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * All listeners that
subscribe after the event is fired will be executed right away.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * The only Cordova events
that user code should register for are:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * deviceready
Cordova native code is initialized and Cordova APIs can be called from JavaScript
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * pause
App has moved to background
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * resume
App has returned to foreground
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Listeners can be registered
as:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("deviceready", myDeviceReadyListener, false);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("resume", myResumeListener, false);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("pause", myPauseListener, false);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * The DOM lifecycle events
should be used for saving and restoring state
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * window.onload
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * window.onunload
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Channel
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @constructor
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param type String the
channel name
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var Channel = function (type,
sticky) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this.type = type;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this.handlers = {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this.state = sticky ? 1 :
0;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this.fireArgs = null;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this.numHandlers = 0;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange = null;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var channel = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Calls the provided
function only after all of the channels specified
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * have been fired. All
channels must be sticky channels.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: join: function (h, c) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var len = c.length;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var i = len;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var f = function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!(--i)) h();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
len; j++) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (c[j].state ===
0) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: throw
Error('Can only use join with sticky channels.');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: c[j].subscribe(f);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!len) h();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-
return-assign */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: create: function (type) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, false);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: createSticky: function
(type) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, true);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-
return-assign */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * cordova Channels that
must fire before "deviceready" is fired.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsArray:
[],
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsMap:
{},
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Indicate that a feature
needs to be initialized before it is ready to be used.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * This holds up Cordova's
"deviceready" event until the feature has been initialized
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * and
Cordova.initComplete(feature) is called.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: waitForInitialization:
function (feature) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (feature) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var c =
channel[feature] || this.createSticky(feature);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsMap[feature] = c;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsArray.push(c);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Indicate that
initialization code has completed and the feature is ready to be used.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: initializationComplete:
function (feature) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var c =
this.deviceReadyChannelsMap[feature];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (c) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: c.fire();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function
checkSubscriptionArgument (argument) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof argument !==
'function' && typeof argument.handleEvent !== 'function') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: throw new Error(
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: 'Must provide a
function or an EventListener object ' +
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: 'implementing
the handleEvent interface.'
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: );
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Subscribes the given
function to the channel. Any time that
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Channel.fire is called so
too will the function.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Optionally specify an
execution context for the function
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * and a guid that can be used
to stop subscribing to the channel.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Returns the guid.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: Channel.prototype.subscribe =
function (eventListenerOrFunction, eventListener) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var handleEvent, guid;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: eventListener =
eventListenerOrFunction;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (this.state === 2) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
handleEvent.apply(eventListener || this, this.fireArgs);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: guid =
eventListenerOrFunction.observer_guid;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof eventListener
=== 'object') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: handleEvent =
utils.close(eventListener, handleEvent);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!guid) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: guid = '' + nextGuid+
+;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: handleEvent.observer_guid
= guid;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
eventListenerOrFunction.observer_guid = guid;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!this.handlers[guid])
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this.handlers[guid] =
handleEvent;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this.numHandlers++;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 1) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Unsubscribes the function
with the given guid from the channel.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: Channel.prototype.unsubscribe
= function (eventListenerOrFunction) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var handleEvent, guid,
handler;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: guid =
handleEvent.observer_guid;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: handler =
this.handlers[guid];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (handler) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: delete
this.handlers[guid];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this.numHandlers--;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 0) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Calls all functions
subscribed to this channel.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: Channel.prototype.fire =
function (e) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var fail = false;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var fireArgs =
Array.prototype.slice.call(arguments);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (this.state === 1) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this.state = 2;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this.fireArgs =
fireArgs;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (this.numHandlers) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var toCall = [];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var item in
this.handlers) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
toCall.push(this.handlers[item]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
toCall.length; ++i) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
toCall[i].apply(this, fireArgs);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (this.state === 2
&& this.numHandlers) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this.numHandlers =
0;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this.handlers =
{};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDOMContentLoaded');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onNativeReady');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onCordovaReady');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onPluginsReady');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDeviceReady');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: channel.create('onResume');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: channel.create('onPause');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onCordovaReady');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onDOMContentLoaded');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports = channel;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define("cordova/exec",
function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Execute a cordova command.
It is up to the native side whether this action
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * is synchronous or
asynchronous. The native side can return:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Synchronous:
PluginResult object as a JSON string
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Asynchronous: Empty
string ""
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * If async, the native side
will cordova.callbackSuccess or cordova.callbackError,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * depending upon the result
of the action.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param {Function} success
The success callback
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param {Function} fail
The fail callback
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param {String} service
The name of the service to use
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param {String} action
Action to be run in cordova
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param {String[]} [args]
Zero or more arguments to pass to the method
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova'),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: nativeApiProvider =
require('cordova/android/nativeapiprovider'),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: utils =
require('cordova/utils'),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: base64 =
require('cordova/base64'),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: channel =
require('cordova/channel'),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: jsToNativeModes = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: PROMPT: 0,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: JS_OBJECT: 1
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: nativeToJsModes = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: POLLING: 0,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: LOAD_URL: 1,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: ONLINE_EVENT: 2,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: EVAL_BRIDGE: 3
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
nativeToJsModes.EVAL_BRIDGE,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: pollEnabled = false,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: bridgeSecret = -1;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var messagesFromNative = [];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var isProcessing = false;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var resolvedPromise = typeof
Promise == 'undefined' ? null : Promise.resolve();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var nextTick = resolvedPromise
? function(fn) { resolvedPromise.then(fn); } : function(fn) { setTimeout(fn); };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function androidExec(success,
fail, service, action, args) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: throw new
Error('exec() called without bridgeSecret');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
=== undefined) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: args = args || [];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
args.length; i++) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(utils.typeName(args[i]) == 'ArrayBuffer') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: args[i] =
base64.fromArrayBuffer(args[i]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var callbackId = service +
cordova.callbackId++,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: argsJson =
JSON.stringify(args);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (success || fail) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordova.callbacks[callbackId] = {success:success, fail:fail};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().exec(bridgeSecret, service, action, callbackId, argsJson);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
== jsToNativeModes.JS_OBJECT && msgs === "@Null arguments.") {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.PROMPT);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: androidExec(success,
fail, service, action, args);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (msgs) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: androidExec.init = function()
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: bridgeSecret = +prompt('',
'gap_init:' + nativeToJsBridgeMode);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function
pollOnceFromOnlineEvent() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: pollOnce(true);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function
pollOnce(opt_fromOnlineEvent) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().retrieveJsMessages(bridgeSecret, !!opt_fromOnlineEvent);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (msgs) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: processMessages();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function pollingTimerFunc() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (pollEnabled) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: pollOnce();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 50);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function hookOnlineApis() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function proxyEvent(e) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent(e.type);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
window.addEventListener('online', pollOnceFromOnlineEvent, false);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
window.addEventListener('offline', pollOnceFromOnlineEvent, false);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('online');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('offline');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
document.addEventListener('online', proxyEvent, false);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
document.addEventListener('offline', proxyEvent, false);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: hookOnlineApis();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: androidExec.jsToNativeModes =
jsToNativeModes;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: androidExec.nativeToJsModes =
nativeToJsModes;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode = function(mode) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (mode ==
jsToNativeModes.JS_OBJECT && !window._cordovaNative) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: mode =
jsToNativeModes.PROMPT;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.setPreferPrompt(mode == jsToNativeModes.PROMPT);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode =
mode;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
androidExec.setNativeToJsBridgeMode = function(mode) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsBridgeMode) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (nativeToJsBridgeMode
== nativeToJsModes.POLLING) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: pollEnabled = false;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
mode;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (bridgeSecret >= 0) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.get().setNativeToJsBridgeMode(bridgeSecret, mode);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsModes.POLLING) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: pollEnabled = true;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 1);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function buildPayload(payload,
message) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var payloadKind =
message.charAt(0);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (payloadKind == 's') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
payload.push(message.slice(1));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
't') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: payload.push(true);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'f') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: payload.push(false);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'N') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: payload.push(null);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'n') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
payload.push(+message.slice(1));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'A') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var data =
message.slice(1);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
payload.push(base64.toArrayBuffer(data));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'S') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
payload.push(window.atob(message.slice(1)));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'M') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var multipartMessages
= message.slice(1);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: while
(multipartMessages !== "") {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var spaceIdx =
multipartMessages.indexOf(' ');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var msgLen =
+multipartMessages.slice(0, spaceIdx);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var
multipartMessage = multipartMessages.substr(spaceIdx + 1, msgLen);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: multipartMessages
= multipartMessages.slice(spaceIdx + msgLen + 1);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
buildPayload(payload, multipartMessage);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
payload.push(JSON.parse(message));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function
processMessage(message) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var firstChar =
message.charAt(0);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (firstChar == 'J') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
eval(message.slice(1));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (firstChar ==
'S' || firstChar == 'F') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var success =
firstChar == 'S';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var keepCallback =
message.charAt(1) == '1';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var spaceIdx =
message.indexOf(' ', 2);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var status =
+message.slice(2, spaceIdx);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var nextSpaceIdx =
message.indexOf(' ', spaceIdx + 1);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var callbackId =
message.slice(spaceIdx + 1, nextSpaceIdx);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var payloadMessage =
message.slice(nextSpaceIdx + 1);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var payload = [];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: buildPayload(payload,
payloadMessage);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, success, status, payload, keepCallback);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
console.log("processMessage failed: invalid message: " + JSON.stringify(message));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function processMessages() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (isProcessing) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length === 0) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: isProcessing = true;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var msg =
popMessageFromQueue();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (msg == '*' &&
messagesFromNative.length === 0) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
nextTick(pollOnce);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: processMessage(msg);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: isProcessing = false;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length > 0) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function popMessageFromQueue()
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var messageBatch =
messagesFromNative.shift();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (messageBatch == '*') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return '*';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var spaceIdx =
messageBatch.indexOf(' ');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var msgLen =
+messageBatch.slice(0, spaceIdx);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var message =
messageBatch.substr(spaceIdx + 1, msgLen);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: messageBatch =
messageBatch.slice(spaceIdx + msgLen + 1);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (messageBatch) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
messagesFromNative.unshift(messageBatch);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return message;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports = androidExec;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define("cordova/exec/proxy",
function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var CommandProxyMap = {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: add: function (id,
proxyObj) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: console.log('adding
proxy for ' + id);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
proxyObj;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return proxyObj;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: remove: function (id) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var proxy =
CommandProxyMap[id];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: delete
CommandProxyMap[id];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
null;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return proxy;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: get: function (service,
action) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
(CommandProxyMap[service] ? CommandProxyMap[service][action] : null);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define("cordova/init",
function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var pluginloader =
require('cordova/pluginloader');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var platformInitChannelsArray
= [channel.onNativeReady, channel.onPluginsReady];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function logUnfiredChannels
(arr) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
arr.length; ++i) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (arr[i].state !==
2) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
console.log('Channel not fired: ' + arr[i].type);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: window.setTimeout(function ()
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(channel.onDeviceReady.state !== 2) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
console.log('deviceready has not fired after 5 seconds.');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(platformInitChannelsArray);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(channel.deviceReadyChannelsArray);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }, 5000);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function replaceNavigator
(origNavigator) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var CordovaNavigator =
function () {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: CordovaNavigator.prototype
= origNavigator;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var newNavigator = new
CordovaNavigator();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (CordovaNavigator.bind)
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var key in
origNavigator) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof
origNavigator[key] === 'function') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
newNavigator[key] = origNavigator[key].bind(origNavigator);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: (function (k)
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
utils.defineGetterSetter(newNavigator, key, function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
origNavigator[k];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: })(key);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return newNavigator;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (window.navigator) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: window.navigator =
replaceNavigator(window.navigator);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!window.console) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: window.console = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: log: function () {}
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!window.console.warn) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: window.console.warn =
function (msg) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: this.log('warn: ' +
msg);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: channel.onPause =
cordova.addDocumentEventHandler('pause');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: channel.onResume =
cordova.addDocumentEventHandler('resume');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: channel.onActivated =
cordova.addDocumentEventHandler('activated');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: channel.onDeviceReady =
cordova.addStickyDocumentEventHandler('deviceready');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (document.readyState ===
'complete' || document.readyState === 'interactive') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
document.addEventListener('DOMContentLoaded', function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }, false);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (window._nativeReady) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova', 'cordova');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'cordova.exec');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'Cordova.exec');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: platform.bootstrap &&
platform.bootstrap();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setTimeout(function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: pluginloader.load(function
() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.onPluginsReady.fire();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Create all cordova objects
once native side is ready.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
modulemapper.mapModules(window);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: platform.initialize &&
platform.initialize();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.fire();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
require('cordova').fireDocumentEvent('deviceready');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
channel.deviceReadyChannelsArray);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }, platformInitChannelsArray);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define("cordova/modulemapper",
function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var builder =
require('cordova/builder');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var moduleMap =
define.moduleMap;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var symbolList;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var deprecationMap;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.reset = function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: symbolList = [];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: deprecationMap = {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function addEntry (strategy,
moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!(moduleName in
moduleMap)) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: throw new
Error('Module ' + moduleName + ' does not exist.');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: symbolList.push(strategy,
moduleName, symbolPath);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(opt_deprecationMessage) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
deprecationMap[symbolPath] = opt_deprecationMessage;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.clobbers = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: addEntry('c', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.merges = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: addEntry('m', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.defaults = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: addEntry('d', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.runs = function
(moduleName) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: addEntry('r', moduleName,
null);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function prepareNamespace
(symbolPath, context) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!symbolPath) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return context;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cur = context;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0, part; part
= parts[i]; ++i) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cur = cur[part] =
cur[part] || {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return cur;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.mapModules = function
(context) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var origSymbols = {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: context.CDV_origSymbols =
origSymbols;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
symbolList.length; i < len; i += 3) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var strategy =
symbolList[i];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var moduleName =
symbolList[i + 1];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var module =
require(moduleName);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (strategy === 'r')
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var symbolPath =
symbolList[i + 2];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var lastDot =
symbolPath.lastIndexOf('.');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var namespace =
symbolPath.substr(0, lastDot);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var lastName =
symbolPath.substr(lastDot + 1);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var deprecationMsg =
symbolPath in deprecationMap ? 'Access made to deprecated symbol: ' + symbolPath +
'. ' + deprecationMsg : null;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var parentObj =
prepareNamespace(namespace, context);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var target =
parentObj[lastName];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (strategy === 'm'
&& target) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
builder.recursiveMerge(target, module);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if ((strategy
=== 'd' && !target) || (strategy !== 'd')) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!(symbolPath
in origSymbols)) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
origSymbols[symbolPath] = target;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
builder.assignOrWrapInDeprecateGetter(parentObj, lastName, module, deprecationMsg);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.getOriginalSymbol =
function (context, symbolPath) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var origSymbols =
context.CDV_origSymbols;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (origSymbols &&
(symbolPath in origSymbols)) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
origSymbols[symbolPath];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var obj = context;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
parts.length; ++i) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: obj = obj &&
obj[parts[i]];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.reset();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define("cordova/platform",
function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var lastResumeEvent = null;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: id: 'android',
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: bootstrap: function() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel'),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cordova =
require('cordova'),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exec =
require('cordova/exec'),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: modulemapper =
require('cordova/modulemapper');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exec.init();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/plugin/android/app', 'navigator.app');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(cordova.platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' : 'App';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var backButtonChannel
= cordova.addDocumentEventHandler('backbutton');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
backButtonChannel.onHasSubscribersChange = function() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [this.numHandlers == 1]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('menubutton');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('searchbutton');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function
bindButtonChannel(buttonName) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var
volumeButtonChannel = cordova.addDocumentEventHandler(buttonName + 'button');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
volumeButtonChannel.onHasSubscribersChange = function() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exec(null,
null, APP_PLUGIN_NAME, "overrideButton", [buttonName, this.numHandlers == 1]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumeup');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumedown');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var
cordovaAddEventListener = document.addEventListener;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
document.addEventListener = function(evt, handler, capture) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaAddEventListener(evt, handler, capture);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (evt ===
'resume' && lastResumeEvent) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
handler(lastResumeEvent);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
exec(onMessageFromNative, null, APP_PLUGIN_NAME, 'messageChannel', []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "show", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function
onMessageFromNative(msg) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var action = msg.action;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: switch (action)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: case 'backbutton':
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: case 'menubutton':
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: case 'searchbutton':
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: case 'pause':
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: case
'volumedownbutton':
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: case 'volumeupbutton':
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: case 'resume':
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
if(arguments.length > 1 && msg.pendingResult) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
if(arguments.length === 2) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = arguments[1];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var res =
[];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for(var i
= 1; i < arguments.length; i++) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
res.push(arguments[i]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = res;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
lastResumeEvent = msg;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action, msg);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: default:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: throw new
Error('Unknown event action ' + action);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
define("cordova/plugin/android/app", function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var exec =
require('cordova/exec');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(require('cordova').platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' :
'App';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Clear the resource
cache.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: clearCache:function() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearCache", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Load the url into the
webview or into new browser instance.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param url The
URL to load
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param props
Properties that can be passed in to the activity:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * wait: int
=> wait msec before loading URL
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * loadingDialog:
"Title,Message" => display a native loading dialog
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
loadUrlTimeoutValue: int => time in msec to wait before triggering a
timeout error
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * clearHistory:
boolean => clear webview history (default=false)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * openExternal:
boolean => open in a new browser (default=false)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Example:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
navigator.app.loadUrl("http:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: loadUrl:function(url,
props) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "loadUrl", [url, props]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Cancel loadUrl that is
waiting to be loaded.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cancelLoadUrl:function() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "cancelLoadUrl", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Clear web history in
this web view.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Instead of BACK button
loading the previous web page, it will exit the app.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: clearHistory:function() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearHistory", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Go to previous page
displayed.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * This is the same as
pressing the backbutton on Android device.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: backHistory:function() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "backHistory", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android back button.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * If overridden, when the
back button is pressed, the "backKeyDown" JavaScript event will be fired.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * registers for the
"backbutton" event, this is automatically done.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
overrideBackbutton:function(override) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [override]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android volume button.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * If overridden, when the
volume button is pressed, the "volume[up|down]button"
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * JavaScript event will be
fired.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * registers for the
"volume[up|down]button" event, this is automatically done.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param button
volumeup, volumedown
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
overrideButton:function(button, override) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideButton", [button, override]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Exit and terminate the
application.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exitApp:function() {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return exec(null,
null, APP_PLUGIN_NAME, "exitApp", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define("cordova/pluginloader",
function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.injectScript =
function (url, onload, onerror) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var script =
document.createElement('script');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: script.onload = onload;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: script.onerror = onerror;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: script.src = url;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
document.head.appendChild(script);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function injectIfNecessary
(id, url, onload, onerror) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: onerror = onerror ||
onload;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
exports.injectScript(url, function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: onerror();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }, onerror);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function
onScriptLoadingComplete (moduleList, finishPluginLoading) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0, module;
module = moduleList[i]; i++) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (module.clobbers &&
module.clobbers.length) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var j = 0; j
< module.clobbers.length; j++) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers(module.id, module.clobbers[j]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (module.merges &&
module.merges.length) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var k = 0; k
< module.merges.length; k++) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
modulemapper.merges(module.id, module.merges[k]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (module.runs) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
modulemapper.runs(module.id);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function handlePluginsObject
(path, moduleList, finishPluginLoading) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var scriptCounter =
moduleList.length;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!scriptCounter) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function
scriptLoadedCallback () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!--scriptCounter)
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
onScriptLoadingComplete(moduleList, finishPluginLoading);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
moduleList.length; i++) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
injectIfNecessary(moduleList[i].id, path + moduleList[i].file,
scriptLoadedCallback);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function findCordovaPath () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var path = null;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var scripts =
document.getElementsByTagName('script');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var term = '/cordova.js';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var n =
scripts.length - 1; n > -1; n--) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var src =
scripts[n].src.replace(/\?.*$/, '');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (src.indexOf(term)
=== (src.length - term.length)) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: path =
src.substring(0, src.length - term.length) + '/';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.load = function
(callback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var pathPrefix =
findCordovaPath();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (pathPrefix === null) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: console.log('Could not
find cordova.js script tag. Plugin loading may fail.');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: pathPrefix = '';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
injectIfNecessary('cordova/plugin_list', pathPrefix + 'cordova_plugins.js',
function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var moduleList =
require('cordova/plugin_list');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
handlePluginsObject(pathPrefix, moduleList, callback);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }, callback);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define("cordova/urlutil",
function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * For already absolute URLs,
returns what is passed in.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * For relative URLs, converts
them to absolute ones.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exports.makeAbsolute =
function makeAbsolute (url) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var anchorEl =
document.createElement('a');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: anchorEl.href = url;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return anchorEl.href;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: define("cordova/utils",
function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var utils = exports;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Defines a property getter /
setter for obj[key].
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: utils.defineGetterSetter =
function (obj, key, getFunc, opt_setFunc) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (Object.defineProperty)
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var desc = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: get: getFunc,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: configurable: true
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: desc.set =
opt_setFunc;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
Object.defineProperty(obj, key, desc);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
obj.__defineGetter__(key, getFunc);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
obj.__defineSetter__(key, opt_setFunc);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Defines a property getter
for obj[key].
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: utils.defineGetter =
utils.defineGetterSetter;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: utils.arrayIndexOf = function
(a, item) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (a.indexOf) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
a.indexOf(item);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var len = a.length;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < len; +
+i) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (a[i] === item) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return i;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Returns whether the item
was found in the array.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: utils.arrayRemove = function
(a, item) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var index =
utils.arrayIndexOf(a, item);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (index !== -1) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: a.splice(index, 1);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return index !== -1;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: utils.typeName = function
(val) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
Object.prototype.toString.call(val).slice(8, -1);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is an array or not
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: utils.isArray = Array.isArray
||
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function (a) {
return utils.typeName(a) === 'Array'; };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is a Date or not
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: utils.isDate = function (d) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return (d instanceof
Date);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Does a deep clone of the
object.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: utils.clone = function (obj) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (!obj || typeof obj ===
'function' || utils.isDate(obj) || typeof obj !== 'object') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var retVal, i;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (utils.isArray(obj)) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: retVal = [];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (i = 0; i <
obj.length; ++i) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
retVal.push(utils.clone(obj[i]));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: retVal = {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (i in obj) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if ((!(i in retVal) ||
retVal[i] !== obj[i]) && typeof obj[i] !== 'undefined' && typeof obj[i] !==
'unknown') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: retVal[i] =
utils.clone(obj[i]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Returns a wrapped version
of the function
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: utils.close = function
(context, func, params) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var args = params ||
arguments;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
func.apply(context, args);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function UUIDcreatePart
(length) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var uuidpart = '';
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
length; i++) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var uuidchar =
parseInt((Math.random() * 256), 10).toString(16);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (uuidchar.length
=== 1) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: uuidchar = '0' +
uuidchar;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: uuidpart += uuidchar;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return uuidpart;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Create a UUID
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: utils.createUUID = function ()
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return UUIDcreatePart(4) +
'-' +
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(6);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Extends a child object from
a parent object using classical inheritance
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * pattern.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: utils.extend = (function () {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var F = function () {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return function (Child,
Parent) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: F.prototype =
Parent.prototype;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: Child.prototype = new
F();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: Child.__super__ =
Parent.prototype;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
Child.prototype.constructor = Child;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }());
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Alerts a message in any
available way: alert or console.log.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: utils.alert = function (msg) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (window.alert) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: window.alert(msg);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (console &&
console.log) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: console.log(msg);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: window.cordova =
require('cordova');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: require('cordova/init');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: })();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordova.define('cordova/plugin_list', function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports = [
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/vuforia.js",
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.vuforia",
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "vuforia"
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: ]
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/identity_resolution.js",
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.irs",
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "irs"
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: ]
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/intent_navigation_filter.js",
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.inf",
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "inf"
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: ]
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: ];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports.metadata =
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "cordova-plugin-
whitelist": "1.3.3",
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: "cordova-plugin-thingx":
"1.0.0"
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.inf", function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: allowIntent: function
(theURL, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowIntent",
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: allowNavigation: function
(theURL, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowNavigation",
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.vuforia", function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * In case a new method is
created then follow following pattern:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * function(params,
successCallback, errorCallback)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * If there is a new
parameter required to be added to existing method then
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * follow following pattern:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * function(...args)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Note: Check add3DImage
function on how both old and new methods are supported for adding
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * new param.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function resolvePath(names) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var split = names.split("
");
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var result = "";
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var path =
location.pathname;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var lastIndexOfSlash =
path.lastIndexOf('/');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: path = path.substr(0,
lastIndexOfSlash);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: for (var
i=0;i<split.length;i++) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var name = split[i];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (lastIndexOfSlash >
-1) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (result.length
> 0) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: result += " ";
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(name.startsWith("/")) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: result +=
location.origin + name;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: result +=
location.origin + path + "/" + name;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return result;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function
resolvePathIfNeeded(path) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
resolvePath(path);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function sanitizeURL(path) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (path.indexOf(' ')
>= 0) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return
encodeURI(path);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function asBoolean(arg) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"boolean") {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"string") {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var larg =
arg.toLowerCase();
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return larg ===
"true";
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"number") {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return arg !== 0;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return !!arg;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function asString(arg) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"string") {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return "" + arg;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function asNumber(arg) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"number") {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return Number(arg);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: function
asThreeStateBoolean(arg) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (arg === null || arg
=== undefined) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (arg === "true" || arg
=== true) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return 1;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (arg === "false" || arg
=== false) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return 0;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: return asNumber(arg);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: initializeAR: function
(arMechanism, maxtrackers, extendedtracking, persistmap, near, far,
successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initializeAR",
[asString(arMechanism),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(maxtrackers),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asBoolean(extendedtracking),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asBoolean(persistmap),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(near),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(far)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setViewProperties:
function(properties, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{ };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(properties.dropshadow !== undefined) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties.dropshadow);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties["experimental-dropshadow"]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setViewProperties",
[cordovaParams]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: showARView: function
(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "showARView", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cleanUpAndPause: function
(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndPause",
[]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: pauseAR: function
(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "pauseAR", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: resumeAR: function
(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resumeAR", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: lockCameraAndOrientation:
function (successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"lockCameraAndOrientation", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
unlockCameraAndOrientation: function (successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"unlockCameraAndOrientation", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cleanUpAndContinue:
function (successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndContinue",
[]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: resetSpatialTracking:
function (successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetSpatialTracking", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: getTracked: function
(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getTracked", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: loadTrackerDef: function
(markerSet, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var ms = (markerSet
=== undefined) ? [] : markerSet;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadTrackerDef", [ms,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
window.location.href]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: addTracker: function
(nameOrParams, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var options =
nameOrParams;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(typeof(nameOrParams) === "string") {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: options = { name:
nameOrParams, trackingHints: { stationary: true } };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: options.name =
asString(options.name);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: options.trackingHints
= (options.trackingHints === undefined) ? {} : options.trackingHints;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
options.trackingHints.stationary = (options.trackingHints.stationary === false) ?
false : true;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addTracker",
[options]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: add3DObject: function
(trackerName, name, vertices, normals, texCoords, indexes, color, texture, parent,
successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DObject",
[asString(trackerName),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
normals,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
texCoords,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: addPVS: function
(trackerName, name, url, cull, parent, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: url =
resolvePathIfNeeded(sanitizeURL(url));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addPVS",
[asString(trackerName),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(url),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: addLeaderLine: function
(trackerName, name, vertices, color, texture,
nbScreenCoord,pointSize,lineWidth,parent, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var
nbsc=(nbScreenCoord === undefined) ? "0" : nbScreenCoord;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var ps=(pointSize ===
undefined) ? "40" : pointSize;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var lw=(lineWidth ===
undefined) ? "5" : lineWidth;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addLeaderLine",
[asString(trackerName),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(nbsc),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(ps),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(lw),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: append3DObject: function
(name, mode, indexes, color, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "append3DObject",
[asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(mode),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
color
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: addEmitter: function
(trackerName, name, particles, radius, velocity, decay, gravity, spread, size,
mass, rate, wind, blend, color, texture, parent, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addEmitter",
[asString(trackerName),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(particles),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(radius),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(velocity),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(decay),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(gravity),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(spread),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(size),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(mass),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(rate),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
wind,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(blend),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: addGroup: function
(trackerName, name, cull, parent, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addGroup",
[asString(trackerName),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(parent)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: addMarker: function
(trackerName, name, src, size, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addMarker",
[asString(trackerName),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(src),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(size)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: add3DImage: function
(...args) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: let tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, preload, successCallback,
errorCallback;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (typeof args[0] ===
'object') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: let params;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: [params,
successCallback, errorCallback] = args;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: ({tracker, id,
src, parent, leaderX, leaderY, anchor, width, height, pivot, preload} = params);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else if (typeof
args[0] === 'string') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: preload = true;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: [tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, successCallback,
errorCallback] = args;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: throw new
Error('add3DImage call with invalid args');
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: src =
resolvePathIfNeeded(src);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DImage",
[asString(tracker),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(id),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
src,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
undefined,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(leaderX),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(leaderY),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(anchor),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(width),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(height),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(pivot)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: allowNextGesture:
function(params, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "allowNextGesture",
[cordovaParams]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: loadViewState:
function(params, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: viewStateID:
asNumber(params.viewStateID)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadViewState",
[cordovaParams]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: loadPVI: function (params,
successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var encodedURL =
sanitizeURL(params.url);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: url:
asString(resolvePathIfNeeded(encodedURL))
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadPVI",
[cordovaParams]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: playStep: function
(params, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playStep",
[cordovaParams]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: gotoStep: function
(params, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: position:
asString(params.position)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "gotoStep",
[cordovaParams]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setModelURL: function
(params, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var modelURL =
resolvePathIfNeeded(sanitizeURL(params.modelURL));
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: modelURL:
asString(modelURL)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setModelURL",
[cordovaParams]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setTexture: function
(name, texture, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTexture",
[asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
texture
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setColor: function (name,
color, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setColor",
[asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
color
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setVertices: function
(name, vertices, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setVertices",
[asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
vertices
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: insertGroupNode: function
(props, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "insertGroupNode",
[asString(props.name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(props.target)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: removeNode: function
(props, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "removeNode",
[asString(props.name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asBoolean(props.reparent)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setProperties: function
(name, props, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var opacity
= (props.opacity === undefined) ? -1 : props.opacity;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var hidden
= (props.hidden === undefined) ? -1 : props.hidden;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var occlude
= (props.occlude === undefined) ? false : props.occlude;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var billboard
= (props.billboard === undefined) ? false : props.billboard;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var decal
= (props.decal === undefined) ? false : props.decal;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var shader
= (props.shader === undefined) ? null : props.shader;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var phantom
= (props.phantom === undefined) ? false : props.phantom;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var forceHidden
= (props.forceHidden === undefined) ? false : props.forceHidden;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var
experimentalOneSided = (props.experimentalOneSided === undefined) ? false :
props.experimentalOneSided;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setProperties",
[asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(opacity),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asThreeStateBoolean(hidden),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asBoolean(occlude),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asBoolean(billboard),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asBoolean(decal),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(shader),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asBoolean(phantom),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asBoolean(forceHidden),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asBoolean(experimentalOneSided)]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: getAllPropertyValues:
function (name, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"getAllPropertyValues", [asString(name)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setTranslation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTranslation",
[asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setRotation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setRotation",
[asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setScale: function (name,
ax, ay, az, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 1.0 : ax;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 1.0 : ay;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 1.0 : az;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setScale",
[asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setGestures: function
(params, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var gestures = {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableTranslate !== undefined) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
gestures.enableTranslate = asBoolean(params.gestures.enableTranslate);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableRotate !== undefined) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
gestures.enableRotate = asBoolean(params.gestures.enableRotate);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableScale !== undefined) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
gestures.enableScale = asBoolean(params.gestures.enableScale);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: nodeId:
asString(params.nodeId),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: gestures: gestures
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setGestures",
[cordovaParams]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: resetGestureTransforms:
function (successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetGestureTransforms", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setupAREventsCommand:
function (successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupAREventsCommand", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
setupTrackingEventsCommand: function (successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupTrackingEventsCommand", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: transform: function (name,
dx, dy, dz, drx, dry, drz, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var x = (dx ===
undefined) ? 0.0 : dx;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var y = (dy ===
undefined) ? 0.0 : dy;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var z = (dz ===
undefined) ? 0.0 : dz;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var rx = (drx ===
undefined) ? 0.0 : drx;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var ry = (dry ===
undefined) ? 0.0 : dry;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var rz = (drz ===
undefined) ? 0.0 : drz;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "transform",
[asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(z),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(rx),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(ry),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(rz)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: resetAll: function
( successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resetAll", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: reset: function (name,
successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "reset",
[asString(name)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: setShader: function (name,
vertex, fragment, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setShader",
[asString(name),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(vertex),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(fragment)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: userPick: function
(params, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "userPick",
[asNumber(params.x),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asNumber(params.y)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: exitSpatialPlacementMode:
function(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"exitSpatialPlacementMode", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: takeScreenshot:
function(params, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: withAugmentation:
asBoolean(params.withAugmentation),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: dataURL:
asBoolean(params.dataURL),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: imgFormat:
asString(params.imgFormat),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: imgWidth:
params.imgWidth,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: imgHeight:
params.imgHeight
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "takeScreenshot",
[cordovaParams]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: startBatch: function
(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startBatch", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: executeBatch: function
(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "executeBatch", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: scanForNextBarCode:
function(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "scanForNextBarCode",
[]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: stopBarCodeScanning:
function(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopBarCodeScanning",
[]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: playSxsl: function(params,
successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playSxsl",
[asString(params.sxsl), window.location.href, params.autoOpenProcedure]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: goBack: function
(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "goBack", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
setupSpeechRecognitionCallback: function (params, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(function(guesses) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if
(successCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
successCallback(Array.isArray(guesses) ? guesses : null);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }, errorCallback,
"Vuforia", "setupSpeechRecognitionCallback", [asBoolean(params.unregister)]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: updateVoiceCommands:
function (params, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "updateVoiceCommands",
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
[asBoolean(params.clearCommands),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
params.commandsToRemove,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
params.commandsToAdd
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: ]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: forceRealWearRescan:
function(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "forceRealWearRescan",
[]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: getCameraImage:
function(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getCameraImage", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: synthesizeSpeech:
function(params, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "synthesizeSpeech",
[asString(params.text),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
asString(params.locale)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: stopSpeaking:
function(successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopSpeaking", []);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /** Ask the native plugin
to start atom on the added augmentation */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: initAtom: function(params,
successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: atomName:
asString(params.atomName),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initAtom",
[cordovaParams]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: startAtom:
function(params, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startAtom",
[cordovaParams]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: stopAtom: function(params,
successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopAtom",
[cordovaParams]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: configureAtom:
function(params, successCallback, errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var configureAtom =
(params.objectSet === undefined) ? {} : params.objectSet;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId),
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: configureAtom:
configureAtom
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "configureAtom",
[cordovaParams]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };});
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.irs", function(require, exports, module) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: queryIdentityService:
function (theID, theContentType, useFeedback, notifyNativeCode, successCallback,
errorCallback) {
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
"IdentityService", "queryIdentityService",
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
[theID, theContentType, useFeedback, notifyNativeCode]);
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.520 10638 10638 D CordovaWebViewImpl: window.thingworxview =
{"configuration":
{"nativeSequencer":true,"batchProcessing":true,"trackingHints":true,"setModelURL":t
rue}};},0);)
04-05 14:33:54.526 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:214 |acquireState
] Vuforia:: Engine is not running
04-05 14:33:54.526 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:246 |
prepareToRender ] Vuforia:: Error getting state in prepare to
render
04-05 14:33:54.542 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:33:54.546 10638 13027 D JsMessageQueue: Dropping Native->JS message due to
disabled bridge
04-05 14:33:54.547 10638 10970 E TGX_C++ : [ CameraPreviewWatcherJavaBridge.cpp:73
|callGrayscaleCallback ] CameraScanner:: Image buffer is invalid
04-05 14:33:54.569 10638 10638 D JsMessageQueue: Set native->JS mode to
EvalBridgeMode
04-05 14:33:54.578 10638 10638 I TGX-JS-Console: "Could not find cordova.js script
tag. Plugin loading may fail.", source: (1)
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: >>>
loadUrl(javascript:setTimeout(function(){
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: Licensed to the Apache
Software Foundation (ASF) under one
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: or more contributor license
agreements. See the NOTICE file
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: distributed with this work
for additional information
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: regarding copyright
ownership. The ASF licenses this file
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: to you under the Apache
License, Version 2.0 (the
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: "License"); you may not use
this file except in compliance
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: with the License. You may
obtain a copy of the License at
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: http:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: Unless required by applicable
law or agreed to in writing,
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: software distributed under
the License is distributed on an
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: KIND, either express or
implied. See the License for the
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: specific language governing
permissions and limitations
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: under the License.
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: ;(function() {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var
PLATFORM_VERSION_BUILD_LABEL = '8.0.0';
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var require;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var define;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: (function () {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var modules = {};
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var requireStack = [];
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var inProgressModules =
{};
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var SEPARATOR = '.';
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: function build (module) {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var factory =
module.factory;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var localRequire =
function (id) {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var resultantId =
id;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: if (id.charAt(0)
=== '.') {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: resultantId =
module.id.slice(0, module.id.lastIndexOf(SEPARATOR)) + SEPARATOR + id.slice(2);
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: return
require(resultantId);
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: module.exports = {};
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: delete module.factory;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: factory(localRequire,
module.exports, module);
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: return module.exports;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: require = function (id) {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: if (!modules[id]) {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' not found';
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: } else if (id in
inProgressModules) {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var cycle =
requireStack.slice(inProgressModules[id]).join('->') + '->' + id;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: throw 'Cycle in
require graph: ' + cycle;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: if
(modules[id].factory) {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
inProgressModules[id] = requireStack.length;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
requireStack.push(id);
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: return
build(modules[id]);
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: delete
inProgressModules[id];
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
requireStack.pop();
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: return
modules[id].exports;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: define = function (id,
factory) {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: if (modules[id]) {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' already defined';
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: modules[id] = {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: id: id,
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: factory: factory
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: define.remove = function
(id) {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: delete modules[id];
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: define.moduleMap =
modules;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: })();
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: if (typeof module === 'object'
&& typeof require === 'function') {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: module.exports.require =
require;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: module.exports.define =
define;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: define("cordova",
function(require, exports, module) {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: if (window.cordova && !
(window.cordova instanceof HTMLElement)) {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: throw new Error('cordova
already defined');
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: * Intercept calls to
addEventListener + removeEventListener and handle deviceready,
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: * resume, and pause events.
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var
m_document_addEventListener = document.addEventListener;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var
m_document_removeEventListener = document.removeEventListener;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var m_window_addEventListener
= window.addEventListener;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var
m_window_removeEventListener = window.removeEventListener;
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: * Houses custom event
handlers to intercept on document + window event listeners.
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var documentEventHandlers =
{};
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var windowEventHandlers = {};
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: document.addEventListener =
function (evt, handler, capture) {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].subscribe(handler);
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
m_document_addEventListener.call(document, evt, handler, capture);
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: window.addEventListener =
function (evt, handler, capture) {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].subscribe(handler);
04-05 14:33:54.735 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
m_window_addEventListener.call(window, evt, handler, capture);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: document.removeEventListener =
function (evt, handler, capture) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].unsubscribe(handler);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
m_document_removeEventListener.call(document, evt, handler, capture);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: window.removeEventListener =
function (evt, handler, capture) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].unsubscribe(handler);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
m_window_removeEventListener.call(window, evt, handler, capture);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function createEvent (type,
data) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var event =
document.createEvent('Events');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: event.initEvent(type,
false, false);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (data) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i in data) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if
(data.hasOwnProperty(i)) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: event[i] =
data[i];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return event;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-undef */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var cordova = {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: define: define,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: require: require,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: version:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: platformVersion:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: platformId: platform.id,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-undef
*/
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Methods to add/remove
your own addEventListener hijacking on document + window.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: addWindowEventHandler:
function (event) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return
(windowEventHandlers[event] = channel.create(event));
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
addStickyDocumentEventHandler: function (event) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.createSticky(event));
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: addDocumentEventHandler:
function (event) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.create(event));
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: removeWindowEventHandler:
function (event) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: delete
windowEventHandlers[event];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
removeDocumentEventHandler: function (event) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: delete
documentEventHandlers[event];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Retrieve original event
handlers that were replaced by Cordova
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @return object
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: getOriginalHandlers:
function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return {'document':
{'addEventListener': m_document_addEventListener, 'removeEventListener':
m_document_removeEventListener},
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: 'window':
{'addEventListener': m_window_addEventListener, 'removeEventListener':
m_window_removeEventListener}};
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Method to fire event
from native code
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * bNoDetach is required
for events which cause an exception which needs to be caught in native code
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: fireDocumentEvent:
function (type, data, bNoDetach) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[type] !== 'undefined') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (bNoDetach) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (type
=== 'deviceready') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: fireWindowEvent: function
(type, data) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[type] !== 'undefined') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[type].fire(evt);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
window.dispatchEvent(evt);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Plugin callback
mechanism.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: callbackId:
Math.floor(Math.random() * 2000000000),
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: callbacks: {},
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: callbackStatus: {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: NO_RESULT: 0,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: OK: 1,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
CLASS_NOT_FOUND_EXCEPTION: 2,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
ILLEGAL_ACCESS_EXCEPTION: 3,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
INSTANTIATION_EXCEPTION: 4,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
MALFORMED_URL_EXCEPTION: 5,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: IO_EXCEPTION: 6,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: INVALID_ACTION: 7,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: JSON_EXCEPTION: 8,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: ERROR: 9
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning successful result from an action.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: callbackSuccess: function
(callbackId, args) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, true, args.status, [args.message],
args.keepCallback);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning error result from an action.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: callbackError: function
(callbackId, args) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, false, args.status, [args.message],
args.keepCallback);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning the result from an action.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: callbackFromNative:
function (callbackId, isSuccess, status, args, keepCallback) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var callback =
cordova.callbacks[callbackId];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (callback) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (isSuccess
&& status === cordova.callbackStatus.OK) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
callback.success && callback.success.apply(null, args);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else if (!
isSuccess) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
callback.fail && callback.fail.apply(null, args);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: else
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: Note, this
case is intentionally not caught.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this can
happen if isSuccess is true, but callbackStatus is NO_RESULT
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: which is
used to remove a callback from the list without calling the callbacks
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: typically
keepCallback is false in this case
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (!
keepCallback) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: delete
cordova.callbacks[callbackId];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } catch (err) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var msg = 'Error
in ' + (isSuccess ? 'Success' : 'Error') + ' callbackId: ' + callbackId + ' : ' +
err;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: console &&
console.log && console.log(msg);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: console &&
console.log && err.stack && console.log(err.stack);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent('cordovacallbackerror', { 'message': msg });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: throw err;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: addConstructor: function
(func) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: func();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
console.log('Failed to run constructor: ' + e);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: module.exports = cordova;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
define("cordova/android/nativeapiprovider", function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Exports the
ExposedJsApi.java object if available, otherwise exports the PromptBasedNativeApi.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var nativeApi =
this._cordovaNative || require('cordova/android/promptbasednativeapi');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var currentApi = nativeApi;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: get: function() { return
currentApi; },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: setPreferPrompt:
function(value) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: currentApi = value ?
require('cordova/android/promptbasednativeapi') : nativeApi;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: set: function(value) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: currentApi = value;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
define("cordova/android/promptbasednativeapi", function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Implements the API of
ExposedJsApi.java, but uses prompt() to communicate.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * This is used pre-JellyBean,
where addJavascriptInterface() is disabled.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exec:
function(bridgeSecret, service, action, callbackId, argsJson) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return
prompt(argsJson, 'gap:'+JSON.stringify([bridgeSecret, service, action,
callbackId]));
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: setNativeToJsBridgeMode:
function(bridgeSecret, value) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: prompt(value,
'gap_bridge_mode:' + bridgeSecret);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: retrieveJsMessages:
function(bridgeSecret, fromOnlineEvent) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return
prompt(+fromOnlineEvent, 'gap_poll:' + bridgeSecret);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: define("cordova/argscheck",
function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var moduleExports =
module.exports;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var typeMap = {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: 'A': 'Array',
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: 'D': 'Date',
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: 'N': 'Number',
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: 'S': 'String',
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: 'F': 'Function',
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: 'O': 'Object'
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function extractParamName
(callee, argIndex) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return (/.*?\
((.*?)\)/).exec(callee)[1].split(', ')[argIndex];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function checkArgs (spec,
functionName, args, opt_callee) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (!
moduleExports.enableChecks) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var errMsg = null;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var typeName;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
spec.length; ++i) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var c =
spec.charAt(i);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var cUpper =
c.toUpperCase();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var arg = args[i];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (c === '*') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: typeName =
utils.typeName(arg);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if ((arg === null ||
arg === undefined) && c === cUpper) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (typeName !==
typeMap[cUpper]) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: errMsg = 'Expected
' + typeMap[cUpper];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (errMsg) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: errMsg += ', but got '
+ typeName + '.';
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: errMsg = 'Wrong type
for parameter "' + extractParamName(opt_callee || args.callee, i) + '" of ' +
functionName + ': ' + errMsg;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (typeof jasmine ===
'undefined') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
console.error(errMsg);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: throw
TypeError(errMsg);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function getValue (value,
defaultValue) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return value === undefined
? defaultValue : value;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: moduleExports.checkArgs =
checkArgs;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: moduleExports.getValue =
getValue;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: moduleExports.enableChecks =
true;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: define("cordova/base64",
function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var base64 = exports;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: base64.fromArrayBuffer =
function (arrayBuffer) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return
uint8ToBase64(array);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: base64.toArrayBuffer =
function (str) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var decodedStr = typeof
atob !== 'undefined' ? atob(str) : Buffer.from(str, 'base64').toString('binary');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var arrayBuffer = new
ArrayBuffer(decodedStr.length);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
decodedStr.length; i < len; i++) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: array[i] =
decodedStr.charCodeAt(i);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return arrayBuffer;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /* This code is based on the
performance tests at http:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * This 12-bit-at-a-time
algorithm was the best performing version on all
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * platforms tested.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var b64_6bit =
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var b64_12bit;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var b64_12bitTable = function
() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: b64_12bit = [];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < 64; i+
+) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
64; j++) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: b64_12bit[i * 64 +
j] = b64_6bit[i] + b64_6bit[j];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: b64_12bitTable = function
() { return b64_12bit; };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return b64_12bit;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function uint8ToBase64
(rawData) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var numBytes =
rawData.byteLength;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var output = '';
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var segment;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var table =
b64_12bitTable();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
numBytes - 2; i += 3) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8) + rawData[i + 2];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: output +=
table[segment & 0xfff];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (numBytes - i === 2) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: output +=
b64_6bit[(segment & 0xfff) >> 6];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: output += '=';
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else if (numBytes - i
=== 1) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: output += '==';
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return output;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: define("cordova/builder",
function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function each (objects, func,
context) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var prop in objects)
{
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if
(objects.hasOwnProperty(prop)) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
func.apply(context, [objects[prop], prop]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function clobber (obj, key,
value) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
exports.replaceHookForTesting(obj, key);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var needsProperty = false;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: obj[key] = value;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: needsProperty = true;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (needsProperty ||
obj[key] !== value) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function
assignOrWrapInDeprecateGetter (obj, key, value, message) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (message) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
console.log(message);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: delete obj[key];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function include (parent,
objects, clobber, merge) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: each(objects, function
(obj, key) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var result =
obj.path ? require(obj.path) : {};
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (clobber) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else if
(typeof obj.path !== 'undefined') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (merge)
{
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
recursiveMerge(parent[key], result);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (obj.children)
{
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
include(result, obj.children, clobber, merge);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
utils.alert('Exception building Cordova JS globals: ' + e + ' for key "' + key +
'"');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Merge properties from one
object onto another recursively. Properties from
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * the src object will
overwrite existing target property.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param target Object to
merge properties into.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param src Object to merge
properties from.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function recursiveMerge
(target, src) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var prop in src) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if
(src.hasOwnProperty(prop)) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if
(target.prototype && target.prototype.constructor === target) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
clobber(target.prototype, prop, src[prop]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (typeof
src[prop] === 'object' && typeof target[prop] === 'object') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
recursiveMerge(target[prop], src[prop]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
clobber(target, prop, src[prop]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
exports.buildIntoButDoNotClobber = function (objects, target) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: include(target, objects,
false, false);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndClobber =
function (objects, target) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, false);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndMerge =
function (objects, target) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, true);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.recursiveMerge =
recursiveMerge;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
exports.assignOrWrapInDeprecateGetter = assignOrWrapInDeprecateGetter;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.replaceHookForTesting
= function () {};
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: define("cordova/channel",
function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var nextGuid = 1;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Custom pub-sub "channel"
that can have functions subscribed to it
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * This object is used to
define and control firing of events for
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * cordova initialization, as
well as for custom events thereafter.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * The order of events during
page load and Cordova startup is as follows:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * onDOMContentLoaded*
Internal event that is received when the web page is loaded and parsed.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * onNativeReady*
Internal event that indicates the Cordova native side is ready.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * onCordovaReady*
Internal event fired when all Cordova JavaScript objects have been created.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * onDeviceReady*
User event fired to indicate that Cordova is ready
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * onResume
User event fired to indicate a start/resume lifecycle event
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * onPause
User event fired to indicate a pause lifecycle event
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * The events marked with an *
are sticky. Once they have fired, they will stay in the fired state.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * All listeners that
subscribe after the event is fired will be executed right away.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * The only Cordova events
that user code should register for are:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * deviceready
Cordova native code is initialized and Cordova APIs can be called from JavaScript
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * pause
App has moved to background
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * resume
App has returned to foreground
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Listeners can be registered
as:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("deviceready", myDeviceReadyListener, false);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("resume", myResumeListener, false);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("pause", myPauseListener, false);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * The DOM lifecycle events
should be used for saving and restoring state
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * window.onload
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * window.onunload
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Channel
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @constructor
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param type String the
channel name
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var Channel = function (type,
sticky) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this.type = type;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this.handlers = {};
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this.state = sticky ? 1 :
0;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this.fireArgs = null;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this.numHandlers = 0;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange = null;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var channel = {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Calls the provided
function only after all of the channels specified
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * have been fired. All
channels must be sticky channels.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: join: function (h, c) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var len = c.length;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var i = len;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var f = function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (!(--i)) h();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
len; j++) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (c[j].state ===
0) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: throw
Error('Can only use join with sticky channels.');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: c[j].subscribe(f);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (!len) h();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-
return-assign */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: create: function (type) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, false);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: createSticky: function
(type) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, true);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-
return-assign */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * cordova Channels that
must fire before "deviceready" is fired.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsArray:
[],
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsMap:
{},
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Indicate that a feature
needs to be initialized before it is ready to be used.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * This holds up Cordova's
"deviceready" event until the feature has been initialized
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * and
Cordova.initComplete(feature) is called.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: waitForInitialization:
function (feature) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (feature) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var c =
channel[feature] || this.createSticky(feature);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsMap[feature] = c;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsArray.push(c);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Indicate that
initialization code has completed and the feature is ready to be used.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: initializationComplete:
function (feature) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var c =
this.deviceReadyChannelsMap[feature];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (c) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: c.fire();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function
checkSubscriptionArgument (argument) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (typeof argument !==
'function' && typeof argument.handleEvent !== 'function') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: throw new Error(
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: 'Must provide a
function or an EventListener object ' +
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: 'implementing
the handleEvent interface.'
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: );
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Subscribes the given
function to the channel. Any time that
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Channel.fire is called so
too will the function.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Optionally specify an
execution context for the function
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * and a guid that can be used
to stop subscribing to the channel.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Returns the guid.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: Channel.prototype.subscribe =
function (eventListenerOrFunction, eventListener) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var handleEvent, guid;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: eventListener =
eventListenerOrFunction;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (this.state === 2) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
handleEvent.apply(eventListener || this, this.fireArgs);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: guid =
eventListenerOrFunction.observer_guid;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (typeof eventListener
=== 'object') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: handleEvent =
utils.close(eventListener, handleEvent);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (!guid) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: guid = '' + nextGuid+
+;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: handleEvent.observer_guid
= guid;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
eventListenerOrFunction.observer_guid = guid;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (!this.handlers[guid])
{
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this.handlers[guid] =
handleEvent;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this.numHandlers++;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 1) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Unsubscribes the function
with the given guid from the channel.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: Channel.prototype.unsubscribe
= function (eventListenerOrFunction) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var handleEvent, guid,
handler;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: guid =
handleEvent.observer_guid;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: handler =
this.handlers[guid];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (handler) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: delete
this.handlers[guid];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this.numHandlers--;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 0) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Calls all functions
subscribed to this channel.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: Channel.prototype.fire =
function (e) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var fail = false;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var fireArgs =
Array.prototype.slice.call(arguments);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (this.state === 1) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this.state = 2;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this.fireArgs =
fireArgs;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (this.numHandlers) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var toCall = [];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var item in
this.handlers) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
toCall.push(this.handlers[item]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
toCall.length; ++i) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
toCall[i].apply(this, fireArgs);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (this.state === 2
&& this.numHandlers) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this.numHandlers =
0;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this.handlers =
{};
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDOMContentLoaded');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onNativeReady');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onCordovaReady');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onPluginsReady');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDeviceReady');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: channel.create('onResume');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: channel.create('onPause');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onCordovaReady');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onDOMContentLoaded');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: module.exports = channel;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: define("cordova/exec",
function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Execute a cordova command.
It is up to the native side whether this action
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * is synchronous or
asynchronous. The native side can return:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Synchronous:
PluginResult object as a JSON string
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Asynchronous: Empty
string ""
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * If async, the native side
will cordova.callbackSuccess or cordova.callbackError,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * depending upon the result
of the action.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param {Function} success
The success callback
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param {Function} fail
The fail callback
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param {String} service
The name of the service to use
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param {String} action
Action to be run in cordova
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param {String[]} [args]
Zero or more arguments to pass to the method
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova'),
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: nativeApiProvider =
require('cordova/android/nativeapiprovider'),
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: utils =
require('cordova/utils'),
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: base64 =
require('cordova/base64'),
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: channel =
require('cordova/channel'),
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: jsToNativeModes = {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: PROMPT: 0,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: JS_OBJECT: 1
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: nativeToJsModes = {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: POLLING: 0,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: LOAD_URL: 1,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: ONLINE_EVENT: 2,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: EVAL_BRIDGE: 3
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
nativeToJsModes.EVAL_BRIDGE,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: pollEnabled = false,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: bridgeSecret = -1;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var messagesFromNative = [];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var isProcessing = false;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var resolvedPromise = typeof
Promise == 'undefined' ? null : Promise.resolve();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var nextTick = resolvedPromise
? function(fn) { resolvedPromise.then(fn); } : function(fn) { setTimeout(fn); };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function androidExec(success,
fail, service, action, args) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: throw new
Error('exec() called without bridgeSecret');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
=== undefined) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: args = args || [];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
args.length; i++) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if
(utils.typeName(args[i]) == 'ArrayBuffer') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: args[i] =
base64.fromArrayBuffer(args[i]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var callbackId = service +
cordova.callbackId++,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: argsJson =
JSON.stringify(args);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (success || fail) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
cordova.callbacks[callbackId] = {success:success, fail:fail};
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().exec(bridgeSecret, service, action, callbackId, argsJson);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
== jsToNativeModes.JS_OBJECT && msgs === "@Null arguments.") {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.PROMPT);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: androidExec(success,
fail, service, action, args);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else if (msgs) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: androidExec.init = function()
{
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: bridgeSecret = +prompt('',
'gap_init:' + nativeToJsBridgeMode);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function
pollOnceFromOnlineEvent() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: pollOnce(true);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function
pollOnce(opt_fromOnlineEvent) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().retrieveJsMessages(bridgeSecret, !!opt_fromOnlineEvent);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (msgs) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: processMessages();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function pollingTimerFunc() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (pollEnabled) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: pollOnce();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 50);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function hookOnlineApis() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function proxyEvent(e) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent(e.type);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
window.addEventListener('online', pollOnceFromOnlineEvent, false);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
window.addEventListener('offline', pollOnceFromOnlineEvent, false);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('online');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('offline');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
document.addEventListener('online', proxyEvent, false);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
document.addEventListener('offline', proxyEvent, false);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: hookOnlineApis();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: androidExec.jsToNativeModes =
jsToNativeModes;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: androidExec.nativeToJsModes =
nativeToJsModes;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode = function(mode) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (mode ==
jsToNativeModes.JS_OBJECT && !window._cordovaNative) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: mode =
jsToNativeModes.PROMPT;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.setPreferPrompt(mode == jsToNativeModes.PROMPT);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode =
mode;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
androidExec.setNativeToJsBridgeMode = function(mode) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsBridgeMode) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (nativeToJsBridgeMode
== nativeToJsModes.POLLING) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: pollEnabled = false;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
mode;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (bridgeSecret >= 0) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.get().setNativeToJsBridgeMode(bridgeSecret, mode);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsModes.POLLING) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: pollEnabled = true;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 1);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function buildPayload(payload,
message) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var payloadKind =
message.charAt(0);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (payloadKind == 's') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
payload.push(message.slice(1));
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
't') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: payload.push(true);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'f') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: payload.push(false);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'N') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: payload.push(null);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'n') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
payload.push(+message.slice(1));
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'A') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var data =
message.slice(1);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
payload.push(base64.toArrayBuffer(data));
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'S') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
payload.push(window.atob(message.slice(1)));
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'M') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var multipartMessages
= message.slice(1);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: while
(multipartMessages !== "") {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var spaceIdx =
multipartMessages.indexOf(' ');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var msgLen =
+multipartMessages.slice(0, spaceIdx);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var
multipartMessage = multipartMessages.substr(spaceIdx + 1, msgLen);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: multipartMessages
= multipartMessages.slice(spaceIdx + msgLen + 1);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
buildPayload(payload, multipartMessage);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
payload.push(JSON.parse(message));
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function
processMessage(message) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var firstChar =
message.charAt(0);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (firstChar == 'J') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
eval(message.slice(1));
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else if (firstChar ==
'S' || firstChar == 'F') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var success =
firstChar == 'S';
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var keepCallback =
message.charAt(1) == '1';
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var spaceIdx =
message.indexOf(' ', 2);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var status =
+message.slice(2, spaceIdx);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var nextSpaceIdx =
message.indexOf(' ', spaceIdx + 1);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var callbackId =
message.slice(spaceIdx + 1, nextSpaceIdx);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var payloadMessage =
message.slice(nextSpaceIdx + 1);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var payload = [];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: buildPayload(payload,
payloadMessage);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, success, status, payload, keepCallback);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
console.log("processMessage failed: invalid message: " + JSON.stringify(message));
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function processMessages() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (isProcessing) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length === 0) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: isProcessing = true;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var msg =
popMessageFromQueue();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (msg == '*' &&
messagesFromNative.length === 0) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
nextTick(pollOnce);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: processMessage(msg);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: isProcessing = false;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length > 0) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function popMessageFromQueue()
{
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var messageBatch =
messagesFromNative.shift();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (messageBatch == '*') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return '*';
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var spaceIdx =
messageBatch.indexOf(' ');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var msgLen =
+messageBatch.slice(0, spaceIdx);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var message =
messageBatch.substr(spaceIdx + 1, msgLen);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: messageBatch =
messageBatch.slice(spaceIdx + msgLen + 1);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (messageBatch) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
messagesFromNative.unshift(messageBatch);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return message;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: module.exports = androidExec;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: define("cordova/exec/proxy",
function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var CommandProxyMap = {};
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: add: function (id,
proxyObj) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: console.log('adding
proxy for ' + id);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
proxyObj;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return proxyObj;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: remove: function (id) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var proxy =
CommandProxyMap[id];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: delete
CommandProxyMap[id];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
null;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return proxy;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: get: function (service,
action) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return
(CommandProxyMap[service] ? CommandProxyMap[service][action] : null);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: define("cordova/init",
function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var pluginloader =
require('cordova/pluginloader');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var platformInitChannelsArray
= [channel.onNativeReady, channel.onPluginsReady];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function logUnfiredChannels
(arr) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
arr.length; ++i) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (arr[i].state !==
2) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
console.log('Channel not fired: ' + arr[i].type);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: window.setTimeout(function ()
{
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if
(channel.onDeviceReady.state !== 2) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
console.log('deviceready has not fired after 5 seconds.');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(platformInitChannelsArray);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(channel.deviceReadyChannelsArray);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }, 5000);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function replaceNavigator
(origNavigator) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var CordovaNavigator =
function () {};
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: CordovaNavigator.prototype
= origNavigator;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var newNavigator = new
CordovaNavigator();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (CordovaNavigator.bind)
{
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var key in
origNavigator) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (typeof
origNavigator[key] === 'function') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
newNavigator[key] = origNavigator[key].bind(origNavigator);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: (function (k)
{
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
utils.defineGetterSetter(newNavigator, key, function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return
origNavigator[k];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: })(key);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return newNavigator;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (window.navigator) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: window.navigator =
replaceNavigator(window.navigator);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (!window.console) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: window.console = {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: log: function () {}
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (!window.console.warn) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: window.console.warn =
function (msg) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: this.log('warn: ' +
msg);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: channel.onPause =
cordova.addDocumentEventHandler('pause');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: channel.onResume =
cordova.addDocumentEventHandler('resume');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: channel.onActivated =
cordova.addDocumentEventHandler('activated');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: channel.onDeviceReady =
cordova.addStickyDocumentEventHandler('deviceready');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (document.readyState ===
'complete' || document.readyState === 'interactive') {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
document.addEventListener('DOMContentLoaded', function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }, false);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (window._nativeReady) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova', 'cordova');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'cordova.exec');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'Cordova.exec');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: platform.bootstrap &&
platform.bootstrap();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: setTimeout(function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: pluginloader.load(function
() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.onPluginsReady.fire();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Create all cordova objects
once native side is ready.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
modulemapper.mapModules(window);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: platform.initialize &&
platform.initialize();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.fire();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
require('cordova').fireDocumentEvent('deviceready');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
channel.deviceReadyChannelsArray);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }, platformInitChannelsArray);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: define("cordova/modulemapper",
function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var builder =
require('cordova/builder');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var moduleMap =
define.moduleMap;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var symbolList;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var deprecationMap;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.reset = function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: symbolList = [];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: deprecationMap = {};
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function addEntry (strategy,
moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (!(moduleName in
moduleMap)) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: throw new
Error('Module ' + moduleName + ' does not exist.');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: symbolList.push(strategy,
moduleName, symbolPath);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if
(opt_deprecationMessage) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
deprecationMap[symbolPath] = opt_deprecationMessage;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.clobbers = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: addEntry('c', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.merges = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: addEntry('m', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.defaults = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: addEntry('d', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.runs = function
(moduleName) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: addEntry('r', moduleName,
null);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function prepareNamespace
(symbolPath, context) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (!symbolPath) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return context;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var cur = context;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i = 0, part; part
= parts[i]; ++i) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: cur = cur[part] =
cur[part] || {};
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return cur;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.mapModules = function
(context) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var origSymbols = {};
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: context.CDV_origSymbols =
origSymbols;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
symbolList.length; i < len; i += 3) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var strategy =
symbolList[i];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var moduleName =
symbolList[i + 1];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var module =
require(moduleName);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (strategy === 'r')
{
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var symbolPath =
symbolList[i + 2];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var lastDot =
symbolPath.lastIndexOf('.');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var namespace =
symbolPath.substr(0, lastDot);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var lastName =
symbolPath.substr(lastDot + 1);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var deprecationMsg =
symbolPath in deprecationMap ? 'Access made to deprecated symbol: ' + symbolPath +
'. ' + deprecationMsg : null;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var parentObj =
prepareNamespace(namespace, context);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var target =
parentObj[lastName];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (strategy === 'm'
&& target) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
builder.recursiveMerge(target, module);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else if ((strategy
=== 'd' && !target) || (strategy !== 'd')) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (!(symbolPath
in origSymbols)) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
origSymbols[symbolPath] = target;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
builder.assignOrWrapInDeprecateGetter(parentObj, lastName, module, deprecationMsg);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.getOriginalSymbol =
function (context, symbolPath) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var origSymbols =
context.CDV_origSymbols;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (origSymbols &&
(symbolPath in origSymbols)) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return
origSymbols[symbolPath];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var obj = context;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
parts.length; ++i) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: obj = obj &&
obj[parts[i]];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.reset();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: define("cordova/platform",
function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var lastResumeEvent = null;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: id: 'android',
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: bootstrap: function() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel'),
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: cordova =
require('cordova'),
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exec =
require('cordova/exec'),
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: modulemapper =
require('cordova/modulemapper');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exec.init();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/plugin/android/app', 'navigator.app');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(cordova.platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' : 'App';
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var backButtonChannel
= cordova.addDocumentEventHandler('backbutton');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
backButtonChannel.onHasSubscribersChange = function() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [this.numHandlers == 1]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('menubutton');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('searchbutton');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function
bindButtonChannel(buttonName) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var
volumeButtonChannel = cordova.addDocumentEventHandler(buttonName + 'button');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
volumeButtonChannel.onHasSubscribersChange = function() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exec(null,
null, APP_PLUGIN_NAME, "overrideButton", [buttonName, this.numHandlers == 1]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumeup');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumedown');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var
cordovaAddEventListener = document.addEventListener;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
document.addEventListener = function(evt, handler, capture) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
cordovaAddEventListener(evt, handler, capture);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (evt ===
'resume' && lastResumeEvent) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
handler(lastResumeEvent);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
exec(onMessageFromNative, null, APP_PLUGIN_NAME, 'messageChannel', []);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "show", []);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function
onMessageFromNative(msg) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var action = msg.action;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: switch (action)
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: case 'backbutton':
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: case 'menubutton':
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: case 'searchbutton':
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: case 'pause':
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: case
'volumedownbutton':
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: case 'volumeupbutton':
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: case 'resume':
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
if(arguments.length > 1 && msg.pendingResult) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
if(arguments.length === 2) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = arguments[1];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var res =
[];
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for(var i
= 1; i < arguments.length; i++) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
res.push(arguments[i]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = res;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
lastResumeEvent = msg;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action, msg);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: default:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: throw new
Error('Unknown event action ' + action);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
define("cordova/plugin/android/app", function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var exec =
require('cordova/exec');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(require('cordova').platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' :
'App';
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Clear the resource
cache.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: clearCache:function() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearCache", []);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Load the url into the
webview or into new browser instance.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param url The
URL to load
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param props
Properties that can be passed in to the activity:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * wait: int
=> wait msec before loading URL
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * loadingDialog:
"Title,Message" => display a native loading dialog
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
loadUrlTimeoutValue: int => time in msec to wait before triggering a
timeout error
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * clearHistory:
boolean => clear webview history (default=false)
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * openExternal:
boolean => open in a new browser (default=false)
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Example:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
navigator.app.loadUrl("http:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: loadUrl:function(url,
props) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "loadUrl", [url, props]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Cancel loadUrl that is
waiting to be loaded.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: cancelLoadUrl:function() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "cancelLoadUrl", []);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Clear web history in
this web view.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Instead of BACK button
loading the previous web page, it will exit the app.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: clearHistory:function() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearHistory", []);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Go to previous page
displayed.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * This is the same as
pressing the backbutton on Android device.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: backHistory:function() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "backHistory", []);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android back button.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * If overridden, when the
back button is pressed, the "backKeyDown" JavaScript event will be fired.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * registers for the
"backbutton" event, this is automatically done.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
overrideBackbutton:function(override) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [override]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android volume button.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * If overridden, when the
volume button is pressed, the "volume[up|down]button"
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * JavaScript event will be
fired.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * registers for the
"volume[up|down]button" event, this is automatically done.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param button
volumeup, volumedown
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
overrideButton:function(button, override) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideButton", [button, override]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Exit and terminate the
application.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exitApp:function() {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return exec(null,
null, APP_PLUGIN_NAME, "exitApp", []);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: define("cordova/pluginloader",
function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.injectScript =
function (url, onload, onerror) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var script =
document.createElement('script');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: script.onload = onload;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: script.onerror = onerror;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: script.src = url;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
document.head.appendChild(script);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function injectIfNecessary
(id, url, onload, onerror) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: onerror = onerror ||
onload;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
exports.injectScript(url, function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: onerror();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }, onerror);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function
onScriptLoadingComplete (moduleList, finishPluginLoading) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i = 0, module;
module = moduleList[i]; i++) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (module.clobbers &&
module.clobbers.length) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var j = 0; j
< module.clobbers.length; j++) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers(module.id, module.clobbers[j]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (module.merges &&
module.merges.length) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var k = 0; k
< module.merges.length; k++) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
modulemapper.merges(module.id, module.merges[k]);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (module.runs) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
modulemapper.runs(module.id);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function handlePluginsObject
(path, moduleList, finishPluginLoading) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var scriptCounter =
moduleList.length;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (!scriptCounter) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function
scriptLoadedCallback () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (!--scriptCounter)
{
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
onScriptLoadingComplete(moduleList, finishPluginLoading);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
moduleList.length; i++) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
injectIfNecessary(moduleList[i].id, path + moduleList[i].file,
scriptLoadedCallback);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: function findCordovaPath () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var path = null;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var scripts =
document.getElementsByTagName('script');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var term = '/cordova.js';
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var n =
scripts.length - 1; n > -1; n--) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var src =
scripts[n].src.replace(/\?.*$/, '');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (src.indexOf(term)
=== (src.length - term.length)) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: path =
src.substring(0, src.length - term.length) + '/';
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.load = function
(callback) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var pathPrefix =
findCordovaPath();
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (pathPrefix === null) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: console.log('Could not
find cordova.js script tag. Plugin loading may fail.');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: pathPrefix = '';
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
injectIfNecessary('cordova/plugin_list', pathPrefix + 'cordova_plugins.js',
function () {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var moduleList =
require('cordova/plugin_list');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
handlePluginsObject(pathPrefix, moduleList, callback);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }, callback);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: define("cordova/urlutil",
function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * For already absolute URLs,
returns what is passed in.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * For relative URLs, converts
them to absolute ones.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: exports.makeAbsolute =
function makeAbsolute (url) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var anchorEl =
document.createElement('a');
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: anchorEl.href = url;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return anchorEl.href;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: define("cordova/utils",
function(require, exports, module) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var utils = exports;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Defines a property getter /
setter for obj[key].
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: utils.defineGetterSetter =
function (obj, key, getFunc, opt_setFunc) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (Object.defineProperty)
{
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var desc = {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: get: getFunc,
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: configurable: true
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: desc.set =
opt_setFunc;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
Object.defineProperty(obj, key, desc);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
obj.__defineGetter__(key, getFunc);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
obj.__defineSetter__(key, opt_setFunc);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Defines a property getter
for obj[key].
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: utils.defineGetter =
utils.defineGetterSetter;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: utils.arrayIndexOf = function
(a, item) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (a.indexOf) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return
a.indexOf(item);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var len = a.length;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < len; +
+i) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (a[i] === item) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return i;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Returns whether the item
was found in the array.
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: utils.arrayRemove = function
(a, item) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: var index =
utils.arrayIndexOf(a, item);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: if (index !== -1) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: a.splice(index, 1);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return index !== -1;
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: utils.typeName = function
(val) {
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: return
Object.prototype.toString.call(val).slice(8, -1);
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is an array or not
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.736 10638 10638 D CordovaWebViewImpl: utils.isArray = Array.isArray
||
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: function (a) {
return utils.typeName(a) === 'Array'; };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is a Date or not
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: utils.isDate = function (d) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return (d instanceof
Date);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * Does a deep clone of the
object.
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: utils.clone = function (obj) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (!obj || typeof obj ===
'function' || utils.isDate(obj) || typeof obj !== 'object') {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var retVal, i;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (utils.isArray(obj)) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: retVal = [];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: for (i = 0; i <
obj.length; ++i) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
retVal.push(utils.clone(obj[i]));
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: retVal = {};
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: for (i in obj) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if ((!(i in retVal) ||
retVal[i] !== obj[i]) && typeof obj[i] !== 'undefined' && typeof obj[i] !==
'unknown') {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: retVal[i] =
utils.clone(obj[i]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * Returns a wrapped version
of the function
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: utils.close = function
(context, func, params) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return function () {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var args = params ||
arguments;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return
func.apply(context, args);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: function UUIDcreatePart
(length) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var uuidpart = '';
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
length; i++) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var uuidchar =
parseInt((Math.random() * 256), 10).toString(16);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (uuidchar.length
=== 1) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: uuidchar = '0' +
uuidchar;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: uuidpart += uuidchar;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return uuidpart;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * Create a UUID
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: utils.createUUID = function ()
{
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return UUIDcreatePart(4) +
'-' +
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(6);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * Extends a child object from
a parent object using classical inheritance
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * pattern.
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: utils.extend = (function () {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var F = function () {};
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return function (Child,
Parent) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: F.prototype =
Parent.prototype;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: Child.prototype = new
F();
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: Child.__super__ =
Parent.prototype;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
Child.prototype.constructor = Child;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }());
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * Alerts a message in any
available way: alert or console.log.
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: utils.alert = function (msg) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (window.alert) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: window.alert(msg);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: } else if (console &&
console.log) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: console.log(msg);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: window.cordova =
require('cordova');
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: require('cordova/init');
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: })();
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordova.define('cordova/plugin_list', function(require, exports, module) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: module.exports = [
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/vuforia.js",
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.vuforia",
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "vuforia"
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: ]
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/identity_resolution.js",
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.irs",
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "irs"
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: ]
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/intent_navigation_filter.js",
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.inf",
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "inf"
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: ]
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: ];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: module.exports.metadata =
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "cordova-plugin-
whitelist": "1.3.3",
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: "cordova-plugin-thingx":
"1.0.0"
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.inf", function(require, exports, module) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: allowIntent: function
(theURL, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowIntent",
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: allowNavigation: function
(theURL, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowNavigation",
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.vuforia", function(require, exports, module) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * In case a new method is
created then follow following pattern:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * function(params,
successCallback, errorCallback)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * If there is a new
parameter required to be added to existing method then
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * follow following pattern:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * function(...args)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * Note: Check add3DImage
function on how both old and new methods are supported for adding
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * new param.
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: function resolvePath(names) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var split = names.split("
");
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var result = "";
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var path =
location.pathname;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var lastIndexOfSlash =
path.lastIndexOf('/');
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: path = path.substr(0,
lastIndexOfSlash);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: for (var
i=0;i<split.length;i++) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var name = split[i];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (lastIndexOfSlash >
-1) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (result.length
> 0) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: result += " ";
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if
(name.startsWith("/")) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: result +=
location.origin + name;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: result +=
location.origin + path + "/" + name;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return result;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: function
resolvePathIfNeeded(path) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return
resolvePath(path);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: function sanitizeURL(path) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (path.indexOf(' ')
>= 0) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return
encodeURI(path);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: function asBoolean(arg) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"boolean") {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"string") {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var larg =
arg.toLowerCase();
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return larg ===
"true";
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"number") {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return arg !== 0;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return !!arg;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: function asString(arg) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"string") {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return "" + arg;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: function asNumber(arg) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"number") {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return Number(arg);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: function
asThreeStateBoolean(arg) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (arg === null || arg
=== undefined) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (arg === "true" || arg
=== true) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return 1;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (arg === "false" || arg
=== false) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return 0;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: return asNumber(arg);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: initializeAR: function
(arMechanism, maxtrackers, extendedtracking, persistmap, near, far,
successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initializeAR",
[asString(arMechanism),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(maxtrackers),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asBoolean(extendedtracking),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asBoolean(persistmap),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(near),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(far)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: setViewProperties:
function(properties, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{ };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if
(properties.dropshadow !== undefined) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties.dropshadow);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties["experimental-dropshadow"]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setViewProperties",
[cordovaParams]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: showARView: function
(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "showARView", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cleanUpAndPause: function
(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndPause",
[]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: pauseAR: function
(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "pauseAR", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: resumeAR: function
(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resumeAR", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: lockCameraAndOrientation:
function (successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"lockCameraAndOrientation", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
unlockCameraAndOrientation: function (successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"unlockCameraAndOrientation", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cleanUpAndContinue:
function (successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndContinue",
[]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: resetSpatialTracking:
function (successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetSpatialTracking", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: getTracked: function
(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getTracked", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: loadTrackerDef: function
(markerSet, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var ms = (markerSet
=== undefined) ? [] : markerSet;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadTrackerDef", [ms,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
window.location.href]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: addTracker: function
(nameOrParams, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var options =
nameOrParams;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if
(typeof(nameOrParams) === "string") {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: options = { name:
nameOrParams, trackingHints: { stationary: true } };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: options.name =
asString(options.name);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: options.trackingHints
= (options.trackingHints === undefined) ? {} : options.trackingHints;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
options.trackingHints.stationary = (options.trackingHints.stationary === false) ?
false : true;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addTracker",
[options]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: add3DObject: function
(trackerName, name, vertices, normals, texCoords, indexes, color, texture, parent,
successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DObject",
[asString(trackerName),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
normals,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
texCoords,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: addPVS: function
(trackerName, name, url, cull, parent, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: url =
resolvePathIfNeeded(sanitizeURL(url));
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addPVS",
[asString(trackerName),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(url),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: addLeaderLine: function
(trackerName, name, vertices, color, texture,
nbScreenCoord,pointSize,lineWidth,parent, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var
nbsc=(nbScreenCoord === undefined) ? "0" : nbScreenCoord;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var ps=(pointSize ===
undefined) ? "40" : pointSize;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var lw=(lineWidth ===
undefined) ? "5" : lineWidth;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addLeaderLine",
[asString(trackerName),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(nbsc),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(ps),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(lw),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: append3DObject: function
(name, mode, indexes, color, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "append3DObject",
[asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(mode),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
color
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: addEmitter: function
(trackerName, name, particles, radius, velocity, decay, gravity, spread, size,
mass, rate, wind, blend, color, texture, parent, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addEmitter",
[asString(trackerName),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(particles),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(radius),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(velocity),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(decay),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(gravity),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(spread),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(size),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(mass),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(rate),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
wind,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(blend),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: addGroup: function
(trackerName, name, cull, parent, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addGroup",
[asString(trackerName),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(parent)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: addMarker: function
(trackerName, name, src, size, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addMarker",
[asString(trackerName),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(src),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(size)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: add3DImage: function
(...args) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: let tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, preload, successCallback,
errorCallback;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (typeof args[0] ===
'object') {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: let params;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: [params,
successCallback, errorCallback] = args;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: ({tracker, id,
src, parent, leaderX, leaderY, anchor, width, height, pivot, preload} = params);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: } else if (typeof
args[0] === 'string') {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: preload = true;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: [tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, successCallback,
errorCallback] = args;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: throw new
Error('add3DImage call with invalid args');
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: src =
resolvePathIfNeeded(src);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DImage",
[asString(tracker),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(id),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
src,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
undefined,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(leaderX),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(leaderY),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(anchor),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(width),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(height),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(pivot)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: allowNextGesture:
function(params, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{};
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "allowNextGesture",
[cordovaParams]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: loadViewState:
function(params, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: viewStateID:
asNumber(params.viewStateID)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadViewState",
[cordovaParams]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: loadPVI: function (params,
successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var encodedURL =
sanitizeURL(params.url);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: url:
asString(resolvePathIfNeeded(encodedURL))
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadPVI",
[cordovaParams]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: playStep: function
(params, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playStep",
[cordovaParams]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: gotoStep: function
(params, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: position:
asString(params.position)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "gotoStep",
[cordovaParams]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: setModelURL: function
(params, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var modelURL =
resolvePathIfNeeded(sanitizeURL(params.modelURL));
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: modelURL:
asString(modelURL)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setModelURL",
[cordovaParams]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: setTexture: function
(name, texture, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTexture",
[asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
texture
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: setColor: function (name,
color, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setColor",
[asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
color
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: setVertices: function
(name, vertices, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setVertices",
[asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
vertices
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: insertGroupNode: function
(props, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "insertGroupNode",
[asString(props.name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(props.target)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: removeNode: function
(props, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "removeNode",
[asString(props.name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asBoolean(props.reparent)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: setProperties: function
(name, props, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var opacity
= (props.opacity === undefined) ? -1 : props.opacity;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var hidden
= (props.hidden === undefined) ? -1 : props.hidden;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var occlude
= (props.occlude === undefined) ? false : props.occlude;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var billboard
= (props.billboard === undefined) ? false : props.billboard;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var decal
= (props.decal === undefined) ? false : props.decal;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var shader
= (props.shader === undefined) ? null : props.shader;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var phantom
= (props.phantom === undefined) ? false : props.phantom;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var forceHidden
= (props.forceHidden === undefined) ? false : props.forceHidden;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var
experimentalOneSided = (props.experimentalOneSided === undefined) ? false :
props.experimentalOneSided;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setProperties",
[asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(opacity),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asThreeStateBoolean(hidden),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asBoolean(occlude),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asBoolean(billboard),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asBoolean(decal),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(shader),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asBoolean(phantom),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asBoolean(forceHidden),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asBoolean(experimentalOneSided)]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: getAllPropertyValues:
function (name, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"getAllPropertyValues", [asString(name)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: setTranslation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTranslation",
[asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: setRotation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setRotation",
[asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: setScale: function (name,
ax, ay, az, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 1.0 : ax;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 1.0 : ay;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 1.0 : az;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setScale",
[asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: setGestures: function
(params, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var gestures = {};
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableTranslate !== undefined) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
gestures.enableTranslate = asBoolean(params.gestures.enableTranslate);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableRotate !== undefined) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
gestures.enableRotate = asBoolean(params.gestures.enableRotate);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableScale !== undefined) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
gestures.enableScale = asBoolean(params.gestures.enableScale);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: nodeId:
asString(params.nodeId),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: gestures: gestures
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setGestures",
[cordovaParams]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: resetGestureTransforms:
function (successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetGestureTransforms", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: setupAREventsCommand:
function (successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupAREventsCommand", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
setupTrackingEventsCommand: function (successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupTrackingEventsCommand", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: transform: function (name,
dx, dy, dz, drx, dry, drz, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var x = (dx ===
undefined) ? 0.0 : dx;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var y = (dy ===
undefined) ? 0.0 : dy;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var z = (dz ===
undefined) ? 0.0 : dz;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var rx = (drx ===
undefined) ? 0.0 : drx;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var ry = (dry ===
undefined) ? 0.0 : dry;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var rz = (drz ===
undefined) ? 0.0 : drz;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "transform",
[asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(z),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(rx),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(ry),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(rz)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: resetAll: function
( successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resetAll", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: reset: function (name,
successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "reset",
[asString(name)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: setShader: function (name,
vertex, fragment, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setShader",
[asString(name),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(vertex),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(fragment)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: userPick: function
(params, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "userPick",
[asNumber(params.x),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asNumber(params.y)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: exitSpatialPlacementMode:
function(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"exitSpatialPlacementMode", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: takeScreenshot:
function(params, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: withAugmentation:
asBoolean(params.withAugmentation),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: dataURL:
asBoolean(params.dataURL),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: imgFormat:
asString(params.imgFormat),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: imgWidth:
params.imgWidth,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: imgHeight:
params.imgHeight
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "takeScreenshot",
[cordovaParams]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: startBatch: function
(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startBatch", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: executeBatch: function
(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "executeBatch", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: scanForNextBarCode:
function(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "scanForNextBarCode",
[]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: stopBarCodeScanning:
function(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopBarCodeScanning",
[]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: playSxsl: function(params,
successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playSxsl",
[asString(params.sxsl), window.location.href, params.autoOpenProcedure]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: goBack: function
(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "goBack", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
setupSpeechRecognitionCallback: function (params, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(function(guesses) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if
(successCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
successCallback(Array.isArray(guesses) ? guesses : null);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }, errorCallback,
"Vuforia", "setupSpeechRecognitionCallback", [asBoolean(params.unregister)]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: updateVoiceCommands:
function (params, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "updateVoiceCommands",
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
[asBoolean(params.clearCommands),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
params.commandsToRemove,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
params.commandsToAdd
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: ]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: forceRealWearRescan:
function(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "forceRealWearRescan",
[]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: getCameraImage:
function(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getCameraImage", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: synthesizeSpeech:
function(params, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "synthesizeSpeech",
[asString(params.text),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
asString(params.locale)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: stopSpeaking:
function(successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopSpeaking", []);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /** Ask the native plugin
to start atom on the added augmentation */
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: initAtom: function(params,
successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: atomName:
asString(params.atomName),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initAtom",
[cordovaParams]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: startAtom:
function(params, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startAtom",
[cordovaParams]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: stopAtom: function(params,
successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopAtom",
[cordovaParams]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: configureAtom:
function(params, successCallback, errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var configureAtom =
(params.objectSet === undefined) ? {} : params.objectSet;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId),
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: configureAtom:
configureAtom
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "configureAtom",
[cordovaParams]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };});
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.irs", function(require, exports, module) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: queryIdentityService:
function (theID, theContentType, useFeedback, notifyNativeCode, successCallback,
errorCallback) {
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
"IdentityService", "queryIdentityService",
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
[theID, theContentType, useFeedback, notifyNativeCode]);
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.737 10638 10638 D CordovaWebViewImpl: window.thingworxview =
{"configuration":
{"nativeSequencer":true,"batchProcessing":true,"trackingHints":true,"setModelURL":t
rue}};},0);)
04-05 14:33:54.761 10638 10971 I App : WARNING: Back Button Default Behavior
will be overridden. The backbutton event will be fired!
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: >>>
loadUrl(javascript:setTimeout(function(){
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: Licensed to the Apache
Software Foundation (ASF) under one
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: or more contributor license
agreements. See the NOTICE file
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: distributed with this work
for additional information
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: regarding copyright
ownership. The ASF licenses this file
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: to you under the Apache
License, Version 2.0 (the
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: "License"); you may not use
this file except in compliance
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: with the License. You may
obtain a copy of the License at
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: http:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: Unless required by applicable
law or agreed to in writing,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: software distributed under
the License is distributed on an
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: KIND, either express or
implied. See the License for the
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: specific language governing
permissions and limitations
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: under the License.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: ;(function() {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var
PLATFORM_VERSION_BUILD_LABEL = '8.0.0';
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var require;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var define;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: (function () {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var modules = {};
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var requireStack = [];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var inProgressModules =
{};
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var SEPARATOR = '.';
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function build (module) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var factory =
module.factory;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var localRequire =
function (id) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var resultantId =
id;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (id.charAt(0)
=== '.') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: resultantId =
module.id.slice(0, module.id.lastIndexOf(SEPARATOR)) + SEPARATOR + id.slice(2);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return
require(resultantId);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: module.exports = {};
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: delete module.factory;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: factory(localRequire,
module.exports, module);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return module.exports;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: require = function (id) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (!modules[id]) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' not found';
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else if (id in
inProgressModules) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var cycle =
requireStack.slice(inProgressModules[id]).join('->') + '->' + id;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: throw 'Cycle in
require graph: ' + cycle;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if
(modules[id].factory) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
inProgressModules[id] = requireStack.length;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
requireStack.push(id);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return
build(modules[id]);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: delete
inProgressModules[id];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
requireStack.pop();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return
modules[id].exports;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: define = function (id,
factory) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (modules[id]) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: throw 'module ' +
id + ' already defined';
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: modules[id] = {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: id: id,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: factory: factory
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: define.remove = function
(id) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: delete modules[id];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: define.moduleMap =
modules;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: })();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeof module === 'object'
&& typeof require === 'function') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: module.exports.require =
require;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: module.exports.define =
define;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: define("cordova",
function(require, exports, module) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (window.cordova && !
(window.cordova instanceof HTMLElement)) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: throw new Error('cordova
already defined');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Intercept calls to
addEventListener + removeEventListener and handle deviceready,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * resume, and pause events.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var
m_document_addEventListener = document.addEventListener;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var
m_document_removeEventListener = document.removeEventListener;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var m_window_addEventListener
= window.addEventListener;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var
m_window_removeEventListener = window.removeEventListener;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Houses custom event
handlers to intercept on document + window event listeners.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var documentEventHandlers =
{};
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var windowEventHandlers = {};
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: document.addEventListener =
function (evt, handler, capture) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].subscribe(handler);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
m_document_addEventListener.call(document, evt, handler, capture);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: window.addEventListener =
function (evt, handler, capture) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].subscribe(handler);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
m_window_addEventListener.call(window, evt, handler, capture);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: document.removeEventListener =
function (evt, handler, capture) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[e] !== 'undefined') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[e].unsubscribe(handler);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
m_document_removeEventListener.call(document, evt, handler, capture);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: window.removeEventListener =
function (evt, handler, capture) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var e = evt.toLowerCase();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[e] !== 'undefined') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[e].unsubscribe(handler);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
m_window_removeEventListener.call(window, evt, handler, capture);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function createEvent (type,
data) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var event =
document.createEvent('Events');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: event.initEvent(type,
false, false);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (data) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: for (var i in data) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if
(data.hasOwnProperty(i)) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: event[i] =
data[i];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return event;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-undef */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var cordova = {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: define: define,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: require: require,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: version:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: platformVersion:
PLATFORM_VERSION_BUILD_LABEL,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: platformId: platform.id,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-undef
*/
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Methods to add/remove
your own addEventListener hijacking on document + window.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: addWindowEventHandler:
function (event) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return
(windowEventHandlers[event] = channel.create(event));
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
addStickyDocumentEventHandler: function (event) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.createSticky(event));
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: addDocumentEventHandler:
function (event) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return
(documentEventHandlers[event] = channel.create(event));
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: removeWindowEventHandler:
function (event) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: delete
windowEventHandlers[event];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
removeDocumentEventHandler: function (event) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: delete
documentEventHandlers[event];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Retrieve original event
handlers that were replaced by Cordova
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * @return object
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: getOriginalHandlers:
function () {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return {'document':
{'addEventListener': m_document_addEventListener, 'removeEventListener':
m_document_removeEventListener},
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: 'window':
{'addEventListener': m_window_addEventListener, 'removeEventListener':
m_window_removeEventListener}};
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Method to fire event
from native code
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * bNoDetach is required
for events which cause an exception which needs to be caught in native code
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: fireDocumentEvent:
function (type, data, bNoDetach) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeof
documentEventHandlers[type] !== 'undefined') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (bNoDetach) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (type
=== 'deviceready') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
documentEventHandlers[type].fire(evt);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
document.dispatchEvent(evt);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: fireWindowEvent: function
(type, data) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var evt =
createEvent(type, data);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeof
windowEventHandlers[type] !== 'undefined') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
setTimeout(function () {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
windowEventHandlers[type].fire(evt);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
window.dispatchEvent(evt);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Plugin callback
mechanism.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: callbackId:
Math.floor(Math.random() * 2000000000),
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: callbacks: {},
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: callbackStatus: {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: NO_RESULT: 0,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: OK: 1,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
CLASS_NOT_FOUND_EXCEPTION: 2,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
ILLEGAL_ACCESS_EXCEPTION: 3,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
INSTANTIATION_EXCEPTION: 4,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
MALFORMED_URL_EXCEPTION: 5,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: IO_EXCEPTION: 6,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: INVALID_ACTION: 7,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: JSON_EXCEPTION: 8,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: ERROR: 9
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning successful result from an action.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: callbackSuccess: function
(callbackId, args) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, true, args.status, [args.message],
args.keepCallback);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning error result from an action.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: callbackError: function
(callbackId, args) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, false, args.status, [args.message],
args.keepCallback);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Called by native code
when returning the result from an action.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: callbackFromNative:
function (callbackId, isSuccess, status, args, keepCallback) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var callback =
cordova.callbacks[callbackId];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (callback) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (isSuccess
&& status === cordova.callbackStatus.OK) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
callback.success && callback.success.apply(null, args);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else if (!
isSuccess) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
callback.fail && callback.fail.apply(null, args);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: else
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: Note, this
case is intentionally not caught.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: this can
happen if isSuccess is true, but callbackStatus is NO_RESULT
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: which is
used to remove a callback from the list without calling the callbacks
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: typically
keepCallback is false in this case
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (!
keepCallback) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: delete
cordova.callbacks[callbackId];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } catch (err) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var msg = 'Error
in ' + (isSuccess ? 'Success' : 'Error') + ' callbackId: ' + callbackId + ' : ' +
err;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: console &&
console.log && console.log(msg);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: console &&
console.log && err.stack && console.log(err.stack);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent('cordovacallbackerror', { 'message': msg });
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: throw err;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: addConstructor: function
(func) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function () {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: func();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
console.log('Failed to run constructor: ' + e);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: module.exports = cordova;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
define("cordova/android/nativeapiprovider", function(require, exports, module) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Exports the
ExposedJsApi.java object if available, otherwise exports the PromptBasedNativeApi.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var nativeApi =
this._cordovaNative || require('cordova/android/promptbasednativeapi');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var currentApi = nativeApi;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: get: function() { return
currentApi; },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: setPreferPrompt:
function(value) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: currentApi = value ?
require('cordova/android/promptbasednativeapi') : nativeApi;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: set: function(value) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: currentApi = value;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
define("cordova/android/promptbasednativeapi", function(require, exports, module) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Implements the API of
ExposedJsApi.java, but uses prompt() to communicate.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * This is used pre-JellyBean,
where addJavascriptInterface() is disabled.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: exec:
function(bridgeSecret, service, action, callbackId, argsJson) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return
prompt(argsJson, 'gap:'+JSON.stringify([bridgeSecret, service, action,
callbackId]));
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: setNativeToJsBridgeMode:
function(bridgeSecret, value) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: prompt(value,
'gap_bridge_mode:' + bridgeSecret);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: retrieveJsMessages:
function(bridgeSecret, fromOnlineEvent) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return
prompt(+fromOnlineEvent, 'gap_poll:' + bridgeSecret);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: define("cordova/argscheck",
function(require, exports, module) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var moduleExports =
module.exports;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var typeMap = {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: 'A': 'Array',
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: 'D': 'Date',
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: 'N': 'Number',
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: 'S': 'String',
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: 'F': 'Function',
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: 'O': 'Object'
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function extractParamName
(callee, argIndex) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return (/.*?\
((.*?)\)/).exec(callee)[1].split(', ')[argIndex];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function checkArgs (spec,
functionName, args, opt_callee) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (!
moduleExports.enableChecks) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var errMsg = null;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var typeName;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
spec.length; ++i) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var c =
spec.charAt(i);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var cUpper =
c.toUpperCase();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var arg = args[i];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (c === '*') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: typeName =
utils.typeName(arg);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if ((arg === null ||
arg === undefined) && c === cUpper) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeName !==
typeMap[cUpper]) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: errMsg = 'Expected
' + typeMap[cUpper];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (errMsg) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: errMsg += ', but got '
+ typeName + '.';
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: errMsg = 'Wrong type
for parameter "' + extractParamName(opt_callee || args.callee, i) + '" of ' +
functionName + ': ' + errMsg;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeof jasmine ===
'undefined') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
console.error(errMsg);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: throw
TypeError(errMsg);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function getValue (value,
defaultValue) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return value === undefined
? defaultValue : value;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: moduleExports.checkArgs =
checkArgs;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: moduleExports.getValue =
getValue;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: moduleExports.enableChecks =
true;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: define("cordova/base64",
function(require, exports, module) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var base64 = exports;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: base64.fromArrayBuffer =
function (arrayBuffer) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return
uint8ToBase64(array);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: base64.toArrayBuffer =
function (str) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var decodedStr = typeof
atob !== 'undefined' ? atob(str) : Buffer.from(str, 'base64').toString('binary');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var arrayBuffer = new
ArrayBuffer(decodedStr.length);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var array = new
Uint8Array(arrayBuffer);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
decodedStr.length; i < len; i++) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: array[i] =
decodedStr.charCodeAt(i);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return arrayBuffer;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /* This code is based on the
performance tests at http:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * This 12-bit-at-a-time
algorithm was the best performing version on all
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * platforms tested.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var b64_6bit =
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var b64_12bit;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var b64_12bitTable = function
() {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: b64_12bit = [];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < 64; i+
+) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
64; j++) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: b64_12bit[i * 64 +
j] = b64_6bit[i] + b64_6bit[j];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: b64_12bitTable = function
() { return b64_12bit; };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return b64_12bit;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function uint8ToBase64
(rawData) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var numBytes =
rawData.byteLength;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var output = '';
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var segment;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var table =
b64_12bitTable();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
numBytes - 2; i += 3) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8) + rawData[i + 2];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: output +=
table[segment & 0xfff];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (numBytes - i === 2) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16) + (rawData[i + 1] << 8);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: output +=
b64_6bit[(segment & 0xfff) >> 6];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: output += '=';
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else if (numBytes - i
=== 1) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: segment = (rawData[i]
<< 16);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: output +=
table[segment >> 12];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: output += '==';
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return output;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: define("cordova/builder",
function(require, exports, module) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function each (objects, func,
context) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: for (var prop in objects)
{
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if
(objects.hasOwnProperty(prop)) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
func.apply(context, [objects[prop], prop]);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function clobber (obj, key,
value) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
exports.replaceHookForTesting(obj, key);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var needsProperty = false;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: obj[key] = value;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: needsProperty = true;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (needsProperty ||
obj[key] !== value) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function
assignOrWrapInDeprecateGetter (obj, key, value, message) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (message) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
utils.defineGetter(obj, key, function () {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
console.log(message);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: delete obj[key];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return value;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: clobber(obj, key,
value);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function include (parent,
objects, clobber, merge) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: each(objects, function
(obj, key) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var result =
obj.path ? require(obj.path) : {};
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (clobber) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else if
(typeof obj.path !== 'undefined') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (merge)
{
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
recursiveMerge(parent[key], result);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeof
parent[key] === 'undefined') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: result =
parent[key];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (obj.children)
{
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
include(result, obj.children, clobber, merge);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } catch (e) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
utils.alert('Exception building Cordova JS globals: ' + e + ' for key "' + key +
'"');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Merge properties from one
object onto another recursively. Properties from
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * the src object will
overwrite existing target property.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * @param target Object to
merge properties into.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * @param src Object to merge
properties from.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function recursiveMerge
(target, src) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: for (var prop in src) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if
(src.hasOwnProperty(prop)) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if
(target.prototype && target.prototype.constructor === target) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
clobber(target.prototype, prop, src[prop]);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeof
src[prop] === 'object' && typeof target[prop] === 'object') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
recursiveMerge(target[prop], src[prop]);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
clobber(target, prop, src[prop]);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
exports.buildIntoButDoNotClobber = function (objects, target) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: include(target, objects,
false, false);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndClobber =
function (objects, target) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, false);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: exports.buildIntoAndMerge =
function (objects, target) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: include(target, objects,
true, true);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: exports.recursiveMerge =
recursiveMerge;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
exports.assignOrWrapInDeprecateGetter = assignOrWrapInDeprecateGetter;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: exports.replaceHookForTesting
= function () {};
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: define("cordova/channel",
function(require, exports, module) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var nextGuid = 1;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Custom pub-sub "channel"
that can have functions subscribed to it
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * This object is used to
define and control firing of events for
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * cordova initialization, as
well as for custom events thereafter.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * The order of events during
page load and Cordova startup is as follows:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * onDOMContentLoaded*
Internal event that is received when the web page is loaded and parsed.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * onNativeReady*
Internal event that indicates the Cordova native side is ready.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * onCordovaReady*
Internal event fired when all Cordova JavaScript objects have been created.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * onDeviceReady*
User event fired to indicate that Cordova is ready
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * onResume
User event fired to indicate a start/resume lifecycle event
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * onPause
User event fired to indicate a pause lifecycle event
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * The events marked with an *
are sticky. Once they have fired, they will stay in the fired state.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * All listeners that
subscribe after the event is fired will be executed right away.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * The only Cordova events
that user code should register for are:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * deviceready
Cordova native code is initialized and Cordova APIs can be called from JavaScript
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * pause
App has moved to background
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * resume
App has returned to foreground
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Listeners can be registered
as:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("deviceready", myDeviceReadyListener, false);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("resume", myResumeListener, false);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
document.addEventListener("pause", myPauseListener, false);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * The DOM lifecycle events
should be used for saving and restoring state
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * window.onload
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * window.onunload
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Channel
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * @constructor
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * @param type String the
channel name
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var Channel = function (type,
sticky) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: this.type = type;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: this.handlers = {};
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: this.state = sticky ? 1 :
0;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: this.fireArgs = null;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: this.numHandlers = 0;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange = null;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var channel = {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Calls the provided
function only after all of the channels specified
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * have been fired. All
channels must be sticky channels.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: join: function (h, c) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var len = c.length;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var i = len;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var f = function () {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (!(--i)) h();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: for (var j = 0; j <
len; j++) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (c[j].state ===
0) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: throw
Error('Can only use join with sticky channels.');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: c[j].subscribe(f);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (!len) h();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /* eslint-disable no-
return-assign */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: create: function (type) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, false);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: createSticky: function
(type) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return channel[type] =
new Channel(type, true);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /* eslint-enable no-
return-assign */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * cordova Channels that
must fire before "deviceready" is fired.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsArray:
[],
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: deviceReadyChannelsMap:
{},
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Indicate that a feature
needs to be initialized before it is ready to be used.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * This holds up Cordova's
"deviceready" event until the feature has been initialized
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * and
Cordova.initComplete(feature) is called.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: waitForInitialization:
function (feature) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (feature) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var c =
channel[feature] || this.createSticky(feature);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsMap[feature] = c;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
this.deviceReadyChannelsArray.push(c);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Indicate that
initialization code has completed and the feature is ready to be used.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * @param feature {String}
The unique feature name
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: initializationComplete:
function (feature) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var c =
this.deviceReadyChannelsMap[feature];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (c) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: c.fire();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function
checkSubscriptionArgument (argument) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeof argument !==
'function' && typeof argument.handleEvent !== 'function') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: throw new Error(
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: 'Must provide a
function or an EventListener object ' +
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: 'implementing
the handleEvent interface.'
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: );
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Subscribes the given
function to the channel. Any time that
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Channel.fire is called so
too will the function.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Optionally specify an
execution context for the function
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * and a guid that can be used
to stop subscribing to the channel.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Returns the guid.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: Channel.prototype.subscribe =
function (eventListenerOrFunction, eventListener) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var handleEvent, guid;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: eventListener =
eventListenerOrFunction;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (this.state === 2) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
handleEvent.apply(eventListener || this, this.fireArgs);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: guid =
eventListenerOrFunction.observer_guid;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (typeof eventListener
=== 'object') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: handleEvent =
utils.close(eventListener, handleEvent);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (!guid) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: guid = '' + nextGuid+
+;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: handleEvent.observer_guid
= guid;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
eventListenerOrFunction.observer_guid = guid;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (!this.handlers[guid])
{
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: this.handlers[guid] =
handleEvent;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: this.numHandlers++;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 1) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Unsubscribes the function
with the given guid from the channel.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: Channel.prototype.unsubscribe
= function (eventListenerOrFunction) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
checkSubscriptionArgument(eventListenerOrFunction);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var handleEvent, guid,
handler;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if
(eventListenerOrFunction && typeof eventListenerOrFunction === 'object') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction.handleEvent;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: handleEvent =
eventListenerOrFunction;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: guid =
handleEvent.observer_guid;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: handler =
this.handlers[guid];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (handler) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: delete
this.handlers[guid];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: this.numHandlers--;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (this.numHandlers
=== 0) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Calls all functions
subscribed to this channel.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: Channel.prototype.fire =
function (e) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var fail = false;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var fireArgs =
Array.prototype.slice.call(arguments);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (this.state === 1) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: this.state = 2;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: this.fireArgs =
fireArgs;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (this.numHandlers) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var toCall = [];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: for (var item in
this.handlers) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
toCall.push(this.handlers[item]);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
toCall.length; ++i) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
toCall[i].apply(this, fireArgs);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (this.state === 2
&& this.numHandlers) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: this.numHandlers =
0;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: this.handlers =
{};
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
this.onHasSubscribersChange && this.onHasSubscribersChange();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDOMContentLoaded');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onNativeReady');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onCordovaReady');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onPluginsReady');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
channel.createSticky('onDeviceReady');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: channel.create('onResume');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: channel.create('onPause');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onCordovaReady');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
channel.waitForInitialization('onDOMContentLoaded');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: module.exports = channel;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: define("cordova/exec",
function(require, exports, module) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Execute a cordova command.
It is up to the native side whether this action
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * is synchronous or
asynchronous. The native side can return:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Synchronous:
PluginResult object as a JSON string
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * Asynchronous: Empty
string ""
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * If async, the native side
will cordova.callbackSuccess or cordova.callbackError,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * depending upon the result
of the action.
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * @param {Function} success
The success callback
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * @param {Function} fail
The fail callback
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * @param {String} service
The name of the service to use
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * @param {String} action
Action to be run in cordova
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: * @param {String[]} [args]
Zero or more arguments to pass to the method
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova'),
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: nativeApiProvider =
require('cordova/android/nativeapiprovider'),
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: utils =
require('cordova/utils'),
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: base64 =
require('cordova/base64'),
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: channel =
require('cordova/channel'),
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: jsToNativeModes = {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: PROMPT: 0,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: JS_OBJECT: 1
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: nativeToJsModes = {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: POLLING: 0,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: LOAD_URL: 1,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: ONLINE_EVENT: 2,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: EVAL_BRIDGE: 3
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
nativeToJsModes.EVAL_BRIDGE,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: pollEnabled = false,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: bridgeSecret = -1;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var messagesFromNative = [];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var isProcessing = false;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var resolvedPromise = typeof
Promise == 'undefined' ? null : Promise.resolve();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var nextTick = resolvedPromise
? function(fn) { resolvedPromise.then(fn); } : function(fn) { setTimeout(fn); };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function androidExec(success,
fail, service, action, args) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: throw new
Error('exec() called without bridgeSecret');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
=== undefined) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: args = args || [];
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
args.length; i++) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if
(utils.typeName(args[i]) == 'ArrayBuffer') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: args[i] =
base64.fromArrayBuffer(args[i]);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var callbackId = service +
cordova.callbackId++,
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: argsJson =
JSON.stringify(args);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (success || fail) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
cordova.callbacks[callbackId] = {success:success, fail:fail};
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().exec(bridgeSecret, service, action, callbackId, argsJson);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (jsToNativeBridgeMode
== jsToNativeModes.JS_OBJECT && msgs === "@Null arguments.") {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.PROMPT);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: androidExec(success,
fail, service, action, args);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else if (msgs) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: androidExec.init = function()
{
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: bridgeSecret = +prompt('',
'gap_init:' + nativeToJsBridgeMode);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function
pollOnceFromOnlineEvent() {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: pollOnce(true);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function
pollOnce(opt_fromOnlineEvent) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (bridgeSecret < 0) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var msgs =
nativeApiProvider.get().retrieveJsMessages(bridgeSecret, !!opt_fromOnlineEvent);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (msgs) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
messagesFromNative.push(msgs);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: processMessages();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function pollingTimerFunc() {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (pollEnabled) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: pollOnce();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 50);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function hookOnlineApis() {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function proxyEvent(e) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
cordova.fireWindowEvent(e.type);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
window.addEventListener('online', pollOnceFromOnlineEvent, false);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
window.addEventListener('offline', pollOnceFromOnlineEvent, false);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('online');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
cordova.addWindowEventHandler('offline');
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
document.addEventListener('online', proxyEvent, false);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
document.addEventListener('offline', proxyEvent, false);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: hookOnlineApis();
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: androidExec.jsToNativeModes =
jsToNativeModes;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: androidExec.nativeToJsModes =
nativeToJsModes;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
androidExec.setJsToNativeBridgeMode = function(mode) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (mode ==
jsToNativeModes.JS_OBJECT && !window._cordovaNative) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: mode =
jsToNativeModes.PROMPT;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.setPreferPrompt(mode == jsToNativeModes.PROMPT);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: jsToNativeBridgeMode =
mode;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
androidExec.setNativeToJsBridgeMode = function(mode) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsBridgeMode) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (nativeToJsBridgeMode
== nativeToJsModes.POLLING) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: pollEnabled = false;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: nativeToJsBridgeMode =
mode;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (bridgeSecret >= 0) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
nativeApiProvider.get().setNativeToJsBridgeMode(bridgeSecret, mode);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (mode ==
nativeToJsModes.POLLING) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: pollEnabled = true;
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
setTimeout(pollingTimerFunc, 1);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: function buildPayload(payload,
message) {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var payloadKind =
message.charAt(0);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: if (payloadKind == 's') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
payload.push(message.slice(1));
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
't') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: payload.push(true);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'f') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: payload.push(false);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'N') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: payload.push(null);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'n') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
payload.push(+message.slice(1));
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'A') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var data =
message.slice(1);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
payload.push(base64.toArrayBuffer(data));
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'S') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl:
payload.push(window.atob(message.slice(1)));
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: } else if (payloadKind ==
'M') {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var multipartMessages
= message.slice(1);
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: while
(multipartMessages !== "") {
04-05 14:33:54.777 10638 10638 D CordovaWebViewImpl: var spaceIdx =
multipartMessages.indexOf(' ');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var msgLen =
+multipartMessages.slice(0, spaceIdx);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var
multipartMessage = multipartMessages.substr(spaceIdx + 1, msgLen);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: multipartMessages
= multipartMessages.slice(spaceIdx + msgLen + 1);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
buildPayload(payload, multipartMessage);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
payload.push(JSON.parse(message));
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function
processMessage(message) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var firstChar =
message.charAt(0);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (firstChar == 'J') {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
eval(message.slice(1));
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else if (firstChar ==
'S' || firstChar == 'F') {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var success =
firstChar == 'S';
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var keepCallback =
message.charAt(1) == '1';
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var spaceIdx =
message.indexOf(' ', 2);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var status =
+message.slice(2, spaceIdx);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var nextSpaceIdx =
message.indexOf(' ', spaceIdx + 1);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var callbackId =
message.slice(spaceIdx + 1, nextSpaceIdx);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var payloadMessage =
message.slice(nextSpaceIdx + 1);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var payload = [];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: buildPayload(payload,
payloadMessage);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordova.callbackFromNative(callbackId, success, status, payload, keepCallback);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
console.log("processMessage failed: invalid message: " + JSON.stringify(message));
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function processMessages() {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (isProcessing) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length === 0) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: isProcessing = true;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: try {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var msg =
popMessageFromQueue();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (msg == '*' &&
messagesFromNative.length === 0) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
nextTick(pollOnce);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: processMessage(msg);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } finally {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: isProcessing = false;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if
(messagesFromNative.length > 0) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
nextTick(processMessages);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function popMessageFromQueue()
{
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var messageBatch =
messagesFromNative.shift();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (messageBatch == '*') {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return '*';
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var spaceIdx =
messageBatch.indexOf(' ');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var msgLen =
+messageBatch.slice(0, spaceIdx);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var message =
messageBatch.substr(spaceIdx + 1, msgLen);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: messageBatch =
messageBatch.slice(spaceIdx + msgLen + 1);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (messageBatch) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
messagesFromNative.unshift(messageBatch);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return message;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: module.exports = androidExec;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: define("cordova/exec/proxy",
function(require, exports, module) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var CommandProxyMap = {};
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: add: function (id,
proxyObj) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: console.log('adding
proxy for ' + id);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
proxyObj;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return proxyObj;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: remove: function (id) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var proxy =
CommandProxyMap[id];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: delete
CommandProxyMap[id];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: CommandProxyMap[id] =
null;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return proxy;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: get: function (service,
action) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return
(CommandProxyMap[service] ? CommandProxyMap[service][action] : null);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: define("cordova/init",
function(require, exports, module) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var platform =
require('cordova/platform');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var pluginloader =
require('cordova/pluginloader');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var utils =
require('cordova/utils');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var platformInitChannelsArray
= [channel.onNativeReady, channel.onPluginsReady];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function logUnfiredChannels
(arr) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
arr.length; ++i) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (arr[i].state !==
2) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
console.log('Channel not fired: ' + arr[i].type);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: window.setTimeout(function ()
{
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if
(channel.onDeviceReady.state !== 2) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
console.log('deviceready has not fired after 5 seconds.');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(platformInitChannelsArray);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
logUnfiredChannels(channel.deviceReadyChannelsArray);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }, 5000);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function replaceNavigator
(origNavigator) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var CordovaNavigator =
function () {};
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: CordovaNavigator.prototype
= origNavigator;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var newNavigator = new
CordovaNavigator();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (CordovaNavigator.bind)
{
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (var key in
origNavigator) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (typeof
origNavigator[key] === 'function') {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
newNavigator[key] = origNavigator[key].bind(origNavigator);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: (function (k)
{
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
utils.defineGetterSetter(newNavigator, key, function () {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return
origNavigator[k];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: })(key);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return newNavigator;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (window.navigator) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: window.navigator =
replaceNavigator(window.navigator);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (!window.console) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: window.console = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: log: function () {}
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (!window.console.warn) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: window.console.warn =
function (msg) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: this.log('warn: ' +
msg);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: channel.onPause =
cordova.addDocumentEventHandler('pause');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: channel.onResume =
cordova.addDocumentEventHandler('resume');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: channel.onActivated =
cordova.addDocumentEventHandler('activated');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: channel.onDeviceReady =
cordova.addStickyDocumentEventHandler('deviceready');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (document.readyState ===
'complete' || document.readyState === 'interactive') {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
document.addEventListener('DOMContentLoaded', function () {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
channel.onDOMContentLoaded.fire();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }, false);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (window._nativeReady) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
channel.onNativeReady.fire();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova', 'cordova');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'cordova.exec');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/exec', 'Cordova.exec');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: platform.bootstrap &&
platform.bootstrap();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: setTimeout(function () {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: pluginloader.load(function
() {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
channel.onPluginsReady.fire();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }, 0);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Create all cordova objects
once native side is ready.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
modulemapper.mapModules(window);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: platform.initialize &&
platform.initialize();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.fire();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: channel.join(function () {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
require('cordova').fireDocumentEvent('deviceready');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
channel.deviceReadyChannelsArray);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }, platformInitChannelsArray);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: define("cordova/modulemapper",
function(require, exports, module) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var builder =
require('cordova/builder');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var moduleMap =
define.moduleMap;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var symbolList;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var deprecationMap;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exports.reset = function () {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: symbolList = [];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: deprecationMap = {};
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function addEntry (strategy,
moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (!(moduleName in
moduleMap)) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: throw new
Error('Module ' + moduleName + ' does not exist.');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: symbolList.push(strategy,
moduleName, symbolPath);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if
(opt_deprecationMessage) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
deprecationMap[symbolPath] = opt_deprecationMessage;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exports.clobbers = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: addEntry('c', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exports.merges = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: addEntry('m', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exports.defaults = function
(moduleName, symbolPath, opt_deprecationMessage) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: addEntry('d', moduleName,
symbolPath, opt_deprecationMessage);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exports.runs = function
(moduleName) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: addEntry('r', moduleName,
null);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function prepareNamespace
(symbolPath, context) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (!symbolPath) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return context;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cur = context;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (var i = 0, part; part
= parts[i]; ++i) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cur = cur[part] =
cur[part] || {};
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return cur;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exports.mapModules = function
(context) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var origSymbols = {};
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: context.CDV_origSymbols =
origSymbols;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (var i = 0, len =
symbolList.length; i < len; i += 3) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var strategy =
symbolList[i];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var moduleName =
symbolList[i + 1];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var module =
require(moduleName);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (strategy === 'r')
{
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: continue;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var symbolPath =
symbolList[i + 2];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var lastDot =
symbolPath.lastIndexOf('.');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var namespace =
symbolPath.substr(0, lastDot);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var lastName =
symbolPath.substr(lastDot + 1);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var deprecationMsg =
symbolPath in deprecationMap ? 'Access made to deprecated symbol: ' + symbolPath +
'. ' + deprecationMsg : null;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var parentObj =
prepareNamespace(namespace, context);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var target =
parentObj[lastName];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (strategy === 'm'
&& target) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
builder.recursiveMerge(target, module);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else if ((strategy
=== 'd' && !target) || (strategy !== 'd')) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (!(symbolPath
in origSymbols)) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
origSymbols[symbolPath] = target;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
builder.assignOrWrapInDeprecateGetter(parentObj, lastName, module, deprecationMsg);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exports.getOriginalSymbol =
function (context, symbolPath) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var origSymbols =
context.CDV_origSymbols;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (origSymbols &&
(symbolPath in origSymbols)) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return
origSymbols[symbolPath];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var parts =
symbolPath.split('.');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var obj = context;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
parts.length; ++i) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: obj = obj &&
obj[parts[i]];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exports.reset();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: define("cordova/platform",
function(require, exports, module) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var lastResumeEvent = null;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: id: 'android',
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: bootstrap: function() {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var channel =
require('cordova/channel'),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cordova =
require('cordova'),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exec =
require('cordova/exec'),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: modulemapper =
require('cordova/modulemapper');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exec.init();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers('cordova/plugin/android/app', 'navigator.app');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(cordova.platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' : 'App';
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var backButtonChannel
= cordova.addDocumentEventHandler('backbutton');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
backButtonChannel.onHasSubscribersChange = function() {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [this.numHandlers == 1]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('menubutton');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordova.addDocumentEventHandler('searchbutton');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function
bindButtonChannel(buttonName) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var
volumeButtonChannel = cordova.addDocumentEventHandler(buttonName + 'button');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
volumeButtonChannel.onHasSubscribersChange = function() {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exec(null,
null, APP_PLUGIN_NAME, "overrideButton", [buttonName, this.numHandlers == 1]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumeup');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
bindButtonChannel('volumedown');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var
cordovaAddEventListener = document.addEventListener;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
document.addEventListener = function(evt, handler, capture) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaAddEventListener(evt, handler, capture);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (evt ===
'resume' && lastResumeEvent) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
handler(lastResumeEvent);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
channel.onCordovaReady.subscribe(function() {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
exec(onMessageFromNative, null, APP_PLUGIN_NAME, 'messageChannel', []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "show", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function
onMessageFromNative(msg) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordova =
require('cordova');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var action = msg.action;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: switch (action)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: case 'backbutton':
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: case 'menubutton':
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: case 'searchbutton':
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: case 'pause':
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: case
'volumedownbutton':
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: case 'volumeupbutton':
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: case 'resume':
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
if(arguments.length > 1 && msg.pendingResult) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
if(arguments.length === 2) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = arguments[1];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var res =
[];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for(var i
= 1; i < arguments.length; i++) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
res.push(arguments[i]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
msg.pendingResult.result = res;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
lastResumeEvent = msg;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordova.fireDocumentEvent(action, msg);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: default:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: throw new
Error('Unknown event action ' + action);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
define("cordova/plugin/android/app", function(require, exports, module) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var exec =
require('cordova/exec');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var APP_PLUGIN_NAME =
Number(require('cordova').platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' :
'App';
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Clear the resource
cache.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: clearCache:function() {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearCache", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Load the url into the
webview or into new browser instance.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * @param url The
URL to load
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * @param props
Properties that can be passed in to the activity:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * wait: int
=> wait msec before loading URL
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * loadingDialog:
"Title,Message" => display a native loading dialog
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
loadUrlTimeoutValue: int => time in msec to wait before triggering a
timeout error
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * clearHistory:
boolean => clear webview history (default=false)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * openExternal:
boolean => open in a new browser (default=false)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Example:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
navigator.app.loadUrl("http:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: loadUrl:function(url,
props) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "loadUrl", [url, props]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Cancel loadUrl that is
waiting to be loaded.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cancelLoadUrl:function() {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "cancelLoadUrl", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Clear web history in
this web view.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Instead of BACK button
loading the previous web page, it will exit the app.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: clearHistory:function() {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "clearHistory", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Go to previous page
displayed.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * This is the same as
pressing the backbutton on Android device.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: backHistory:function() {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "backHistory", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android back button.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * If overridden, when the
back button is pressed, the "backKeyDown" JavaScript event will be fired.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * registers for the
"backbutton" event, this is automatically done.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
overrideBackbutton:function(override) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideBackbutton", [override]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Override the default
behavior of the Android volume button.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * If overridden, when the
volume button is pressed, the "volume[up|down]button"
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * JavaScript event will be
fired.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Note: The user should
not have to call this method. Instead, when the user
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * registers for the
"volume[up|down]button" event, this is automatically done.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * @param button
volumeup, volumedown
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * @param override
T=override, F=cancel override
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
overrideButton:function(button, override) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exec(null, null,
APP_PLUGIN_NAME, "overrideButton", [button, override]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Exit and terminate the
application.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exitApp:function() {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return exec(null,
null, APP_PLUGIN_NAME, "exitApp", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: define("cordova/pluginloader",
function(require, exports, module) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var modulemapper =
require('cordova/modulemapper');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exports.injectScript =
function (url, onload, onerror) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var script =
document.createElement('script');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: script.onload = onload;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: script.onerror = onerror;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: script.src = url;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
document.head.appendChild(script);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function injectIfNecessary
(id, url, onload, onerror) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: onerror = onerror ||
onload;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
exports.injectScript(url, function () {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (id in
define.moduleMap) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: onload();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: onerror();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }, onerror);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function
onScriptLoadingComplete (moduleList, finishPluginLoading) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (var i = 0, module;
module = moduleList[i]; i++) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (module.clobbers &&
module.clobbers.length) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (var j = 0; j
< module.clobbers.length; j++) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
modulemapper.clobbers(module.id, module.clobbers[j]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (module.merges &&
module.merges.length) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (var k = 0; k
< module.merges.length; k++) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
modulemapper.merges(module.id, module.merges[k]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (module.runs) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
modulemapper.runs(module.id);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function handlePluginsObject
(path, moduleList, finishPluginLoading) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var scriptCounter =
moduleList.length;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (!scriptCounter) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: finishPluginLoading();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function
scriptLoadedCallback () {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (!--scriptCounter)
{
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
onScriptLoadingComplete(moduleList, finishPluginLoading);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
moduleList.length; i++) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
injectIfNecessary(moduleList[i].id, path + moduleList[i].file,
scriptLoadedCallback);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function findCordovaPath () {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var path = null;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var scripts =
document.getElementsByTagName('script');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var term = '/cordova.js';
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (var n =
scripts.length - 1; n > -1; n--) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var src =
scripts[n].src.replace(/\?.*$/, '');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (src.indexOf(term)
=== (src.length - term.length)) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: path =
src.substring(0, src.length - term.length) + '/';
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: break;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exports.load = function
(callback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var pathPrefix =
findCordovaPath();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (pathPrefix === null) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: console.log('Could not
find cordova.js script tag. Plugin loading may fail.');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: pathPrefix = '';
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
injectIfNecessary('cordova/plugin_list', pathPrefix + 'cordova_plugins.js',
function () {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var moduleList =
require('cordova/plugin_list');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
handlePluginsObject(pathPrefix, moduleList, callback);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }, callback);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: define("cordova/urlutil",
function(require, exports, module) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * For already absolute URLs,
returns what is passed in.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * For relative URLs, converts
them to absolute ones.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exports.makeAbsolute =
function makeAbsolute (url) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var anchorEl =
document.createElement('a');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: anchorEl.href = url;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return anchorEl.href;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: define("cordova/utils",
function(require, exports, module) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var utils = exports;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Defines a property getter /
setter for obj[key].
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: utils.defineGetterSetter =
function (obj, key, getFunc, opt_setFunc) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (Object.defineProperty)
{
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var desc = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: get: getFunc,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: configurable: true
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: desc.set =
opt_setFunc;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
Object.defineProperty(obj, key, desc);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
obj.__defineGetter__(key, getFunc);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (opt_setFunc) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
obj.__defineSetter__(key, opt_setFunc);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Defines a property getter
for obj[key].
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: utils.defineGetter =
utils.defineGetterSetter;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: utils.arrayIndexOf = function
(a, item) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (a.indexOf) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return
a.indexOf(item);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var len = a.length;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (var i = 0; i < len; +
+i) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (a[i] === item) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return i;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Returns whether the item
was found in the array.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: utils.arrayRemove = function
(a, item) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var index =
utils.arrayIndexOf(a, item);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (index !== -1) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: a.splice(index, 1);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return index !== -1;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: utils.typeName = function
(val) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return
Object.prototype.toString.call(val).slice(8, -1);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is an array or not
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: utils.isArray = Array.isArray
||
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function (a) {
return utils.typeName(a) === 'Array'; };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Returns an indication of
whether the argument is a Date or not
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: utils.isDate = function (d) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return (d instanceof
Date);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Does a deep clone of the
object.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: utils.clone = function (obj) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (!obj || typeof obj ===
'function' || utils.isDate(obj) || typeof obj !== 'object') {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return obj;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var retVal, i;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (utils.isArray(obj)) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: retVal = [];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (i = 0; i <
obj.length; ++i) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
retVal.push(utils.clone(obj[i]));
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: retVal = {};
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (i in obj) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if ((!(i in retVal) ||
retVal[i] !== obj[i]) && typeof obj[i] !== 'undefined' && typeof obj[i] !==
'unknown') {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: retVal[i] =
utils.clone(obj[i]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return retVal;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Returns a wrapped version
of the function
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: utils.close = function
(context, func, params) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return function () {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var args = params ||
arguments;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return
func.apply(context, args);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function UUIDcreatePart
(length) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var uuidpart = '';
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (var i = 0; i <
length; i++) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var uuidchar =
parseInt((Math.random() * 256), 10).toString(16);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (uuidchar.length
=== 1) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: uuidchar = '0' +
uuidchar;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: uuidpart += uuidchar;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return uuidpart;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Create a UUID
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: utils.createUUID = function ()
{
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return UUIDcreatePart(4) +
'-' +
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(2) +
'-' +
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: UUIDcreatePart(6);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Extends a child object from
a parent object using classical inheritance
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * pattern.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: utils.extend = (function () {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var F = function () {};
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return function (Child,
Parent) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: F.prototype =
Parent.prototype;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: Child.prototype = new
F();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: Child.__super__ =
Parent.prototype;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
Child.prototype.constructor = Child;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }());
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /**
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Alerts a message in any
available way: alert or console.log.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: utils.alert = function (msg) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (window.alert) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: window.alert(msg);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else if (console &&
console.log) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: console.log(msg);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: window.cordova =
require('cordova');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: require('cordova/init');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: })();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordova.define('cordova/plugin_list', function(require, exports, module) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: module.exports = [
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/vuforia.js",
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.vuforia",
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "vuforia"
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: ]
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/identity_resolution.js",
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.irs",
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "irs"
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: ]
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "file":
"plugins/cordova-plugin-thingx/www/intent_navigation_filter.js",
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "id": "cordova-plugin-
thingx.inf",
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "clobbers": [
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "inf"
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: ]
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: ];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: module.exports.metadata =
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "cordova-plugin-
whitelist": "1.3.3",
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: "cordova-plugin-thingx":
"1.0.0"
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.inf", function(require, exports, module) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: allowIntent: function
(theURL, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowIntent",
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: allowNavigation: function
(theURL, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
"IntentAndNavigationFilter", "allowNavigation",
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
[theURL, window.location.href]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.vuforia", function(require, exports, module) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * In case a new method is
created then follow following pattern:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * function(params,
successCallback, errorCallback)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * If there is a new
parameter required to be added to existing method then
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * follow following pattern:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * function(...args)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Note: Check add3DImage
function on how both old and new methods are supported for adding
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * new param.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function resolvePath(names) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var split = names.split("
");
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var result = "";
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var path =
location.pathname;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var lastIndexOfSlash =
path.lastIndexOf('/');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: path = path.substr(0,
lastIndexOfSlash);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: for (var
i=0;i<split.length;i++) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var name = split[i];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (lastIndexOfSlash >
-1) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (result.length
> 0) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: result += " ";
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if
(name.startsWith("/")) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: result +=
location.origin + name;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: result +=
location.origin + path + "/" + name;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return result;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function
resolvePathIfNeeded(path) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return
resolvePath(path);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function sanitizeURL(path) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if ( path && !
((path.indexOf("http:") === 0) || (path.indexOf("https:") === 0) ||
(path.indexOf("file:") === 0) || (path.indexOf("data:") === 0)) ) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (path.indexOf(' ')
>= 0) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return
encodeURI(path);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return path;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function asBoolean(arg) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"boolean") {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"string") {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var larg =
arg.toLowerCase();
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return larg ===
"true";
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (typeof(arg) ===
"number") {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return arg !== 0;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return !!arg;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function asString(arg) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"string") {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return "" + arg;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function asNumber(arg) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (arg === null ||
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: arg === undefined ||
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: typeof(arg) ===
"number") {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return arg;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return Number(arg);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: function
asThreeStateBoolean(arg) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (arg === null || arg
=== undefined) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return -1;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (arg === "true" || arg
=== true) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return 1;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (arg === "false" || arg
=== false) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return 0;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: return asNumber(arg);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: initializeAR: function
(arMechanism, maxtrackers, extendedtracking, persistmap, near, far,
successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initializeAR",
[asString(arMechanism),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(maxtrackers),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asBoolean(extendedtracking),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asBoolean(persistmap),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(near),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(far)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: setViewProperties:
function(properties, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{ };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if
(properties.dropshadow !== undefined) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties.dropshadow);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaParams.dropshadow = asBoolean(properties["experimental-dropshadow"]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setViewProperties",
[cordovaParams]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: showARView: function
(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "showARView", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cleanUpAndPause: function
(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndPause",
[]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: pauseAR: function
(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "pauseAR", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: resumeAR: function
(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resumeAR", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: lockCameraAndOrientation:
function (successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"lockCameraAndOrientation", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
unlockCameraAndOrientation: function (successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"unlockCameraAndOrientation", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cleanUpAndContinue:
function (successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "cleanUpAndContinue",
[]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: resetSpatialTracking:
function (successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetSpatialTracking", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: getTracked: function
(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getTracked", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: loadTrackerDef: function
(markerSet, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var ms = (markerSet
=== undefined) ? [] : markerSet;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadTrackerDef", [ms,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
window.location.href]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: addTracker: function
(nameOrParams, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var options =
nameOrParams;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if
(typeof(nameOrParams) === "string") {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: options = { name:
nameOrParams, trackingHints: { stationary: true } };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: options.name =
asString(options.name);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: options.trackingHints
= (options.trackingHints === undefined) ? {} : options.trackingHints;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
options.trackingHints.stationary = (options.trackingHints.stationary === false) ?
false : true;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addTracker",
[options]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: add3DObject: function
(trackerName, name, vertices, normals, texCoords, indexes, color, texture, parent,
successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DObject",
[asString(trackerName),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
normals,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
texCoords,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: addPVS: function
(trackerName, name, url, cull, parent, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: url =
resolvePathIfNeeded(sanitizeURL(url));
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addPVS",
[asString(trackerName),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(url),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: addLeaderLine: function
(trackerName, name, vertices, color, texture,
nbScreenCoord,pointSize,lineWidth,parent, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var
nbsc=(nbScreenCoord === undefined) ? "0" : nbScreenCoord;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var ps=(pointSize ===
undefined) ? "40" : pointSize;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var lw=(lineWidth ===
undefined) ? "5" : lineWidth;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addLeaderLine",
[asString(trackerName),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
vertices,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(nbsc),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(ps),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(lw),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: append3DObject: function
(name, mode, indexes, color, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "append3DObject",
[asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(mode),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
indexes,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
color
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: addEmitter: function
(trackerName, name, particles, radius, velocity, decay, gravity, spread, size,
mass, rate, wind, blend, color, texture, parent, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addEmitter",
[asString(trackerName),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(particles),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(radius),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(velocity),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(decay),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(gravity),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(spread),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(size),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(mass),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(rate),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
wind,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(blend),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
color,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
texture,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
undefined
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /*
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: addGroup: function
(trackerName, name, cull, parent, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addGroup",
[asString(trackerName),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asBoolean(cull),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(parent)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: addMarker: function
(trackerName, name, src, size, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "addMarker",
[asString(trackerName),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(src),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(size)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: add3DImage: function
(...args) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: let tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, preload, successCallback,
errorCallback;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (typeof args[0] ===
'object') {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: let params;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: [params,
successCallback, errorCallback] = args;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: ({tracker, id,
src, parent, leaderX, leaderY, anchor, width, height, pivot, preload} = params);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else if (typeof
args[0] === 'string') {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: preload = true;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: [tracker, id, src,
parent, leaderX, leaderY, anchor, width, height, pivot, successCallback,
errorCallback] = args;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: throw new
Error('add3DImage call with invalid args');
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: src =
resolvePathIfNeeded(src);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "add3DImage",
[asString(tracker),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(id),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
src,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
undefined,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(leaderX),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(leaderY),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(anchor),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(width),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(height),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(pivot)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: allowNextGesture:
function(params, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaParams =
{};
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "allowNextGesture",
[cordovaParams]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: loadViewState:
function(params, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: viewStateID:
asNumber(params.viewStateID)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadViewState",
[cordovaParams]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: loadPVI: function (params,
successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var encodedURL =
sanitizeURL(params.url);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: url:
asString(resolvePathIfNeeded(encodedURL))
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "loadPVI",
[cordovaParams]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: playStep: function
(params, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playStep",
[cordovaParams]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: gotoStep: function
(params, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: stepNumber:
asNumber(params.stepNumber),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: position:
asString(params.position)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "gotoStep",
[cordovaParams]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: setModelURL: function
(params, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var modelURL =
resolvePathIfNeeded(sanitizeURL(params.modelURL));
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: modelID:
asString(params.modelID),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: modelURL:
asString(modelURL)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setModelURL",
[cordovaParams]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: setTexture: function
(name, texture, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: texture =
resolvePathIfNeeded(texture);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTexture",
[asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
texture
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: setColor: function (name,
color, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setColor",
[asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
color
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: setVertices: function
(name, vertices, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setVertices",
[asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
vertices
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: insertGroupNode: function
(props, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "insertGroupNode",
[asString(props.name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(props.target)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: removeNode: function
(props, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "removeNode",
[asString(props.name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asBoolean(props.reparent)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: setProperties: function
(name, props, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var opacity
= (props.opacity === undefined) ? -1 : props.opacity;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var hidden
= (props.hidden === undefined) ? -1 : props.hidden;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var occlude
= (props.occlude === undefined) ? false : props.occlude;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var billboard
= (props.billboard === undefined) ? false : props.billboard;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var decal
= (props.decal === undefined) ? false : props.decal;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var shader
= (props.shader === undefined) ? null : props.shader;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var phantom
= (props.phantom === undefined) ? false : props.phantom;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var forceHidden
= (props.forceHidden === undefined) ? false : props.forceHidden;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var
experimentalOneSided = (props.experimentalOneSided === undefined) ? false :
props.experimentalOneSided;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setProperties",
[asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(opacity),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asThreeStateBoolean(hidden),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asBoolean(occlude),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asBoolean(billboard),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asBoolean(decal),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(shader),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asBoolean(phantom),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asBoolean(forceHidden),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asBoolean(experimentalOneSided)]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: getAllPropertyValues:
function (name, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"getAllPropertyValues", [asString(name)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: setTranslation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setTranslation",
[asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: setRotation: function
(name, ax, ay, az, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 0.0 : ax;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 0.0 : ay;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 0.0 : az;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setRotation",
[asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: setScale: function (name,
ax, ay, az, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var x = (ax ===
undefined) ? 1.0 : ax;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var y = (ay ===
undefined) ? 1.0 : ay;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var z = (az ===
undefined) ? 1.0 : az;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setScale",
[asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(z)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: setGestures: function
(params, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var gestures = {};
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableTranslate !== undefined) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
gestures.enableTranslate = asBoolean(params.gestures.enableTranslate);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableRotate !== undefined) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
gestures.enableRotate = asBoolean(params.gestures.enableRotate);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if
(params.gestures.enableScale !== undefined) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
gestures.enableScale = asBoolean(params.gestures.enableScale);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: nodeId:
asString(params.nodeId),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: gestures: gestures
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setGestures",
[cordovaParams]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: resetGestureTransforms:
function (successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"resetGestureTransforms", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: setupAREventsCommand:
function (successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupAREventsCommand", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
setupTrackingEventsCommand: function (successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"setupTrackingEventsCommand", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: transform: function (name,
dx, dy, dz, drx, dry, drz, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var x = (dx ===
undefined) ? 0.0 : dx;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var y = (dy ===
undefined) ? 0.0 : dy;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var z = (dz ===
undefined) ? 0.0 : dz;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var rx = (drx ===
undefined) ? 0.0 : drx;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var ry = (dry ===
undefined) ? 0.0 : dry;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var rz = (drz ===
undefined) ? 0.0 : drz;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "transform",
[asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(x),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(y),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(z),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(rx),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(ry),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(rz)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: resetAll: function
( successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "resetAll", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: reset: function (name,
successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "reset",
[asString(name)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: setShader: function (name,
vertex, fragment, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "setShader",
[asString(name),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(vertex),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(fragment)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: userPick: function
(params, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "userPick",
[asNumber(params.x),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asNumber(params.y)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: exitSpatialPlacementMode:
function(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia",
"exitSpatialPlacementMode", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: takeScreenshot:
function(params, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: withAugmentation:
asBoolean(params.withAugmentation),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: dataURL:
asBoolean(params.dataURL),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: imgFormat:
asString(params.imgFormat),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: imgWidth:
params.imgWidth,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: imgHeight:
params.imgHeight
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "takeScreenshot",
[cordovaParams]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: startBatch: function
(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startBatch", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: executeBatch: function
(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "executeBatch", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: scanForNextBarCode:
function(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "scanForNextBarCode",
[]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: stopBarCodeScanning:
function(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopBarCodeScanning",
[]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: playSxsl: function(params,
successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "playSxsl",
[asString(params.sxsl), window.location.href, params.autoOpenProcedure]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: goBack: function
(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "goBack", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
setupSpeechRecognitionCallback: function (params, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(function(guesses) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if
(successCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
successCallback(Array.isArray(guesses) ? guesses : null);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }, errorCallback,
"Vuforia", "setupSpeechRecognitionCallback", [asBoolean(params.unregister)]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: updateVoiceCommands:
function (params, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "updateVoiceCommands",
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
[asBoolean(params.clearCommands),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
params.commandsToRemove,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
params.commandsToAdd
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: ]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: forceRealWearRescan:
function(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "forceRealWearRescan",
[]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: getCameraImage:
function(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "getCameraImage", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: synthesizeSpeech:
function(params, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "synthesizeSpeech",
[asString(params.text),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
asString(params.locale)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: stopSpeaking:
function(successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopSpeaking", []);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /** Ask the native plugin
to start atom on the added augmentation */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: initAtom: function(params,
successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: atomName:
asString(params.atomName),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "initAtom",
[cordovaParams]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: startAtom:
function(params, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "startAtom",
[cordovaParams]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: stopAtom: function(params,
successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId)
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "stopAtom",
[cordovaParams]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: },
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: configureAtom:
function(params, successCallback, errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var configureAtom =
(params.objectSet === undefined) ? {} : params.objectSet;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaParams = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: atomID:
asString(params.atomInstanceId),
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: configureAtom:
configureAtom
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback, "Vuforia", "configureAtom",
[cordovaParams]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };});
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cordova.define("cordova-
plugin-thingx.irs", function(require, exports, module) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /* begin copyright text
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * Copyright © 2016 PTC Inc.,
Its Subsidiary Companies, and /or its Partners. All Rights Reserved.
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: *
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: * end copyright text
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: */
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: /*global cordova, module*/
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaProxy;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var cordovaMock = {};
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cordovaMock.exec = function ()
{
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var obj = arguments[2];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var func = arguments[3];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var successCb =
arguments[0];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var errorCb =
arguments[1];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: var args = arguments[4];
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: console.log("cordova.exec
called with %s.%s(%o)", obj, func, args);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: if (cordova.platformId !==
'browser') {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cordovaProxy = cordova;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: } else {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: cordovaProxy =
cordovaMock;
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: module.exports = {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: queryIdentityService:
function (theID, theContentType, useFeedback, notifyNativeCode, successCallback,
errorCallback) {
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
cordovaProxy.exec(successCallback, errorCallback,
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
"IdentityService", "queryIdentityService",
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
[theID, theContentType, useFeedback, notifyNativeCode]);
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: }
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: };
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: });
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl:
04-05 14:33:54.778 10638 10638 D CordovaWebViewImpl: window.thingworxview =
{"configuration":
{"nativeSequencer":true,"batchProcessing":true,"trackingHints":true,"setModelURL":t
rue}};},0);)
04-05 14:33:54.967 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:33:55.021 10638 10638 E TGX-JS-Console: "Uncaught Error: cordova already
defined", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
index.html?expId=1&vumark=1:4#/Home (1)
04-05 14:33:55.023 10638 10638 W TGX-JS-Console: "TML layer asked to emit an event
with no name!", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js (291)
04-05 14:33:55.025 10638 10638 E TGX-JS-Console: "Uncaught Error: cordova already
defined", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
index.html?expId=1&vumark=1:4#/Home (1)
04-05 14:33:55.085 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:55.085 10638 10743 I chatty : uid=10403(com.ptc.vuforiaview)
RenderThread identical 4 lines
04-05 14:33:55.085 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:55.094 10638 10638 W TGXSystemWebViewClient: onReceivedHttpError (not
on main frame): 404, Not Found, http://192.168.1.32:2019/favicon.ico
04-05 14:33:55.094 10638 10638 W TGXSystemWebViewClient: onReceivedHttpError (not
on main frame): 404, Not Found, http://192.168.1.32:2019/favicon.ico
04-05 14:33:55.107 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:55.107 10638 10743 I chatty : uid=10403(com.ptc.vuforiaview)
RenderThread identical 2 lines
04-05 14:33:55.107 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:55.152 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:55.465 10638 13027 I TGXInitHandler: Vuforia initialization successful.
04-05 14:33:55.474 10638 10638 I native : I0405 14:33:55.474594 10638
session.cc:1206] Entering Session::Resume.
04-05 14:33:55.478 10638 10638 I native : I0405 14:33:55.478040 10638
estimator_impl.cc:735] Resetting motion tracking from user request.
04-05 14:33:55.481 10638 10638 I native : I0405 14:33:55.481041 10638
session.cc:3334] Update Frame Delay to 0 frames.
04-05 14:33:55.481 10638 10638 I native : I0405 14:33:55.481194 10638
android_sensors.cc:212] Starting thread.
04-05 14:33:55.482 10638 10638 I native : I0405 14:33:55.482449 10638
logger.h:28] DataSourceMetrics: kStartImageSubSystem: 1.078692ms
04-05 14:33:55.482 10638 10638 I native : I0405 14:33:55.482550 10638
session.cc:1394] Session::ResumeWithAnalytics returning OK.
04-05 14:33:55.485 10638 13087 D libMEOW : applied 1 plugins for
[com.ptc.vuforiaview]:
04-05 14:33:55.485 10638 13087 D libMEOW : plugin 1: [libMEOW_gift.so]:
04-05 14:33:55.486 10638 13087 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:33:55.486 10638 13087 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:33:55.486 10638 13087 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:33:55.487 10638 13087 I libMEOW_gift: ctx:0xb400007b00769ca0, ARC not
Enabled.
04-05 14:33:55.487 10638 13087 I native : I0405 14:33:55.487418 13087
session.cc:3334] Update Frame Delay to 0 frames.
04-05 14:33:55.488 10638 13083 I native : I0405 14:33:55.488474 13083
android_sensors.cc:51] Gyro min delay 2.5ms requesting 5ms
04-05 14:33:55.488 10638 13087 I GED : [GT]_get_procNameprocess pid(10638)
04-05 14:33:55.489 10638 13087 I GED : [GT]_getprocess
name(com.ptc.vuforiaview)
04-05 14:33:55.489 10638 13087 I ptc.vuforiavie: [GT] ret(1) gt_status(00000000)
aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri
mask(00000002)
04-05 14:33:55.489 10638 13087 I libMEOW_gift: ctx:0xb400007b91a6e418, ARC not
Enabled.
04-05 14:33:55.489 10638 11130 E libc : Access denied finding property
"persist.vendor.camera.privapp.list"
04-05 14:33:55.492 10638 13083 I native : I0405 14:33:55.492124 13083
android_sensors.cc:51] Accel min delay 2.5ms requesting 5ms
04-05 14:33:55.494 10638 10638 I AR : Starting camera with profile for Redmi
Note 8 Pro, 0
04-05 14:33:55.495 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.498 10638 10666 E CameraManagerGlobal: Camera 61 is not available.
Ignore physical camera status change
04-05 14:33:55.505 10638 13088 I System.out: [okhttp]:check permission begin!
04-05 14:33:55.505 10638 13088 I System.out: [okhttp]:not MMS!
04-05 14:33:55.505 10638 13088 I System.out: [okhttp]:not Email!
04-05 14:33:55.505 10638 13088 I System.out: [OkHttp] sendRequest>>
04-05 14:33:55.505 10638 13088 I System.out: [OkHttp] sendRequest<<
04-05 14:33:55.509 10638 12841 W CameraManagerGlobal: ignore the torch status
update of camera: 21
04-05 14:33:55.510 10638 12841 W CameraManagerGlobal: ignore the torch status
update of camera: 22
04-05 14:33:55.511 10638 12841 W CameraManagerGlobal: ignore the torch status
update of camera: 61
04-05 14:33:55.516 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.524 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:55.524 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:55.524 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:55.524 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:55.538 10638 13103 I System.out: [okhttp]:check permission begin!
04-05 14:33:55.538 10638 13103 I System.out: [okhttp]:not MMS!
04-05 14:33:55.538 10638 13103 I System.out: [okhttp]:not Email!
04-05 14:33:55.538 10638 13103 I System.out: [OkHttp] sendRequest>>
04-05 14:33:55.538 10638 13103 I System.out: [OkHttp] sendRequest<<
04-05 14:33:55.549 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.582 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.604 10638 11150 I BufferQueueProducer: [ImageReader-
1920x1080f22u256m16-10638-0](id:298e00000000,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=true
04-05 14:33:55.605 10638 11150 I BufferQueueProducer: [ImageReader-640x480f23m16-
10638-0](id:298e00000001,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=false
04-05 14:33:55.606 10638 11150 I BufferQueueProducer: [ImageReader-1920x1080f23m16-
10638-1](id:298e00000002,api:4,p:858,c:10638) connect(): api=4
producerControlledByApp=false
04-05 14:33:55.615 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.648 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.666 10638 13027 D AnalyticsSDK: Event is valid
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: Message that has been sent to
https://usageservice.prod.vuforia.com/v3/metric or stored if offline: {
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "application": {
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "name": "Vuforia View",
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "version": "9.3.2.2749"
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: },
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "custom": {
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "applicationLaunchUUID":
"36cf2f46-af33-4ca8-af00-4d15c76b758f",
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "target": {
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "targetType": "vumark"
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: }
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: },
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "device": {
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "id": "65ecdd80-e96d-45e3-
8dec-98d6f18bf35f",
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "model": "Xiaomi Redmi Note
8 Pro",
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "version": "1.0.0"
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: },
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "event": {
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "result": "success",
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "timestamp": "2022-04-
05T11:33:55Z",
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "type": "targetLoaded",
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "version": "1.0.0"
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: },
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "os": {
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "locale": "ru-RU",
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "name": "Android",
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "version": "30"
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: },
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "service": {
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "host":
"9f51319760faae1e51d4d5f983321f061c369099cac1fee8b9135379bd60ce86"
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: },
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "subject": {
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: "id":
"98d3259f0ef8b8d82ad9b778111a1540a40f9325e34ff5f89bc990cc3e8e2ddb"
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: }
04-05 14:33:55.667 10638 13027 D AnalyticsSDK: }
04-05 14:33:55.668 10638 10638 I TGX : TGXTrackerDataLoadHandler: Vuforia::
Tracker loading succeeded
04-05 14:33:55.681 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.698 10638 10638 I TGX-JS-Console: "addFunctionAddAPICallCallback
called for ID: model-1", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js (1940)
04-05 14:33:55.707 10638 10638 I TGX-JS-Console: "addFunctionAddAPICallCallback
called for ID: thingMark-1-image", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js (1940)
04-05 14:33:55.714 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.715 10638 13195 I System.out: [okhttp]:check permission begin!
04-05 14:33:55.715 10638 13195 I System.out: [okhttp]:not MMS!
04-05 14:33:55.715 10638 13195 I System.out: [okhttp]:not Email!
04-05 14:33:55.716 10638 13195 I System.out: [OkHttp] sendRequest>>
04-05 14:33:55.716 10638 13195 I System.out: [OkHttp] sendRequest<<
04-05 14:33:55.726 10638 13197 I System.out: [okhttp]:check permission begin!
04-05 14:33:55.726 10638 13197 I System.out: [okhttp]:not MMS!
04-05 14:33:55.726 10638 13197 I System.out: [okhttp]:not Email!
04-05 14:33:55.726 10638 13197 I System.out: [socket]:check permission begin!
04-05 14:33:55.727 10638 13199 I System.out: [okhttp]:check permission begin!
04-05 14:33:55.727 10638 13199 I System.out: [okhttp]:not MMS!
04-05 14:33:55.727 10638 13199 I System.out: [okhttp]:not Email!
04-05 14:33:55.727 10638 13199 I System.out: [socket]:check permission begin!
04-05 14:33:55.729 10638 10638 E TGX-JS-Console: "TypeError:
angular.element(...).scope(...).play is not a function
04-05 14:33:55.729 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/app/
app.js?v1649158330688:271:84
04-05 14:33:55.729 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
cdn/ionic.bundle.min.js:190:166
04-05 14:33:55.729 10638 10638 E TGX-JS-Console: at e
(http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
lib/cdn/ionic.bundle.min.js:79:258)
04-05 14:33:55.729 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
cdn/ionic.bundle.min.js:82:176", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
cdn/ionic.bundle.min.js (150)
04-05 14:33:55.736 10638 10638 I TGX-JS-Console: "addFunctionSuccessCallback called
for ID: thingMark-1-image", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js (1951)
04-05 14:33:55.746 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.802 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.835 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.868 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.882 10638 13197 I System.out: [OkHttp] sendRequest>>
04-05 14:33:55.882 10638 13197 I System.out: [OkHttp] sendRequest<<
04-05 14:33:55.882 10638 13199 I System.out: [OkHttp] sendRequest>>
04-05 14:33:55.882 10638 13199 I System.out: [OkHttp] sendRequest<<
04-05 14:33:55.887 10638 11117 I native : I0405 14:33:55.887713 11117
logger.h:28] DataSourceMetrics: kFirstGlCallback: 406.343308ms
04-05 14:33:55.901 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.934 10638 10973 E TGX_C++ : [ VuforiaManager.cpp:224 |acquireState
] Vuforia:: VuState does not have camera frames yet
04-05 14:33:55.939 10638 11230 I native : I0405 14:33:55.939023 11230
timebase_helpers.cc:169] Timebase offset intialized to 0
04-05 14:33:55.939 10638 11230 I native : I0405 14:33:55.939215 11230
logger.h:28] DataSourceMetrics: kFirstImageCallback: 457.845846ms
04-05 14:33:55.949 10638 13087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:55.950 10638 11057 W native : W0405 14:33:55.950502 11057
vio_initializer.cc:498] Dropped initialization window due to skip in data.
04-05 14:33:55.950 10638 11057 W native : W0405 14:33:55.950689 11057
motion_tracking_stats_gatherer.cc:1626] Feature Extraction frequency low: 2.26067
Hz.
04-05 14:33:55.950 10638 11059 I native : I0405 14:33:55.950715 11059
data_manager.cc:157] Mapping backend detected fault.
04-05 14:33:55.950 10638 11059 I native : I0405 14:33:55.950762 11059
data_manager.cc:159] Saving current map to map buffer.
04-05 14:33:55.951 10638 11057 W native : W0405 14:33:55.950738 11057
motion_tracking_stats_gatherer.cc:1626] VIO frequency low: 2.34762 Hz.
04-05 14:33:55.987 10638 13087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:56.006 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:56.007 10638 10743 I chatty : uid=10403(com.ptc.vuforiaview)
RenderThread identical 2 lines
04-05 14:33:56.007 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:56.023 10638 13208 E cvu_trace: PNG Warning: "iCCP: known incorrect
sRGB profile".
04-05 14:33:56.023 10638 13087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:56.031 10638 13084 I native : I0405 14:33:56.031032 13084
performance_monitor.cc:115] Event: FeatureExtraction is taking too long, it took
269.473ms
04-05 14:33:56.045 10638 13208 E cvu_trace: PNG Warning: "iCCP: known incorrect
sRGB profile".
04-05 14:33:56.067 10638 10638 I TGX-JS-Console: "event [textureLoaded] broadcast
on rootScope and dispatched against domID [thingMark-1-image] with type [null],
targetName [thingMark-1-image] and data [undefined]", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js (345)
04-05 14:33:56.079 10638 13087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:56.112 10638 13087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:56.145 10638 13087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:56.170 10638 13087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:56.181 10638 13208 E cvu_trace: PNG Warning: "iCCP: known incorrect
sRGB profile".
04-05 14:33:56.189 10638 13087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:56.192 10638 10638 I TGX-JS-Console: "event [textureLoaded] broadcast
on rootScope and dispatched against domID [thingMark-1-image] with type [null],
targetName [thingMark-1-image] and data [undefined]", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js (345)
04-05 14:33:56.201 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:33:56.208 10638 10638 I TGX-JS-Console: "event [trackingacquired]
broadcast on rootScope and dispatched against domID [thingMark-1] with type [twx-
dt-target], targetName [1:4] and data [undefined]", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js (345)
04-05 14:33:56.304 10638 13087 I mali_config: @get_buffer_dataspace_setting: update
dataspace (0x10010000 -> 0x08020000)
04-05 14:33:56.353 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:56.354 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:56.354 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:56.355 10638 10743 I chatty : uid=10403(com.ptc.vuforiaview)
RenderThread identical 8 lines
04-05 14:33:56.355 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:56.355 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:56.480 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:56.481 10638 10743 I chatty : uid=10403(com.ptc.vuforiaview)
RenderThread identical 2 lines
04-05 14:33:56.481 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:56.511 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:33:56.894 10638 11057 I native : I0405 14:33:56.894730 11057
bundle_adjustment_initializer.cc:274] Intrinsic vector size of the camera 0 is 7
04-05 14:33:56.953 10638 11057 I native : I0405 14:33:56.953670 11057
bundle_adjustment_initialization.h:143] Number of measurements used in BA
initialization for temporal landmarks: 584
04-05 14:33:56.953 10638 11057 I native : I0405 14:33:56.953754 11057
bundle_adjustment_initialization.h:145] Number of good measurements (i.e.,
reprojection errors <= 3 pixels) in BA initialization for temporal landmarks: 568
04-05 14:33:56.980 10638 11060 I native : I0405 14:33:56.980641 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.887267, y: -
0.403088, z: -0.194094, w: 0.112274], p = [x: 0.343299, y: -0.585161, z: -
0.0693421]
04-05 14:33:56.980 10638 11060 I native : to: q = [x: 0.88815, y: -0.440908, z: -
0.121091, w: 0.0461172], p = [x: 0.330541, y: -0.559921, z: -0.0513324]
04-05 14:33:56.980 10638 11060 I native : rotation change: 12.0988(deg), position
change: 0.0335286(m).
04-05 14:33:56.981 10638 11060 E native : E0405 14:33:56.981122 11060
sbr_action_state.cc:215] 2 consistent ADF to VIO transformation from MLE are
required to initialize this variable in VIO. Current value is 1.
04-05 14:33:56.981 10638 11060 E native : E0405 14:33:56.981226 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:56.981 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:56.981 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:56.981 10638 11060 E native :
04-05 14:33:56.986 10638 13087 E native : E0405 14:33:56.986753 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.000 10638 11062 E native : E0405 14:33:57.000528 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:33:57.000 10638 11062 E native : === Source Location Trace: ===
04-05 14:33:57.000 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:33:57.000 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:33:57.000 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:33:57.000 10638 11062 E native :
04-05 14:33:57.000 10638 11060 I native : I0405 14:33:57.000854 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.86869, y: -
0.444096, z: -0.187332, w: 0.114295], p = [x: 0.334895, y: -0.587467, z: -0.075748]
04-05 14:33:57.000 10638 11060 I native : to: q = [x: 0.867142, y: -0.435119, z: -
0.20432, w: 0.130344], p = [x: 0.337383, y: -0.593056, z: -0.0802708]
04-05 14:33:57.000 10638 11060 I native : rotation change: 2.8743(deg), position
change: 0.00760736(m).
04-05 14:33:57.001 10638 11060 E native : E0405 14:33:57.001023 11060
sbr_action_state.cc:215] Failed to obtain consistent ADF to VIO transformation.
04-05 14:33:57.001 10638 11060 E native : E0405 14:33:57.001161 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:57.001 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:57.001 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:57.001 10638 11060 E native :
04-05 14:33:57.011 10638 13087 E native : E0405 14:33:57.011345 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.048 10638 13087 E native : E0405 14:33:57.048942 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.076 10638 11060 I native : I0405 14:33:57.075987 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.88461, y: -
0.413164, z: -0.190007, w: 0.103239], p = [x: 0.341256, y: -0.58481, z: -0.0702379]
04-05 14:33:57.076 10638 11060 I native : to: q = [x: 0.876891, y: -0.441811, z: -
0.169575, w: 0.0843212], p = [x: 0.334339, y: -0.577114, z: -0.0719268]
04-05 14:33:57.076 10638 11060 I native : rotation change: 4.6629(deg), position
change: 0.0104848(m).
04-05 14:33:57.076 10638 11060 E native : E0405 14:33:57.076176 11060
sbr_action_state.cc:215] Failed to obtain consistent ADF to VIO transformation.
04-05 14:33:57.076 10638 11060 E native : E0405 14:33:57.076224 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:57.076 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:57.076 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:57.076 10638 11060 E native :
04-05 14:33:57.076 10638 13087 E native : E0405 14:33:57.076343 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.139 10638 13087 E native : E0405 14:33:57.139601 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.163 10638 13087 E native : E0405 14:33:57.163509 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.202 10638 13087 E native : E0405 14:33:57.202033 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.213 10638 11060 I native : I0405 14:33:57.212986 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.871266, y: -
0.44112, z: -0.185746, w: 0.108659], p = [x: 0.333364, y: -0.583929, z: -0.0806818]
04-05 14:33:57.213 10638 11060 I native : to: q = [x: 0.879276, y: -0.442751, z: -
0.159247, w: 0.0740601], p = [x: 0.332976, y: -0.572619, z: -0.0704642]
04-05 14:33:57.213 10638 11060 I native : rotation change: 5.08148(deg), position
change: 0.0152475(m).
04-05 14:33:57.213 10638 11060 E native : E0405 14:33:57.213135 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.039869, which should be less equal than 5.000000 degrees.
04-05 14:33:57.213 10638 11060 E native : E0405 14:33:57.213160 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:57.213 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:57.213 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:57.213 10638 11060 E native :
04-05 14:33:57.226 10638 10652 I ptc.vuforiavie: NativeAlloc concurrent copying GC
freed 62203(6864KB) AllocSpace objects, 12(5168KB) LOS objects, 49% free,
8132KB/15MB, paused 300us total 158.089ms
04-05 14:33:57.227 10638 13087 E native : E0405 14:33:57.227243 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.249 10638 13087 E native : E0405 14:33:57.249652 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.250 10638 10731 I System.out: [okhttp]:check permission begin!
04-05 14:33:57.250 10638 10731 I System.out: [okhttp]:not MMS!
04-05 14:33:57.250 10638 10731 I System.out: [okhttp]:not Email!
04-05 14:33:57.253 10638 10731 I System.out: [OkHttp] sendRequest<<
04-05 14:33:57.280 10638 11060 I native : I0405 14:33:57.280873 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.867916, y: -
0.447709, z: -0.184743, w: 0.110221], p = [x: 0.332964, y: -0.583927, z: -
0.0807773]
04-05 14:33:57.280 10638 11060 I native : to: q = [x: 0.879328, y: -0.443882, z: -
0.156669, w: 0.0721461], p = [x: 0.332689, y: -0.571119, z: -0.0703065]
04-05 14:33:57.280 10638 11060 I native : rotation change: 5.59421(deg), position
change: 0.0165452(m).
04-05 14:33:57.281 10638 11060 E native : E0405 14:33:57.281107 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.411349, which should be less equal than 5.000000 degrees.
04-05 14:33:57.282 10638 11060 E native : E0405 14:33:57.282060 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:57.282 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:57.282 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:57.282 10638 11060 E native :
04-05 14:33:57.290 10638 13087 E native : E0405 14:33:57.290910 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.307 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:57.317 10638 13087 E native : E0405 14:33:57.317318 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.350 10638 13087 E native : E0405 14:33:57.350561 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.375 10638 13087 E native : E0405 14:33:57.375749 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.377 10638 11060 I native : I0405 14:33:57.377269 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.867979, y: -
0.447322, z: -0.185117, w: 0.110666], p = [x: 0.333064, y: -0.583619, z: -
0.0801314]
04-05 14:33:57.377 10638 11060 I native : to: q = [x: 0.8796, y: -0.450786, z: -
0.137269, w: 0.0652073], p = [x: 0.328215, y: -0.566607, z: -0.0668183]
04-05 14:33:57.377 10638 11060 I native : rotation change: 7.69105(deg), position
change: 0.0221396(m).
04-05 14:33:57.377 10638 11060 E native : E0405 14:33:57.377396 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 7.666857, which should be less equal than 5.000000 degrees.
04-05 14:33:57.377 10638 11060 E native : E0405 14:33:57.377416 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:57.377 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:57.377 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:57.377 10638 11060 E native :
04-05 14:33:57.407 10638 13087 E native : E0405 14:33:57.407500 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.455 10638 13087 E native : E0405 14:33:57.455282 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.463 10638 11060 I native : I0405 14:33:57.463020 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.865965, y: -
0.45082, z: -0.185543, w: 0.111534], p = [x: 0.332635, y: -0.583355, z: -0.0811981]
04-05 14:33:57.463 10638 11060 I native : to: q = [x: 0.881126, y: -0.452419, z: -
0.121762, w: 0.0640897], p = [x: 0.323592, y: -0.563645, z: -0.0657456]
04-05 14:33:57.463 10638 11060 I native : rotation change: 9.27764(deg), position
change: 0.0266276(m).
04-05 14:33:57.463 10638 11060 E native : E0405 14:33:57.463231 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 9.241336, which should be less equal than 5.000000 degrees.
04-05 14:33:57.463 10638 11060 E native : E0405 14:33:57.463335 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:57.463 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:57.463 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:57.463 10638 11060 E native :
04-05 14:33:57.474 10638 13087 E native : E0405 14:33:57.473944 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.508 10638 13087 E native : E0405 14:33:57.508480 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.541 10638 13087 E native : E0405 14:33:57.541798 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.597 10638 11060 I native : I0405 14:33:57.596897 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.866705, y: -
0.448016, z: -0.189, w: 0.11128], p = [x: 0.332578, y: -0.583021, z: -0.0823977]
04-05 14:33:57.597 10638 11060 I native : to: q = [x: 0.878949, y: -0.449448, z: -
0.144199, w: 0.0682018], p = [x: 0.329001, y: -0.567934, z: -0.0662862]
04-05 14:33:57.597 10638 11060 I native : rotation change: 7.26202(deg), position
change: 0.0223599(m).
04-05 14:33:57.597 10638 11060 E native : E0405 14:33:57.597097 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 7.212196, which should be less equal than 5.000000 degrees.
04-05 14:33:57.597 10638 11060 E native : E0405 14:33:57.597138 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:57.597 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:57.597 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:57.597 10638 11060 E native :
04-05 14:33:57.599 10638 13087 E native : E0405 14:33:57.599202 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.609 10638 13087 E native : E0405 14:33:57.609817 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.643 10638 13087 E native : E0405 14:33:57.643596 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.674 10638 11060 I native : I0405 14:33:57.673890 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.866473, y: -
0.447434, z: -0.191491, w: 0.111174], p = [x: 0.331598, y: -0.581308, z: -
0.0845705]
04-05 14:33:57.674 10638 11060 I native : to: q = [x: 0.878376, y: -0.445502, z: -
0.146435, w: 0.0924177], p = [x: 0.325194, y: -0.574814, z: -0.068716]
04-05 14:33:57.674 10638 11060 I native : rotation change: 5.76129(deg), position
change: 0.0182906(m).
04-05 14:33:57.674 10638 11060 E native : E0405 14:33:57.674136 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.725615, which should be less equal than 5.000000 degrees.
04-05 14:33:57.674 10638 11060 E native : E0405 14:33:57.674864 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:57.674 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:57.674 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:57.674 10638 11060 E native :
04-05 14:33:57.678 10638 13087 E native : E0405 14:33:57.678524 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.714 10638 13087 E native : E0405 14:33:57.714270 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.753 10638 13087 E native : E0405 14:33:57.753706 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.774 10638 11060 I native : I0405 14:33:57.774183 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.870885, y: -
0.437466, z: -0.19561, w: 0.10918], p = [x: 0.334509, y: -0.583612, z: -0.0797092]
04-05 14:33:57.774 10638 11060 I native : to: q = [x: 0.880522, y: -0.444262, z: -
0.14664, w: 0.0762169], p = [x: 0.3273, y: -0.570904, z: -0.0649977]
04-05 14:33:57.774 10638 11060 I native : rotation change: 6.89907(deg), position
change: 0.0207347(m).
04-05 14:33:57.774 10638 11060 E native : E0405 14:33:57.774344 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 6.898730, which should be less equal than 5.000000 degrees.
04-05 14:33:57.774 10638 11060 E native : E0405 14:33:57.774376 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:57.774 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:57.774 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:57.774 10638 11060 E native :
04-05 14:33:57.786 10638 13087 E native : E0405 14:33:57.786426 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.821 10638 13087 E native : E0405 14:33:57.821094 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.858 10638 13087 E native : E0405 14:33:57.857918 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.887 10638 11060 I native : I0405 14:33:57.887214 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.867455, y: -
0.443157, z: -0.197409, w: 0.110285], p = [x: 0.335185, y: -0.587056, z: -
0.0738348]
04-05 14:33:57.887 10638 11060 I native : to: q = [x: 0.882787, y: -0.441784, z: -
0.147452, w: 0.0614107], p = [x: 0.330126, y: -0.567842, z: -0.0595982]
04-05 14:33:57.887 10638 11060 I native : rotation change: 8.20231(deg), position
change: 0.0244427(m).
04-05 14:33:57.887 10638 11060 E native : E0405 14:33:57.887446 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 8.083380, which should be less equal than 5.000000 degrees.
04-05 14:33:57.887 10638 11060 E native : E0405 14:33:57.887523 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:57.887 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:57.887 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:57.887 10638 11060 E native :
04-05 14:33:57.895 10638 13087 E native : E0405 14:33:57.894989 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.920 10638 13087 E native : E0405 14:33:57.920328 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.953 10638 13087 E native : E0405 14:33:57.953206 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:57.998 10638 11060 I native : I0405 14:33:57.997936 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.863705, y: -
0.449255, z: -0.198194, w: 0.113585], p = [x: 0.33404, y: -0.587188, z: -0.0768151]
04-05 14:33:57.998 10638 11060 I native : to: q = [x: 0.8778, y: -0.44063, z: -
0.175681, w: 0.0666925], p = [x: 0.337986, y: -0.573229, z: -0.0622557]
04-05 14:33:57.998 10638 11060 I native : rotation change: 6.25507(deg), position
change: 0.0205525(m).
04-05 14:33:57.998 10638 11060 E native : E0405 14:33:57.998043 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.795431, which should be less equal than 5.000000 degrees.
04-05 14:33:57.998 10638 11060 E native : E0405 14:33:57.998065 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:33:57.998 10638 11060 E native : === Source Location Trace: ===
04-05 14:33:57.998 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:33:57.998 10638 11060 E native :
04-05 14:33:58.001 10638 13087 E native : E0405 14:33:58.001282 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.015 10638 13087 E native : E0405 14:33:58.015312 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.028 10638 10638 I TGX-JS-Console: "already updating - ignore
executeService for "Synchro" "GetPropertyValues"", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
twx-client-core-all.js (532)
04-05 14:33:58.052 10638 13087 E native : E0405 14:33:58.052041 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.076 10638 11060 I native : I0405 14:33:58.076372 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.871762, y: -
0.43215, z: -0.202206, w: 0.11131], p = [x: 0.337704, y: -0.586561, z: -0.075769]
04-05 14:33:58.076 10638 11060 I native : to: q = [x: 0.878224, y: -0.439026, z: -
0.167229, w: 0.0895127], p = [x: 0.331873, y: -0.578596, z: -0.0620091]
04-05 14:33:58.076 10638 11060 I native : rotation change: 4.84522(deg), position
change: 0.0169347(m).
04-05 14:33:58.077 10638 11060 I native : I0405 14:33:58.077237 11060
sbr_constraint_update_utils.cc:280] (Re-)setting adf_T_vio: q = [x: -0.0385311, y:
-0.0171719, z: 0.11562, w: 0.992397], p = [x: 0.13307, y: 0.0159381, z: 0.0159109]
04-05 14:33:58.091 10638 13087 E native : E0405 14:33:58.091225 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.118 10638 13087 E native : E0405 14:33:58.118246 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.159 10638 13087 E native : E0405 14:33:58.159798 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.177 10638 11049 I native : I0405 14:33:58.177590 11049
pose_manager.cc:354] World pose node changing to MapId:1f46191b-af85-298e-8b47-
68cdf8efa0c1 with 1 opt.
04-05 14:33:58.204 10638 13087 E native : E0405 14:33:58.204755 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.235 10638 13087 E native : E0405 14:33:58.235800 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.256 10638 13087 E native : E0405 14:33:58.256379 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.298 10638 13087 E native : E0405 14:33:58.298507 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.322 10638 13087 E native : E0405 14:33:58.322090 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.356 10638 13087 E native : E0405 14:33:58.356230 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.388 10638 13087 E native : E0405 14:33:58.388172 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.422 10638 13087 E native : E0405 14:33:58.422733 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.458 10638 13087 E native : E0405 14:33:58.458003 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.487 10638 13087 E native : E0405 14:33:58.487066 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.519 10638 13087 E native : E0405 14:33:58.519268 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.563 10638 13087 E native : E0405 14:33:58.563909 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.594 10638 13087 E native : E0405 14:33:58.594401 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.623 10638 13087 E native : E0405 14:33:58.623639 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.656 10638 13087 E native : E0405 14:33:58.655999 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.700 10638 13087 E native : E0405 14:33:58.700453 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.724 10638 13087 E native : E0405 14:33:58.723971 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.766 10638 13087 E native : E0405 14:33:58.766152 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.793 10638 13087 E native : E0405 14:33:58.793318 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.822 10638 13087 E native : E0405 14:33:58.822586 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.872 10638 13087 E native : E0405 14:33:58.872893 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.894 10638 13087 E native : E0405 14:33:58.894077 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.927 10638 13087 E native : E0405 14:33:58.927319 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.962 10638 13087 E native : E0405 14:33:58.962013 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:58.999 10638 13087 E native : E0405 14:33:58.998988 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.028 10638 10638 I TGX-JS-Console: "already updating - ignore
executeService for "Synchro" "GetPropertyValues"", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
twx-client-core-all.js (532)
04-05 14:33:59.032 10638 13087 E native : E0405 14:33:59.032495 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.064 10638 13087 E native : E0405 14:33:59.064930 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.090 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:33:59.105 10638 13087 E native : E0405 14:33:59.105386 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.131 10638 13087 E native : E0405 14:33:59.131306 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.166 10638 13087 E native : E0405 14:33:59.166158 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.203 10638 13087 E native : E0405 14:33:59.203833 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.241 10638 13087 E native : E0405 14:33:59.241490 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.288 10638 13087 E native : E0405 14:33:59.288607 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.317 10638 13087 E native : E0405 14:33:59.317863 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.362 10638 13087 E native : E0405 14:33:59.362441 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.386 10638 13087 E native : E0405 14:33:59.386245 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.418 10638 13087 E native : E0405 14:33:59.418840 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.438 10638 13087 E native : E0405 14:33:59.438864 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.470 10638 13087 E native : E0405 14:33:59.470062 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.510 10638 13087 E native : E0405 14:33:59.510380 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.547 10638 13087 E native : E0405 14:33:59.547058 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.598 10638 13087 E native : E0405 14:33:59.598740 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.613 10638 11059 I native : I0405 14:33:59.613208 11059
viwls_optimization.cc:977] Skip Lite-COM due to a significant calibration change.
04-05 14:33:59.620 10638 13087 E native : E0405 14:33:59.620267 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.644 10638 13087 E native : E0405 14:33:59.643941 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.694 10638 13087 E native : E0405 14:33:59.694389 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.726 10638 13087 E native : E0405 14:33:59.726153 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.734 10638 11059 I native : I0405 14:33:59.734725 11059
viwls_optimization.cc:826] MAP SOLVE: USER_SUCCESS
04-05 14:33:59.742 10638 11059 I native : I0405 14:33:59.742582 11059
visual_inertial_wls.cc:282] online_viwls_solve_time in seconds = 0.223193
solve_time_counter_ = 0
04-05 14:33:59.758 10638 13087 E native : E0405 14:33:59.758286 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.781 10638 11059 I native : I0405 14:33:59.781169 11059
multi_map_manager.cc:289] Added ADF into multi_map_manager: 1f46191d-af85-298e-
89c8-28bfaa5d34a0
04-05 14:33:59.781 10638 11059 I native : I0405 14:33:59.781345 11059
data_manager.cc:346] Start aligning maps.
04-05 14:33:59.785 10638 11059 I native : I0405 14:33:59.785385 11059
multi_map_localizer.cc:26] Adding ADF 1f46191b-af85-298e-8b47-68cdf8efa0c1 to
localizer.
04-05 14:33:59.785 10638 11059 W native : W0405 14:33:59.785473 11059
localization_backend.cc:259] No descriptors for entry 136a796d-af85-298e-8b1b-
6d9771b1a5e0 camera: 0
04-05 14:33:59.785 10638 11059 W native : W0405 14:33:59.785513 11059
localization_backend.cc:259] No descriptors for entry 136a7973-af85-298e-8b50-
7bf03908d027 camera: 0
04-05 14:33:59.785 10638 11059 W native : W0405 14:33:59.785537 11059
localization_backend.cc:259] No descriptors for entry 136a7979-af85-298e-89ce-
c5479df77740 camera: 0
04-05 14:33:59.785 10638 11059 W native : W0405 14:33:59.785562 11059
localization_backend.cc:259] No descriptors for entry 136a797f-af85-298e-8822-
1a02171adcc8 camera: 0
04-05 14:33:59.785 10638 11059 W native : W0405 14:33:59.785588 11059
localization_backend.cc:259] No descriptors for entry 136a7985-af85-298e-8a5a-
e56d4b01b136 camera: 0
04-05 14:33:59.785 10638 11059 W native : W0405 14:33:59.785607 11059
localization_backend.cc:259] No descriptors for entry 136a798b-af85-298e-8943-
04164469a019 camera: 0
04-05 14:33:59.785 10638 11059 W native : W0405 14:33:59.785628 11059
localization_backend.cc:259] No descriptors for entry 136a7991-af85-298e-8aad-
c84dbd482fe7 camera: 0
04-05 14:33:59.785 10638 11059 W native : W0405 14:33:59.785650 11059
localization_backend.cc:259] No descriptors for entry 136a7997-af85-298e-8a02-
c1eb10511860 camera: 0
04-05 14:33:59.785 10638 11059 W native : W0405 14:33:59.785669 11059
localization_backend.cc:259] No descriptors for entry 136a79a3-af85-298e-8adc-
281fb2080a1c camera: 0
04-05 14:33:59.785 10638 11059 W native : W0405 14:33:59.785684 11059
localization_backend.cc:259] No descriptors for entry 136a79af-af85-298e-8ab4-
967dafc37b14 camera: 0
04-05 14:33:59.789 10638 13087 E native : E0405 14:33:59.789806 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.795 10638 11059 W native : W0405 14:33:59.795372 11059
localization_backend.cc:259] No descriptors for entry 136a7c71-af85-298e-89da-
e503f9b3b14b camera: 0
04-05 14:33:59.801 10638 11059 W native : W0405 14:33:59.801456 11059
localization_backend.cc:259] No descriptors for entry 136a7758-af85-298e-89b8-
31ac140ffa63 camera: 0
04-05 14:33:59.801 10638 11059 W native : W0405 14:33:59.801562 11059
localization_backend.cc:259] No descriptors for entry 136a775e-af85-298e-8b17-
f468f5f8dae2 camera: 0
04-05 14:33:59.801 10638 11059 W native : W0405 14:33:59.801594 11059
localization_backend.cc:259] No descriptors for entry 136a7764-af85-298e-8b69-
6d03c9cb07c0 camera: 0
04-05 14:33:59.801 10638 11059 W native : W0405 14:33:59.801615 11059
localization_backend.cc:259] No descriptors for entry 136a776a-af85-298e-8946-
7e66da9196f1 camera: 0
04-05 14:33:59.801 10638 11059 W native : W0405 14:33:59.801635 11059
localization_backend.cc:259] No descriptors for entry 136a7788-af85-298e-8acb-
704728bc72ef camera: 0
04-05 14:33:59.804 10638 11059 W native : W0405 14:33:59.804850 11059
localization_backend.cc:259] No descriptors for entry 136a78cc-af85-298e-8b46-
1bf07b9ec519 camera: 0
04-05 14:33:59.804 10638 11059 W native : W0405 14:33:59.804951 11059
localization_backend.cc:259] No descriptors for entry 136a78de-af85-298e-8b5d-
d13648df814b camera: 0
04-05 14:33:59.804 10638 11059 W native : W0405 14:33:59.804978 11059
localization_backend.cc:259] No descriptors for entry 136a7cad-af85-298e-8abc-
ee90e388e7d1 camera: 0
04-05 14:33:59.805 10638 11059 W native : W0405 14:33:59.805003 11059
localization_backend.cc:259] No descriptors for entry 136a7ce9-af85-298e-893d-
1864dd51add4 camera: 0
04-05 14:33:59.805 10638 11059 W native : W0405 14:33:59.805022 11059
localization_backend.cc:259] No descriptors for entry 136a7d07-af85-298e-8b4e-
607b25d12193 camera: 0
04-05 14:33:59.805 10638 11059 W native : W0405 14:33:59.805041 11059
localization_backend.cc:259] No descriptors for entry 136a7d19-af85-298e-8ab2-
a1e7eb59ef3b camera: 0
04-05 14:33:59.805 10638 11059 W native : W0405 14:33:59.805055 11059
localization_backend.cc:259] No descriptors for entry 136a7d25-af85-298e-8bc5-
09de999cea10 camera: 0
04-05 14:33:59.805 10638 11059 W native : W0405 14:33:59.805071 11059
localization_backend.cc:259] No descriptors for entry 136a7d43-af85-298e-88e6-
98ac3c05fcb7 camera: 0
04-05 14:33:59.805 10638 11059 W native : W0405 14:33:59.805090 11059
localization_backend.cc:259] No descriptors for entry 136a7d49-af85-298e-8a6d-
7d2a66d550b6 camera: 0
04-05 14:33:59.805 10638 11059 W native : W0405 14:33:59.805108 11059
localization_backend.cc:259] No descriptors for entry 136a7d4f-af85-298e-8a5e-
18f4d00af515 camera: 0
04-05 14:33:59.805 10638 11059 I native : I0405 14:33:59.805617 11059
localizer_helper.cc:159] Localizer refreshing 0 landmarks.
04-05 14:33:59.805 10638 11059 I native : I0405 14:33:59.805685 11059
localizer_helper.cc:162] Localizer 1f46191b-af85-298e-8b47-68cdf8efa0c1 loaded:
04-05 14:33:59.805 10638 11059 I native : 63/63 keyframes.
04-05 14:33:59.805 10638 11059 I native : 0/86 landmarks.
04-05 14:33:59.821 10638 13087 E native : E0405 14:33:59.821274 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.847 10638 13087 E native : E0405 14:33:59.847579 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.858 10638 11059 I native : I0405 14:33:59.858069 11059
multi_map_localizer.cc:43] quried 1f46191b-af85-298e-8b47-68cdf8efa0c1
04-05 14:33:59.858 10638 11059 I native : I0405 14:33:59.858301 11059
map_query_util.cc:184] Have transformation adf_db_T_adf_query q = [x: -0, y: -0, z:
-0.100233, w: 0.994964], p = [x: -0.109924, y: -0.0615234, z: 0.0451863]
04-05 14:33:59.858 10638 11059 I native : I0405 14:33:59.858345 11059
map_query_util.cc:197] Alignment computation has 11 inliers and an inlier ratio of:
1
04-05 14:33:59.858 10638 11059 I native : I0405 14:33:59.858393 11059
map_alignment.cc:170] ADF 1f46191d-af85-298e-89c8-28bfaa5d34a0 successfully
localized against ADF 1f46191b-af85-298e-8b47-68cdf8efa0c1 with relative offset: q
= [x: 0, y: -0, z: -0.100233, w: 0.994964], p = [x: -0.109924, y: -0.0615234, z:
0.0451863]
04-05 14:33:59.858 10638 11059 I native : I0405 14:33:59.858451 11059
multi_map_geometric_optimization.cc:1363] The map 1f46191d-af85-298e-89c8-
28bfaa5d34a0 does not have landmark covariances computed. Will compute here.
04-05 14:33:59.866 10638 11059 I native : I0405 14:33:59.866488 11059
viwls_optimization.cc:1043] Computing landmark covariances.
04-05 14:33:59.878 10638 11059 I native : I0405 14:33:59.877977 11059
multi_map_manager.cc:194] Map alignment successful, the transformation convergency
status is false
04-05 14:33:59.884 10638 13087 E native : E0405 14:33:59.884308 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.917 10638 13087 E native : E0405 14:33:59.917684 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.945 10638 13087 E native : E0405 14:33:59.945222 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.976 10638 11059 I native : I0405 14:33:59.976149 11059
data_manager.cc:377] Merged the map 1f46191b-af85-298e-8b47-68cdf8efa0c1 into the
active map 1f46191d-af85-298e-89c8-28bfaa5d34a0
04-05 14:33:59.980 10638 13087 E native : E0405 14:33:59.980218 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:33:59.999 10638 11062 E native : E0405 14:33:59.999234 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:33:59.999 10638 11062 E native : === Source Location Trace: ===
04-05 14:33:59.999 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:33:59.999 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:33:59.999 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:33:59.999 10638 11062 E native :
04-05 14:34:00.006 10638 11059 E native : E0405 14:34:00.006781 11059
pose_node_graph.cc:189] Tried to create an already existing map pose node:
Id:1f46191d-af85-298e-89c8-28bfaa5d34a0 opt:1
04-05 14:34:00.011 10638 11060 W native : W0405 14:34:00.011651 11060
localization_manager.cc:649] Localizer from last tracked map is gone: 1f46191b-
af85-298e-8b47-68cdf8efa0c1
04-05 14:34:00.017 10638 13087 E native : E0405 14:34:00.017918 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.025 10638 11060 W native : W0405 14:34:00.025841 11060
sbr_constraint_update_utils.cc:332] Switching to track map: 1f46191d-af85-298e-
89c8-28bfaa5d34a0
04-05 14:34:00.031 10638 11060 I native : I0405 14:34:00.031205 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.816118, y: -
0.500204, z: -0.229834, w: 0.175851], p = [x: 0.34994, y: -0.651575, z: -0.052349]
04-05 14:34:00.031 10638 11060 I native : to: q = [x: 0.817008, y: -0.507198, z: -
0.187461, w: 0.200266], p = [x: 0.326958, y: -0.652833, z: -0.045441]
04-05 14:34:00.031 10638 11060 I native : rotation change: 5.66241(deg), position
change: 0.0240308(m).
04-05 14:34:00.031 10638 11060 E native : E0405 14:34:00.031386 11060
sbr_action_state.cc:215] 2 consistent ADF to VIO transformation from MLE are
required to initialize this variable in VIO. Current value is 1.
04-05 14:34:00.031 10638 11060 E native : E0405 14:34:00.031414 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:00.031 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:00.031 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:00.031 10638 11060 E native :
04-05 14:34:00.051 10638 13087 E native : E0405 14:34:00.050981 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.091 10638 13087 E native : E0405 14:34:00.091379 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.114 10638 13087 E native : E0405 14:34:00.114254 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.145 10638 13087 E native : E0405 14:34:00.145463 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.177 10638 13087 E native : E0405 14:34:00.176965 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.212 10638 13087 E native : E0405 14:34:00.212218 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.250 10638 13087 E native : E0405 14:34:00.250106 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.284 10638 13087 E native : E0405 14:34:00.284309 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.320 10638 13087 E native : E0405 14:34:00.320800 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.347 10638 13087 E native : E0405 14:34:00.347497 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.382 10638 13087 E native : E0405 14:34:00.382393 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.415 10638 13087 E native : E0405 14:34:00.415184 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.454 10638 13087 E native : E0405 14:34:00.454211 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.481 10638 13087 E native : E0405 14:34:00.481753 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.515 10638 13087 E native : E0405 14:34:00.515557 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.557 10638 13087 E native : E0405 14:34:00.557779 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.599 10638 13087 E native : E0405 14:34:00.599707 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.614 10638 13087 E native : E0405 14:34:00.613968 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.653 10638 13087 E native : E0405 14:34:00.653432 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.688 10638 13087 E native : E0405 14:34:00.688531 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.728 10638 13087 E native : E0405 14:34:00.728930 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.765 10638 13087 E native : E0405 14:34:00.765614 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.789 10638 13087 E native : E0405 14:34:00.789203 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.830 10638 13087 E native : E0405 14:34:00.830193 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.858 10638 13087 E native : E0405 14:34:00.858330 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.898 10638 13087 E native : E0405 14:34:00.898331 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.935 10638 13087 E native : E0405 14:34:00.935729 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.954 10638 13087 E native : E0405 14:34:00.954834 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:00.988 10638 13087 E native : E0405 14:34:00.988781 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.023 10638 13087 E native : E0405 14:34:01.023000 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.057 10638 13087 E native : E0405 14:34:01.057534 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.094 10638 13087 E native : E0405 14:34:01.094245 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.121 10638 11060 I native : I0405 14:34:01.121020 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.800147, y: -
0.490861, z: -0.287968, w: 0.18946], p = [x: 0.354734, y: -0.660296, z: -0.0390229]
04-05 14:34:01.121 10638 11060 I native : to: q = [x: 0.808338, y: -0.491289, z: -
0.247009, w: 0.210264], p = [x: 0.329801, y: -0.665168, z: -0.0247098]
04-05 14:34:01.121 10638 11060 I native : rotation change: 5.34802(deg), position
change: 0.0291592(m).
04-05 14:34:01.121 10638 11060 E native : E0405 14:34:01.121157 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.221783, which should be less equal than 5.000000 degrees.
04-05 14:34:01.121 10638 11060 E native : E0405 14:34:01.121181 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:01.121 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:01.121 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:01.121 10638 11060 E native :
04-05 14:34:01.127 10638 13087 E native : E0405 14:34:01.127214 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.155 10638 13087 E native : E0405 14:34:01.155713 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.188 10638 13087 E native : E0405 14:34:01.188850 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.216 10638 11060 I native : I0405 14:34:01.216758 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.801746, y: -
0.488795, z: -0.287252, w: 0.189126], p = [x: 0.357269, y: -0.66805, z: -0.0243327]
04-05 14:34:01.216 10638 11060 I native : to: q = [x: 0.807743, y: -0.492269, z: -
0.247475, w: 0.209713], p = [x: 0.331069, y: -0.664956, z: -0.0250024]
04-05 14:34:01.216 10638 11060 I native : rotation change: 5.19389(deg), position
change: 0.0263906(m).
04-05 14:34:01.217 10638 11060 I native : I0405 14:34:01.217491 11060
sbr_constraint_update_utils.cc:280] (Re-)setting adf_T_vio: q = [x: -0.00572681, y:
-0.0429364, z: 0.00199488, w: 0.999059], p = [x: 0.0139064, y: -0.00325927, z:
0.0316328]
04-05 14:34:01.238 10638 13087 E native : E0405 14:34:01.238650 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.261 10638 13087 E native : E0405 14:34:01.261198 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.288 10638 13087 E native : E0405 14:34:01.288687 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.297 10638 11050 I native : I0405 14:34:01.297382 11050
pose_manager.cc:354] World pose node changing to MapId:1f46191d-af85-298e-89c8-
28bfaa5d34a0 with 1 opt.
04-05 14:34:01.331 10638 13087 E native : E0405 14:34:01.331046 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.359 10638 13087 E native : E0405 14:34:01.359932 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.396 10638 13087 E native : E0405 14:34:01.396242 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.433 10638 11060 W native : W0405 14:34:01.433331 11060
sbr_action_state.cc:138] Map update failed: 1/2
04-05 14:34:01.443 10638 13087 E native : E0405 14:34:01.443802 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.461 10638 13087 E native : E0405 14:34:01.461526 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.491 10638 13087 E native : E0405 14:34:01.491657 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.516 10638 11060 W native : W0405 14:34:01.516926 11060
sbr_action_state.cc:138] Map update failed: 2/2
04-05 14:34:01.516 10638 11060 W native : W0405 14:34:01.516988 11060
sbr_action_state.cc:152] Too many map update failures, probably lost map tracking.
Re-evaluating vio to adf transformation.
04-05 14:34:01.517 10638 11060 E native : E0405 14:34:01.517007 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:01.517 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:01.517 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:01.517 10638 11060 E native :
04-05 14:34:01.530 10638 13087 E native : E0405 14:34:01.530711 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.561 10638 13087 E native : E0405 14:34:01.561511 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.595 10638 13087 E native : E0405 14:34:01.595912 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.613 10638 11060 I native : I0405 14:34:01.613744 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.791953, y: -
0.50924, z: -0.271103, w: 0.199968], p = [x: 0.348613, y: -0.663419, z: -0.0363316]
04-05 14:34:01.613 10638 11060 I native : to: q = [x: 0.808608, y: -0.494892, z: -
0.233755, w: 0.215857], p = [x: 0.329524, y: -0.662458, z: -0.0271087]
04-05 14:34:01.613 10638 11060 I native : rotation change: 5.28976(deg), position
change: 0.0212215(m).
04-05 14:34:01.618 10638 11060 W native : W0405 14:34:01.618364 11060
sbr_action_state.cc:138] Map update failed: 3/2
04-05 14:34:01.618 10638 11060 W native : W0405 14:34:01.618424 11060
sbr_action_state.cc:146] Too many map update failures, probably lost map tracking.
Try to reset vio to adf transformation.
04-05 14:34:01.618 10638 11060 E native : E0405 14:34:01.618446 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:01.618 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:01.618 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:01.618 10638 11060 E native :
04-05 14:34:01.630 10638 13087 E native : E0405 14:34:01.630120 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.664 10638 13087 E native : E0405 14:34:01.664853 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.695 10638 13087 E native : E0405 14:34:01.695585 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.730 10638 13087 E native : E0405 14:34:01.730181 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.774 10638 13087 E native : E0405 14:34:01.774645 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.800 10638 13087 E native : E0405 14:34:01.800688 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.830 10638 13087 E native : E0405 14:34:01.830038 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.868 10638 13087 E native : E0405 14:34:01.868012 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.900 10638 13087 E native : E0405 14:34:01.900232 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.933 10638 13087 E native : E0405 14:34:01.933720 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:01.980 10638 13087 E native : E0405 14:34:01.980060 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.011 10638 13087 E native : E0405 14:34:02.011325 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.037 10638 13087 E native : E0405 14:34:02.037480 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.076 10638 13087 E native : E0405 14:34:02.076875 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.108 10638 13087 E native : E0405 14:34:02.108089 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.144 10638 13087 E native : E0405 14:34:02.144745 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.174 10638 13087 E native : E0405 14:34:02.174807 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.207 10638 13087 E native : E0405 14:34:02.207713 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.240 10638 13087 E native : E0405 14:34:02.240154 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.273 10638 13087 E native : E0405 14:34:02.273734 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.308 10638 13087 E native : E0405 14:34:02.308805 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.350 10638 13087 E native : E0405 14:34:02.350591 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.374 10638 13087 E native : E0405 14:34:02.374607 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.411 10638 13087 E native : E0405 14:34:02.411883 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.443 10638 13087 E native : E0405 14:34:02.443242 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.479 10638 13087 E native : E0405 14:34:02.479295 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.509 10638 13087 E native : E0405 14:34:02.509384 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.542 10638 13087 E native : E0405 14:34:02.542553 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.576 10638 13087 E native : E0405 14:34:02.576518 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.611 10638 13087 E native : E0405 14:34:02.611191 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.640 10638 13087 E native : E0405 14:34:02.640622 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.680 10638 13087 E native : E0405 14:34:02.680570 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.713 10638 13087 E native : E0405 14:34:02.713643 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.739 10638 11060 I native : I0405 14:34:02.739779 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.793708, y: -
0.507106, z: -0.26969, w: 0.200344], p = [x: 0.349577, y: -0.661033, z: -0.0385522]
04-05 14:34:02.739 10638 11060 I native : to: q = [x: 0.807507, y: -0.494315, z: -
0.23164, w: 0.223448], p = [x: 0.327979, y: -0.664555, z: -0.0298824]
04-05 14:34:02.739 10638 11060 I native : rotation change: 5.53845(deg), position
change: 0.0235386(m).
04-05 14:34:02.740 10638 11060 E native : E0405 14:34:02.740005 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.525537, which should be less equal than 5.000000 degrees.
04-05 14:34:02.740 10638 11060 E native : E0405 14:34:02.740050 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:02.740 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:02.740 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:02.740 10638 11060 E native :
04-05 14:34:02.747 10638 13087 E native : E0405 14:34:02.747178 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.779 10638 13087 E native : E0405 14:34:02.779589 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.818 10638 13087 E native : E0405 14:34:02.817923 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.848 10638 11060 I native : I0405 14:34:02.848763 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.805496, y: -
0.48775, z: -0.275583, w: 0.193209], p = [x: 0.355087, y: -0.661845, z: -0.0339529]
04-05 14:34:02.848 10638 11060 I native : to: q = [x: 0.808144, y: -0.495638, z: -
0.233927, w: 0.215695], p = [x: 0.330284, y: -0.662137, z: -0.0280861]
04-05 14:34:02.848 10638 11060 I native : rotation change: 5.50823(deg), position
change: 0.0254893(m).
04-05 14:34:02.849 10638 11060 E native : E0405 14:34:02.849025 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.043702, which should be less equal than 5.000000 degrees.
04-05 14:34:02.849 10638 11060 E native : E0405 14:34:02.849097 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:02.849 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:02.849 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:02.849 10638 11060 E native :
04-05 14:34:02.851 10638 13087 E native : E0405 14:34:02.851097 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.880 10638 13087 E native : E0405 14:34:02.880759 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.918 10638 13087 E native : E0405 14:34:02.918237 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.941 10638 11060 I native : I0405 14:34:02.941817 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.798373, y: -
0.499025, z: -0.273815, w: 0.196471], p = [x: 0.352294, y: -0.66274, z: -0.0341001]
04-05 14:34:02.941 10638 11060 I native : to: q = [x: 0.808399, y: -0.494075, z: -
0.232093, w: 0.22026], p = [x: 0.327573, y: -0.663802, z: -0.0288851]
04-05 14:34:02.941 10638 11060 I native : rotation change: 5.65124(deg), position
change: 0.0252869(m).
04-05 14:34:02.942 10638 11060 E native : E0405 14:34:02.942038 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.612554, which should be less equal than 5.000000 degrees.
04-05 14:34:02.942 10638 11060 E native : E0405 14:34:02.942100 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:02.942 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:02.942 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:02.942 10638 11060 E native :
04-05 14:34:02.958 10638 13087 E native : E0405 14:34:02.958864 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.981 10638 13087 E native : E0405 14:34:02.981845 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:02.995 10638 11062 E native : E0405 14:34:02.994974 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:34:02.995 10638 11062 E native : === Source Location Trace: ===
04-05 14:34:02.995 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:34:02.995 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:34:02.995 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:34:02.995 10638 11062 E native :
04-05 14:34:03.013 10638 10652 I ptc.vuforiavie: NativeAlloc concurrent copying GC
freed 20087(3677KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 8147KB/15MB,
paused 68us total 114.030ms
04-05 14:34:03.019 10638 13087 E native : E0405 14:34:03.019211 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.062 10638 13087 E native : E0405 14:34:03.062590 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.074 10638 11060 I native : I0405 14:34:03.074013 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.795126, y: -
0.504408, z: -0.271923, w: 0.198507], p = [x: 0.350717, y: -0.662093, z: -
0.0362514]
04-05 14:34:03.074 10638 11060 I native : to: q = [x: 0.806982, y: -0.494064, z: -
0.235215, w: 0.22216], p = [x: 0.328769, y: -0.665378, z: -0.0298982]
04-05 14:34:03.074 10638 11060 I native : rotation change: 5.31948(deg), position
change: 0.0230842(m).
04-05 14:34:03.075 10638 11060 E native : E0405 14:34:03.074889 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.319186, which should be less equal than 5.000000 degrees.
04-05 14:34:03.075 10638 11060 E native : E0405 14:34:03.075774 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:03.075 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:03.075 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:03.075 10638 11060 E native :
04-05 14:34:03.098 10638 13087 E native : E0405 14:34:03.098171 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.126 10638 13087 E native : E0405 14:34:03.126830 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.162 10638 13087 E native : E0405 14:34:03.162343 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.177 10638 11060 I native : I0405 14:34:03.176904 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.7922, y: -
0.509272, z: -0.27017, w: 0.200174], p = [x: 0.349119, y: -0.663963, z: -0.0339145]
04-05 14:34:03.177 10638 11060 I native : to: q = [x: 0.807204, y: -0.493901, z: -
0.233977, w: 0.22302], p = [x: 0.328464, y: -0.664949, z: -0.030477]
04-05 14:34:03.177 10638 11060 I native : rotation change: 5.48814(deg), position
change: 0.0209619(m).
04-05 14:34:03.177 10638 11060 E native : E0405 14:34:03.177323 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.438832, which should be less equal than 5.000000 degrees.
04-05 14:34:03.177 10638 11060 E native : E0405 14:34:03.177391 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:03.177 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:03.177 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:03.177 10638 11060 E native :
04-05 14:34:03.188 10638 13087 E native : E0405 14:34:03.187978 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.221 10638 13087 E native : E0405 14:34:03.221338 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.253 10638 13087 E native : E0405 14:34:03.253883 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.262 10638 11060 I native : I0405 14:34:03.262275 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.81107, y: -
0.478986, z: -0.276666, w: 0.190246], p = [x: 0.36045, y: -0.661948, z: -0.0320469]
04-05 14:34:03.262 10638 11060 I native : to: q = [x: 0.808493, y: -0.496028, z: -
0.231737, w: 0.215856], p = [x: 0.330162, y: -0.662046, z: -0.0273016]
04-05 14:34:03.262 10638 11060 I native : rotation change: 6.2474(deg), position
change: 0.0306583(m).
04-05 14:34:03.262 10638 11060 E native : E0405 14:34:03.262374 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.161573, which should be less equal than 5.000000 degrees.
04-05 14:34:03.262 10638 11060 E native : E0405 14:34:03.262393 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:03.262 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:03.262 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:03.262 10638 11060 E native :
04-05 14:34:03.286 10638 13087 E native : E0405 14:34:03.286881 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.316 10638 13087 E native : E0405 14:34:03.316604 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.337 10638 11060 I native : I0405 14:34:03.337265 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.79195, y: -
0.509825, z: -0.269304, w: 0.200919], p = [x: 0.349404, y: -0.66397, z: -0.0337823]
04-05 14:34:03.337 10638 11060 I native : to: q = [x: 0.806726, y: -0.495057, z: -
0.234021, w: 0.222141], p = [x: 0.329341, y: -0.664878, z: -0.029676]
04-05 14:34:03.337 10638 11060 I native : rotation change: 5.29129(deg), position
change: 0.0204994(m).
04-05 14:34:03.337 10638 11060 E native : E0405 14:34:03.337636 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.239751, which should be less equal than 5.000000 degrees.
04-05 14:34:03.337 10638 11060 E native : E0405 14:34:03.337701 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:03.337 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:03.337 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:03.337 10638 11060 E native :
04-05 14:34:03.356 10638 13087 E native : E0405 14:34:03.356121 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.383 10638 13087 E native : E0405 14:34:03.383715 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.423 10638 13087 E native : E0405 14:34:03.423781 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.458 10638 13087 E native : E0405 14:34:03.457961 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.460 10638 11060 I native : I0405 14:34:03.460610 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.794721, y: -
0.504738, z: -0.27148, w: 0.199891], p = [x: 0.350921, y: -0.663123, z: -0.0338618]
04-05 14:34:03.460 10638 11060 I native : to: q = [x: 0.806464, y: -0.494798, z: -
0.235193, w: 0.222429], p = [x: 0.329506, y: -0.664724, z: -0.0298236]
04-05 14:34:03.460 10638 11060 I native : rotation change: 5.20315(deg), position
change: 0.0218512(m).
04-05 14:34:03.461 10638 11060 E native : E0405 14:34:03.461063 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.202887, which should be less equal than 5.000000 degrees.
04-05 14:34:03.461 10638 11060 E native : E0405 14:34:03.461194 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:03.461 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:03.461 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:03.461 10638 11060 E native :
04-05 14:34:03.493 10638 13087 E native : E0405 14:34:03.493683 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.521 10638 13087 E native : E0405 14:34:03.521753 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.549 10638 11060 I native : I0405 14:34:03.549519 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.800302, y: -
0.494747, z: -0.274791, w: 0.19807], p = [x: 0.353358, y: -0.662949, z: -0.0341879]
04-05 14:34:03.549 10638 11060 I native : to: q = [x: 0.806704, y: -0.495853, z: -
0.23559, w: 0.218758], p = [x: 0.330857, y: -0.662926, z: -0.0278783]
04-05 14:34:03.549 10638 11060 I native : rotation change: 5.13394(deg), position
change: 0.023368(m).
04-05 14:34:03.551 10638 11060 I native : I0405 14:34:03.550858 11060
sbr_constraint_update_utils.cc:280] (Re-)setting adf_T_vio: q = [x: -0.0049923, y:
-0.0430841, z: 0.00231527, w: 0.999056], p = [x: 0.0150325, y: -0.0033034, z:
0.0317858]
04-05 14:34:03.557 10638 13087 E native : E0405 14:34:03.557910 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.588 10638 13087 E native : E0405 14:34:03.588157 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.622 10638 13087 E native : E0405 14:34:03.622958 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.657 10638 11060 E native : E0405 14:34:03.656962 11060
sbr_action_state.cc:215] 2 consistent ADF to VIO transformation from MLE are
required to initialize this variable in VIO. Current value is 0.
04-05 14:34:03.657 10638 11060 E native : E0405 14:34:03.657259 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:03.657 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:03.657 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:03.657 10638 11060 E native :
04-05 14:34:03.671 10638 13087 E native : E0405 14:34:03.671898 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.692 10638 13087 E native : E0405 14:34:03.692848 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.721 10638 13087 E native : E0405 14:34:03.721644 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.767 10638 13087 E native : E0405 14:34:03.767387 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.792 10638 13087 E native : E0405 14:34:03.792229 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.822 10638 13087 E native : E0405 14:34:03.822507 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.864 10638 13087 E native : E0405 14:34:03.864674 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.906 10638 13087 E native : E0405 14:34:03.906546 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.928 10638 13087 E native : E0405 14:34:03.928544 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.963 10638 13087 E native : E0405 14:34:03.963351 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:03.997 10638 13087 E native : E0405 14:34:03.997419 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.033 10638 13087 E native : E0405 14:34:04.033873 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.069 10638 13087 E native : E0405 14:34:04.069118 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.105 10638 13087 E native : E0405 14:34:04.104918 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.128 10638 13087 E native : E0405 14:34:04.128585 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.166 10638 13087 E native : E0405 14:34:04.166644 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.197 10638 13087 E native : E0405 14:34:04.197811 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.232 10638 13087 E native : E0405 14:34:04.232686 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.280 10638 13087 E native : E0405 14:34:04.280043 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.302 10638 13087 E native : E0405 14:34:04.302082 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.341 10638 13087 E native : E0405 14:34:04.341616 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.363 10638 13087 E native : E0405 14:34:04.363937 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.400 10638 13087 E native : E0405 14:34:04.400108 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.431 10638 13087 E native : E0405 14:34:04.431737 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.466 10638 13087 E native : E0405 14:34:04.466580 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.503 10638 13087 E native : E0405 14:34:04.503715 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.534 10638 13087 E native : E0405 14:34:04.534056 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.569 10638 13087 E native : E0405 14:34:04.569424 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.609 10638 13087 E native : E0405 14:34:04.609222 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.639 10638 13087 E native : E0405 14:34:04.639718 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.666 10638 13087 E native : E0405 14:34:04.666634 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.703 10638 13087 E native : E0405 14:34:04.703749 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.711 10638 11038 I System.out: [okhttp]:check permission begin!
04-05 14:34:04.713 10638 11038 I System.out: [okhttp]:not MMS!
04-05 14:34:04.713 10638 11038 I System.out: [okhttp]:not Email!
04-05 14:34:04.716 10638 11038 I System.out: [OkHttp] sendRequest<<
04-05 14:34:04.737 10638 13087 E native : E0405 14:34:04.737304 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.770 10638 11060 I native : I0405 14:34:04.770847 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.795452, y: -
0.504479, z: -0.270224, w: 0.199341], p = [x: 0.34954, y: -0.663084, z: -0.0301077]
04-05 14:34:04.770 10638 11060 I native : to: q = [x: 0.807475, y: -0.494453, z: -
0.233031, w: 0.221806], p = [x: 0.327908, y: -0.662451, z: -0.0329149]
04-05 14:34:04.770 10638 11060 I native : rotation change: 5.29286(deg), position
change: 0.0218221(m).
04-05 14:34:04.771 10638 11060 E native : E0405 14:34:04.771057 11060
sbr_action_state.cc:215] 2 consistent ADF to VIO transformation from MLE are
required to initialize this variable in VIO. Current value is 1.
04-05 14:34:04.771 10638 11060 E native : E0405 14:34:04.771103 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:04.771 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:04.771 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:04.771 10638 11060 E native :
04-05 14:34:04.776 10638 13087 E native : E0405 14:34:04.776196 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.815 10638 13087 E native : E0405 14:34:04.815487 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.843 10638 13087 E native : E0405 14:34:04.843787 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.866 10638 11060 I native : I0405 14:34:04.866621 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.783199, y: -
0.522379, z: -0.266617, w: 0.206481], p = [x: 0.345273, y: -0.660114, z: -
0.0403488]
04-05 14:34:04.866 10638 11060 I native : to: q = [x: 0.807115, y: -0.494584, z: -
0.233098, w: 0.222749], p = [x: 0.327579, y: -0.662522, z: -0.0321009]
04-05 14:34:04.866 10638 11060 I native : rotation change: 5.99095(deg), position
change: 0.0196697(m).
04-05 14:34:04.866 10638 11060 E native : E0405 14:34:04.866719 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.378772, which should be less equal than 5.000000 degrees.
04-05 14:34:04.866 10638 11060 E native : E0405 14:34:04.866738 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:04.866 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:04.866 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:04.866 10638 11060 E native :
04-05 14:34:04.888 10638 13087 E native : E0405 14:34:04.888476 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.903 10638 13087 E native : E0405 14:34:04.903317 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.941 10638 13087 E native : E0405 14:34:04.941251 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:04.963 10638 11060 I native : I0405 14:34:04.963701 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.792643, y: -
0.508954, z: -0.26921, w: 0.200521], p = [x: 0.347792, y: -0.661482, z: -0.0375394]
04-05 14:34:04.963 10638 11060 I native : to: q = [x: 0.807424, y: -0.49448, z: -
0.232344, w: 0.222649], p = [x: 0.327197, y: -0.662888, z: -0.0330131]
04-05 14:34:04.963 10638 11060 I native : rotation change: 5.46831(deg), position
change: 0.0211336(m).
04-05 14:34:04.963 10638 11060 E native : E0405 14:34:04.963961 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.429851, which should be less equal than 5.000000 degrees.
04-05 14:34:04.964 10638 11060 E native : E0405 14:34:04.964001 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:04.964 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:04.964 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:04.964 10638 11060 E native :
04-05 14:34:04.982 10638 13087 E native : E0405 14:34:04.982907 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.015 10638 13087 E native : E0405 14:34:05.015819 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.054 10638 13087 E native : E0405 14:34:05.053994 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.076 10638 13087 E native : E0405 14:34:05.076426 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.088 10638 11060 I native : I0405 14:34:05.088768 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.802551, y: -
0.493727, z: -0.271969, w: 0.195391], p = [x: 0.355056, y: -0.663487, z: -
0.0301825]
04-05 14:34:05.088 10638 11060 I native : to: q = [x: 0.808291, y: -0.495264, z: -
0.23048, w: 0.219677], p = [x: 0.328011, y: -0.661228, z: -0.0322046]
04-05 14:34:05.088 10638 11060 I native : rotation change: 5.55145(deg), position
change: 0.0272146(m).
04-05 14:34:05.089 10638 11060 E native : E0405 14:34:05.088992 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.343960, which should be less equal than 5.000000 degrees.
04-05 14:34:05.089 10638 11060 E native : E0405 14:34:05.089038 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:05.089 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:05.089 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:05.089 10638 11060 E native :
04-05 14:34:05.109 10638 13087 E native : E0405 14:34:05.109067 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.146 10638 13087 E native : E0405 14:34:05.145963 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.189 10638 13087 E native : E0405 14:34:05.189514 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.196 10638 11060 I native : I0405 14:34:05.196833 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.797224, y: -
0.502395, z: -0.269484, w: 0.198523], p = [x: 0.35086, y: -0.66176, z: -0.0322456]
04-05 14:34:05.196 10638 11060 I native : to: q = [x: 0.80734, y: -0.495013, z: -
0.231527, w: 0.22262], p = [x: 0.327715, y: -0.66226, z: -0.033757]
04-05 14:34:05.196 10638 11060 I native : rotation change: 5.34865(deg), position
change: 0.0231998(m).
04-05 14:34:05.196 10638 11060 E native : E0405 14:34:05.196974 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.337116, which should be less equal than 5.000000 degrees.
04-05 14:34:05.197 10638 11060 E native : E0405 14:34:05.196999 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:05.197 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:05.197 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:05.197 10638 11060 E native :
04-05 14:34:05.213 10638 13087 E native : E0405 14:34:05.213566 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.247 10638 13087 E native : E0405 14:34:05.247653 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.275 10638 11060 I native : I0405 14:34:05.275281 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.804661, y: -
0.489762, z: -0.272913, w: 0.195377], p = [x: 0.352499, y: -0.661274, z: -
0.0358784]
04-05 14:34:05.275 10638 11060 I native : to: q = [x: 0.80841, y: -0.495232, z: -
0.232679, w: 0.216977], p = [x: 0.329277, y: -0.660621, z: -0.0312364]
04-05 14:34:05.275 10638 11060 I native : rotation change: 5.28829(deg), position
change: 0.0236906(m).
04-05 14:34:05.276 10638 11060 I native : I0405 14:34:05.276770 11060
sbr_constraint_update_utils.cc:280] (Re-)setting adf_T_vio: q = [x: -0.00538656, y:
-0.0428117, z: 0.00317574, w: 0.999064], p = [x: 0.0156699, y: -0.00300782, z:
0.0319527]
04-05 14:34:05.279 10638 13087 E native : E0405 14:34:05.279398 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.311 10638 13087 E native : E0405 14:34:05.311783 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.343 10638 13087 E native : E0405 14:34:05.343355 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.373 10638 11060 E native : E0405 14:34:05.372979 11060
sbr_action_state.cc:215] 2 consistent ADF to VIO transformation from MLE are
required to initialize this variable in VIO. Current value is 0.
04-05 14:34:05.373 10638 11060 E native : E0405 14:34:05.373109 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:05.373 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:05.373 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:05.373 10638 11060 E native :
04-05 14:34:05.403 10638 13087 E native : E0405 14:34:05.403885 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.423 10638 13087 E native : E0405 14:34:05.423507 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.452 10638 13087 E native : E0405 14:34:05.452598 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.487 10638 13087 E native : E0405 14:34:05.487069 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.519 10638 13087 E native : E0405 14:34:05.519648 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.549 10638 13087 E native : E0405 14:34:05.549207 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.585 10638 13087 E native : E0405 14:34:05.585420 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.612 10638 13087 E native : E0405 14:34:05.612961 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.650 10638 13087 E native : E0405 14:34:05.650427 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.688 10638 13087 E native : E0405 14:34:05.688213 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.719 10638 13087 E native : E0405 14:34:05.719585 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.755 10638 13087 E native : E0405 14:34:05.755067 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.787 10638 13087 E native : E0405 14:34:05.787668 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.817 10638 13087 E native : E0405 14:34:05.817108 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.861 10638 13087 E native : E0405 14:34:05.861381 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.894 10638 13087 E native : E0405 14:34:05.894172 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.929 10638 13087 E native : E0405 14:34:05.929103 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.955 10638 13087 E native : E0405 14:34:05.955513 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:05.990 10638 13087 E native : E0405 14:34:05.990685 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.020 10638 13087 E native : E0405 14:34:06.020314 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.055 10638 13087 E native : E0405 14:34:06.055033 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.088 10638 13087 E native : E0405 14:34:06.088112 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.123 10638 13087 E native : E0405 14:34:06.123541 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.157 10638 13087 E native : E0405 14:34:06.157003 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.191 10638 13087 E native : E0405 14:34:06.190986 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.225 10638 13087 E native : E0405 14:34:06.225094 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.257 10638 13087 E native : E0405 14:34:06.257378 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.291 10638 13087 E native : E0405 14:34:06.291583 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.325 10638 13087 E native : E0405 14:34:06.325721 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.357 10638 13087 E native : E0405 14:34:06.357412 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.400 10638 13087 E native : E0405 14:34:06.400807 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.424 10638 13087 E native : E0405 14:34:06.424961 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.459 10638 13087 E native : E0405 14:34:06.458746 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.496 10638 11060 I native : I0405 14:34:06.496616 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.805069, y: -
0.492571, z: -0.26766, w: 0.193896], p = [x: 0.35147, y: -0.661276, z: -0.0360972]
04-05 14:34:06.496 10638 11060 I native : to: q = [x: 0.810091, y: -0.495714, z: -
0.227463, w: 0.215132], p = [x: 0.328828, y: -0.659788, z: -0.0337733]
04-05 14:34:06.496 10638 11060 I native : rotation change: 5.25405(deg), position
change: 0.0228095(m).
04-05 14:34:06.497 10638 11060 E native : E0405 14:34:06.497037 11060
sbr_action_state.cc:215] 2 consistent ADF to VIO transformation from MLE are
required to initialize this variable in VIO. Current value is 1.
04-05 14:34:06.497 10638 11060 E native : E0405 14:34:06.497130 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:06.497 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:06.497 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:06.497 10638 11060 E native :
04-05 14:34:06.500 10638 13087 E native : E0405 14:34:06.500613 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.536 10638 13087 E native : E0405 14:34:06.536485 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.560 10638 13087 E native : E0405 14:34:06.560160 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.587 10638 11060 I native : I0405 14:34:06.587799 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.789103, y: -
0.517852, z: -0.261613, w: 0.201755], p = [x: 0.343344, y: -0.666027, z: -
0.0375854]
04-05 14:34:06.587 10638 11060 I native : to: q = [x: 0.809497, y: -0.494906, z: -
0.226956, w: 0.219711], p = [x: 0.327284, y: -0.6613, z: -0.035744]
04-05 14:34:06.587 10638 11060 I native : rotation change: 5.69098(deg), position
change: 0.0168424(m).
04-05 14:34:06.587 10638 11060 E native : E0405 14:34:06.587892 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.347563, which should be less equal than 5.000000 degrees.
04-05 14:34:06.587 10638 11060 E native : E0405 14:34:06.587910 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:06.587 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:06.587 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:06.587 10638 11060 E native :
04-05 14:34:06.612 10638 13087 E native : E0405 14:34:06.612435 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.637 10638 13087 E native : E0405 14:34:06.637028 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.666 10638 13087 E native : E0405 14:34:06.666417 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.697 10638 11060 I native : I0405 14:34:06.697770 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.799479, y: -
0.501666, z: -0.265346, w: 0.196863], p = [x: 0.351765, y: -0.657953, z: -
0.0439183]
04-05 14:34:06.697 10638 11060 I native : to: q = [x: 0.809417, y: -0.495348, z: -
0.227367, w: 0.218581], p = [x: 0.328242, y: -0.661161, z: -0.0350259]
04-05 14:34:06.697 10638 11060 I native : rotation change: 5.19227(deg), position
change: 0.0253521(m).
04-05 14:34:06.698 10638 11060 E native : E0405 14:34:06.698036 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.179271, which should be less equal than 5.000000 degrees.
04-05 14:34:06.698 10638 11060 E native : E0405 14:34:06.698086 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:06.698 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:06.698 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:06.698 10638 11060 E native :
04-05 14:34:06.699 10638 13087 E native : E0405 14:34:06.699852 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.734 10638 13087 E native : E0405 14:34:06.734155 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.762 10638 13087 E native : E0405 14:34:06.762501 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.793 10638 11060 I native : I0405 14:34:06.793596 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.807673, y: -
0.488115, z: -0.26856, w: 0.193091], p = [x: 0.353725, y: -0.659787, z: -0.0388565]
04-05 14:34:06.793 10638 11060 I native : to: q = [x: 0.810408, y: -0.495856, z: -
0.226821, w: 0.214285], p = [x: 0.329535, y: -0.659635, z: -0.032896]
04-05 14:34:06.793 10638 11060 I native : rotation change: 5.4466(deg), position
change: 0.0249145(m).
04-05 14:34:06.793 10638 11060 E native : E0405 14:34:06.793718 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.008267, which should be less equal than 5.000000 degrees.
04-05 14:34:06.793 10638 11060 E native : E0405 14:34:06.793738 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:06.793 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:06.793 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:06.793 10638 11060 E native :
04-05 14:34:06.804 10638 13087 E native : E0405 14:34:06.804277 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.834 10638 13087 E native : E0405 14:34:06.834437 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.867 10638 13087 E native : E0405 14:34:06.867178 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.894 10638 11060 I native : I0405 14:34:06.894323 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.80547, y: -
0.492007, z: -0.267199, w: 0.194298], p = [x: 0.352096, y: -0.660002, z: -
0.0378398]
04-05 14:34:06.894 10638 11060 I native : to: q = [x: 0.810416, y: -0.49528, z: -
0.22535, w: 0.21712], p = [x: 0.328364, y: -0.660364, z: -0.0336494]
04-05 14:34:06.894 10638 11060 I native : rotation change: 5.5049(deg), position
change: 0.0241015(m).
04-05 14:34:06.894 10638 11060 E native : E0405 14:34:06.894458 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.250220, which should be less equal than 5.000000 degrees.
04-05 14:34:06.894 10638 11060 E native : E0405 14:34:06.894487 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:06.894 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:06.894 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:06.894 10638 11060 E native :
04-05 14:34:06.903 10638 13087 E native : E0405 14:34:06.902983 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.939 10638 13087 E native : E0405 14:34:06.939456 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:06.966 10638 13087 E native : E0405 14:34:06.966707 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.001 10638 13087 E native : E0405 14:34:07.001753 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.001 10638 11060 I native : I0405 14:34:07.001756 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.810651, y: -
0.483197, z: -0.269542, w: 0.191608], p = [x: 0.355586, y: -0.659518, z: -
0.0379639]
04-05 14:34:07.001 10638 11060 I native : to: q = [x: 0.810848, y: -0.495926, z: -
0.226194, w: 0.213117], p = [x: 0.329812, y: -0.659109, z: -0.032442]
04-05 14:34:07.001 10638 11060 I native : rotation change: 5.73447(deg), position
change: 0.0263627(m).
04-05 14:34:07.001 10638 11060 E native : E0405 14:34:07.001956 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.010120, which should be less equal than 5.000000 degrees.
04-05 14:34:07.002 10638 11060 E native : E0405 14:34:07.002004 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:07.002 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:07.002 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:07.002 10638 11060 E native :
04-05 14:34:07.050 10638 13087 E native : E0405 14:34:07.050387 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.076 10638 13087 E native : E0405 14:34:07.076165 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.099 10638 11060 I native : I0405 14:34:07.099234 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.806711, y: -
0.489724, z: -0.267648, w: 0.194301], p = [x: 0.353596, y: -0.663053, z: -
0.0317692]
04-05 14:34:07.099 10638 11060 I native : to: q = [x: 0.810633, y: -0.495597, z: -
0.225886, w: 0.215018], p = [x: 0.329315, y: -0.660144, z: -0.0319864]
04-05 14:34:07.099 10638 11060 I native : rotation change: 5.40351(deg), position
change: 0.0244552(m).
04-05 14:34:07.099 10638 11060 E native : E0405 14:34:07.099606 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.062442, which should be less equal than 5.000000 degrees.
04-05 14:34:07.099 10638 11060 E native : E0405 14:34:07.099736 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:07.099 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:07.099 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:07.099 10638 11060 E native :
04-05 14:34:07.109 10638 13087 E native : E0405 14:34:07.108978 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.144 10638 13087 E native : E0405 14:34:07.144373 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.155 10638 10652 I ptc.vuforiavie: NativeAlloc concurrent copying GC
freed 13073(2853KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 8411KB/16MB,
paused 284us total 101.857ms
04-05 14:34:07.175 10638 13087 E native : E0405 14:34:07.175019 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.207 10638 13087 E native : E0405 14:34:07.207241 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.209 10638 11060 I native : I0405 14:34:07.209679 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.789624, y: -
0.516858, z: -0.260801, w: 0.203311], p = [x: 0.343932, y: -0.664551, z: -
0.0380748]
04-05 14:34:07.209 10638 11060 I native : to: q = [x: 0.809896, y: -0.494477, z: -
0.226934, w: 0.219229], p = [x: 0.328705, y: -0.661879, z: -0.0336773]
04-05 14:34:07.209 10638 11060 I native : rotation change: 5.51083(deg), position
change: 0.0160725(m).
04-05 14:34:07.210 10638 11060 E native : E0405 14:34:07.210144 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.149557, which should be less equal than 5.000000 degrees.
04-05 14:34:07.210 10638 11060 E native : E0405 14:34:07.210441 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:07.210 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:07.210 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:07.210 10638 11060 E native :
04-05 14:34:07.246 10638 13087 E native : E0405 14:34:07.246769 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.272 10638 13087 E native : E0405 14:34:07.272630 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.307 10638 13087 E native : E0405 14:34:07.307200 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.307 10638 11060 I native : I0405 14:34:07.307392 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.798253, y: -
0.503644, z: -0.26373, w: 0.198949], p = [x: 0.35085, y: -0.668643, z: -0.0252509]
04-05 14:34:07.307 10638 11060 I native : to: q = [x: 0.809762, y: -0.4944, z: -
0.226619, w: 0.220224], p = [x: 0.328632, y: -0.661992, z: -0.0345111]
04-05 14:34:07.307 10638 11060 I native : rotation change: 5.18603(deg), position
change: 0.0249727(m).
04-05 14:34:07.307 10638 11060 E native : E0405 14:34:07.307599 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.185991, which should be less equal than 5.000000 degrees.
04-05 14:34:07.307 10638 11060 E native : E0405 14:34:07.307661 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:07.307 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:07.307 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:07.307 10638 11060 E native :
04-05 14:34:07.338 10638 13087 E native : E0405 14:34:07.338441 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.375 10638 13087 E native : E0405 14:34:07.375027 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.403 10638 11060 I native : I0405 14:34:07.403068 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.804166, y: -
0.494439, z: -0.265367, w: 0.196028], p = [x: 0.355542, y: -0.663101, z: -0.039329]
04-05 14:34:07.403 10638 11060 I native : to: q = [x: 0.811227, y: -0.494475, z: -
0.225316, w: 0.215958], p = [x: 0.32954, y: -0.660236, z: -0.0330553]
04-05 14:34:07.403 10638 11060 I native : rotation change: 5.19024(deg), position
change: 0.0269014(m).
04-05 14:34:07.403 10638 11060 E native : E0405 14:34:07.403207 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.070226, which should be less equal than 5.000000 degrees.
04-05 14:34:07.403 10638 11060 E native : E0405 14:34:07.403226 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:07.403 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:07.403 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:07.403 10638 11060 E native :
04-05 14:34:07.409 10638 13087 E native : E0405 14:34:07.409193 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.438 10638 13087 E native : E0405 14:34:07.438839 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.472 10638 13087 E native : E0405 14:34:07.472550 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.508 10638 11060 I native : I0405 14:34:07.507975 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.800284, y: -
0.501726, z: -0.261758, w: 0.198241], p = [x: 0.350561, y: -0.66097, z: -0.035101]
04-05 14:34:07.508 10638 11060 I native : to: q = [x: 0.811702, y: -0.494703, z: -
0.223162, w: 0.215888], p = [x: 0.329241, y: -0.659622, z: -0.0338173]
04-05 14:34:07.508 10638 11060 I native : rotation change: 5.10039(deg), position
change: 0.0214009(m).
04-05 14:34:07.508 10638 11060 E native : E0405 14:34:07.508405 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.099293, which should be less equal than 5.000000 degrees.
04-05 14:34:07.508 10638 11060 E native : E0405 14:34:07.508477 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:07.508 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:07.508 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:07.508 10638 11060 E native :
04-05 14:34:07.509 10638 13087 E native : E0405 14:34:07.509266 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.540 10638 13087 E native : E0405 14:34:07.540759 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.572 10638 13087 E native : E0405 14:34:07.572486 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.597 10638 11060 I native : I0405 14:34:07.597282 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.810528, y: -
0.488294, z: -0.259964, w: 0.192438], p = [x: 0.354561, y: -0.663691, z: -
0.0312665]
04-05 14:34:07.597 10638 11060 I native : to: q = [x: 0.816022, y: -0.491524, z: -
0.216338, w: 0.213798], p = [x: 0.327672, y: -0.657061, z: -0.0355454]
04-05 14:34:07.597 10638 11060 I native : rotation change: 5.61452(deg), position
change: 0.0280223(m).
04-05 14:34:07.597 10638 11060 E native : E0405 14:34:07.597407 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.384050, which should be less equal than 5.000000 degrees.
04-05 14:34:07.597 10638 11060 E native : E0405 14:34:07.597427 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:07.597 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:07.597 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:07.597 10638 11060 E native :
04-05 14:34:07.608 10638 13087 E native : E0405 14:34:07.608375 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.616 10638 11062 E native : E0405 14:34:07.616327 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:34:07.616 10638 11062 E native : === Source Location Trace: ===
04-05 14:34:07.616 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:34:07.616 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:34:07.616 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:34:07.616 10638 11062 E native :
04-05 14:34:07.643 10638 13087 E native : E0405 14:34:07.643239 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.680 10638 13087 E native : E0405 14:34:07.679988 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.724 10638 13087 E native : E0405 14:34:07.724408 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.747 10638 11060 I native : I0405 14:34:07.746957 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.815483, y: -
0.488145, z: -0.247462, w: 0.188319], p = [x: 0.343614, y: -0.654415, z: -
0.0501767]
04-05 14:34:07.747 10638 11060 I native : to: q = [x: 0.830166, y: -0.473896, z: -
0.210245, w: 0.205043], p = [x: 0.325922, y: -0.65493, z: -0.0386008]
04-05 14:34:07.747 10638 11060 I native : rotation change: 5.23093(deg), position
change: 0.0211488(m).
04-05 14:34:07.747 10638 11060 E native : E0405 14:34:07.747222 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.157035, which should be less equal than 5.000000 degrees.
04-05 14:34:07.747 10638 11060 E native : E0405 14:34:07.747281 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:07.747 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:07.747 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:07.747 10638 11060 E native :
04-05 14:34:07.751 10638 13087 E native : E0405 14:34:07.751422 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.788 10638 13087 E native : E0405 14:34:07.788281 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.816 10638 11060 I native : I0405 14:34:07.816115 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.818442, y: -
0.487305, z: -0.244591, w: 0.181279], p = [x: 0.349784, y: -0.645901, z: -
0.0384734]
04-05 14:34:07.816 10638 11060 I native : to: q = [x: 0.829573, y: -0.474865, z: -
0.208261, w: 0.207217], p = [x: 0.327546, y: -0.647178, z: -0.0371547]
04-05 14:34:07.816 10638 11060 I native : rotation change: 5.4618(deg), position
change: 0.0223138(m).
04-05 14:34:07.816 10638 11060 E native : E0405 14:34:07.816281 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 5.453171, which should be less equal than 5.000000 degrees.
04-05 14:34:07.816 10638 11060 E native : E0405 14:34:07.816313 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:07.816 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:07.816 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:07.816 10638 11060 E native :
04-05 14:34:07.820 10638 13087 E native : E0405 14:34:07.820781 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.849 10638 13087 E native : E0405 14:34:07.849782 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.881 10638 13087 E native : E0405 14:34:07.881961 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.910 10638 11060 I native : I0405 14:34:07.910234 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.830773, y: -
0.468089, z: -0.251103, w: 0.1663], p = [x: 0.356182, y: -0.630575, z: -0.0303367]
04-05 14:34:07.910 10638 11060 I native : to: q = [x: 0.833569, y: -0.466543, z: -
0.212301, w: 0.205982], p = [x: 0.328448, y: -0.637084, z: -0.0333432]
04-05 14:34:07.910 10638 11060 I native : rotation change: 6.3712(deg), position
change: 0.0286459(m).
04-05 14:34:07.910 10638 11060 E native : E0405 14:34:07.910344 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 6.170717, which should be less equal than 5.000000 degrees.
04-05 14:34:07.910 10638 11060 E native : E0405 14:34:07.910366 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:07.910 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:07.910 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:07.910 10638 11060 E native :
04-05 14:34:07.914 10638 13087 E native : E0405 14:34:07.914013 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.944 10638 13087 E native : E0405 14:34:07.944061 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:07.985 10638 13087 E native : E0405 14:34:07.985521 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.022 10638 11060 I native : I0405 14:34:08.022038 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.845425, y: -
0.452003, z: -0.239828, w: 0.153081], p = [x: 0.355657, y: -0.614561, z: -
0.0292175]
04-05 14:34:08.022 10638 11060 I native : to: q = [x: 0.842912, y: -0.441281, z: -
0.214438, w: 0.22088], p = [x: 0.328132, y: -0.638656, z: -0.0368239]
04-05 14:34:08.022 10638 11060 I native : rotation change: 8.39344(deg), position
change: 0.037364(m).
04-05 14:34:08.022 10638 11060 E native : E0405 14:34:08.022752 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 8.275420, which should be less equal than 5.000000 degrees.
04-05 14:34:08.023 10638 11060 E native : E0405 14:34:08.022985 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:08.023 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:08.023 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:08.023 10638 11060 E native :
04-05 14:34:08.023 10638 13087 E native : E0405 14:34:08.023554 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.058 10638 13087 E native : E0405 14:34:08.058174 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.088 10638 13087 E native : E0405 14:34:08.088127 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.121 10638 13087 E native : E0405 14:34:08.121268 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.131 10638 11060 I native : I0405 14:34:08.131633 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.85824, y: -
0.439608, z: -0.221547, w: 0.145212], p = [x: 0.359696, y: -0.600336, z: -0.023033]
04-05 14:34:08.131 10638 11060 I native : to: q = [x: 0.86588, y: -0.422599, z: -
0.186533, w: 0.192008], p = [x: 0.331478, y: -0.613462, z: -0.0308428]
04-05 14:34:08.131 10638 11060 I native : rotation change: 7.03102(deg), position
change: 0.0320867(m).
04-05 14:34:08.131 10638 11060 E native : E0405 14:34:08.131907 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 7.025147, which should be less equal than 5.000000 degrees.
04-05 14:34:08.132 10638 11060 E native : E0405 14:34:08.132013 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:08.132 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:08.132 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:08.132 10638 11060 E native :
04-05 14:34:08.165 10638 13087 E native : E0405 14:34:08.165422 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.190 10638 13087 E native : E0405 14:34:08.190284 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.233 10638 11060 I native : I0405 14:34:08.233702 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.891311, y: -
0.390816, z: -0.205352, w: 0.103236], p = [x: 0.360293, y: -0.58034, z: -0.0539165]
04-05 14:34:08.233 10638 11060 I native : to: q = [x: 0.887792, y: -0.392859, z: -
0.176619, w: 0.162155], p = [x: 0.338035, y: -0.601621, z: -0.0492377]
04-05 14:34:08.233 10638 11060 I native : rotation change: 7.52752(deg), position
change: 0.0311485(m).
04-05 14:34:08.234 10638 11060 E native : E0405 14:34:08.233980 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 7.229952, which should be less equal than 5.000000 degrees.
04-05 14:34:08.234 10638 11060 E native : E0405 14:34:08.234152 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:08.234 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:08.234 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:08.234 10638 11060 E native :
04-05 14:34:08.320 10638 13087 E native : E0405 14:34:08.320480 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.333 10638 11060 I native : I0405 14:34:08.332898 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.890595, y: -
0.394412, z: -0.205582, w: 0.0949495], p = [x: 0.36105, y: -0.574297, z: -
0.0512879]
04-05 14:34:08.333 10638 11060 I native : to: q = [x: 0.908053, y: -0.351607, z: -
0.137713, w: 0.181237], p = [x: 0.318993, y: -0.594529, z: -0.0665259]
04-05 14:34:08.333 10638 11060 I native : rotation change: 13.6578(deg), position
change: 0.0490946(m).
04-05 14:34:08.333 10638 11060 E native : E0405 14:34:08.333097 11060
sbr_action_state.cc:215] Failed to obtain consistent ADF to VIO transformation.
04-05 14:34:08.333 10638 11060 E native : E0405 14:34:08.333136 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:08.333 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:08.333 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:08.333 10638 11060 E native :
04-05 14:34:08.355 10638 13087 E native : E0405 14:34:08.355617 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.384 10638 13087 E native : E0405 14:34:08.384380 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.415 10638 11060 I native : I0405 14:34:08.415041 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.923294, y: -
0.307154, z: -0.216606, w: 0.0791551], p = [x: 0.366793, y: -0.554188, z: -
0.0750071]
04-05 14:34:08.415 10638 11060 I native : to: q = [x: 0.893865, y: -0.321504, z: -
0.295927, w: 0.100337], p = [x: 0.388821, y: -0.57167, z: -0.097605]
04-05 14:34:08.415 10638 11060 I native : rotation change: 10.1318(deg), position
change: 0.0360767(m).
04-05 14:34:08.415 10638 11060 E native : E0405 14:34:08.415218 11060
sbr_action_state.cc:215] Failed to obtain consistent ADF to VIO transformation.
04-05 14:34:08.415 10638 11060 E native : E0405 14:34:08.415250 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:08.415 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:08.415 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:08.415 10638 11060 E native :
04-05 14:34:08.511 10638 11060 I native : I0405 14:34:08.511310 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.916054, y: -
0.322634, z: -0.224694, w: 0.0791514], p = [x: 0.371283, y: -0.559958, z: -
0.0649856]
04-05 14:34:08.511 10638 11060 I native : to: q = [x: 0.915043, y: -0.337653, z: -
0.177182, w: 0.131506], p = [x: 0.345214, y: -0.574552, z: -0.0640156]
04-05 14:34:08.511 10638 11060 I native : rotation change: 8.28489(deg), position
change: 0.029892(m).
04-05 14:34:08.511 10638 11060 E native : E0405 14:34:08.511407 11060
sbr_action_state.cc:215] Failed to obtain consistent ADF to VIO transformation.
04-05 14:34:08.511 10638 11060 E native : E0405 14:34:08.511426 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:08.511 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:08.511 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:08.511 10638 11060 E native :
04-05 14:34:08.524 10638 13087 E native : E0405 14:34:08.524736 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.560 10638 13087 E native : E0405 14:34:08.559978 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.592 10638 13087 E native : E0405 14:34:08.591959 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.628 10638 13087 E native : E0405 14:34:08.628838 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.636 10638 11060 I native : I0405 14:34:08.636046 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.88946, y: -
0.3808, z: -0.234238, w: 0.0947881], p = [x: 0.373767, y: -0.571192, z: -0.0510395]
04-05 14:34:08.636 10638 11060 I native : to: q = [x: 0.912734, y: -0.306526, z: -
0.149493, w: 0.224967], p = [x: 0.315197, y: -0.612902, z: -0.0621534]
04-05 14:34:08.636 10638 11060 I native : rotation change: 19.9346(deg), position
change: 0.0727573(m).
04-05 14:34:08.636 10638 11060 E native : E0405 14:34:08.636177 11060
sbr_action_state.cc:215] Failed to obtain consistent ADF to VIO transformation.
04-05 14:34:08.636 10638 11060 E native : E0405 14:34:08.636203 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:08.636 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:08.636 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:08.636 10638 11060 E native :
04-05 14:34:08.657 10638 13087 E native : E0405 14:34:08.657751 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.690 10638 13087 E native : E0405 14:34:08.690386 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.712 10638 11060 I native : I0405 14:34:08.712529 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.900811, y: -
0.348085, z: -0.241126, w: 0.0961024], p = [x: 0.365599, y: -0.580846, z: -
0.050934]
04-05 14:34:08.712 10638 11060 I native : to: q = [x: 0.904163, y: -0.311293, z: -
0.197552, w: 0.215777], p = [x: 0.331203, y: -0.623907, z: -0.055709]
04-05 14:34:08.712 10638 11060 I native : rotation change: 15.2073(deg), position
change: 0.0553188(m).
04-05 14:34:08.712 10638 11060 E native : E0405 14:34:08.712623 11060
sbr_action_state.cc:215] Failed to obtain consistent ADF to VIO transformation.
04-05 14:34:08.712 10638 11060 E native : E0405 14:34:08.712640 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:08.712 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:08.712 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:08.712 10638 11060 E native :
04-05 14:34:08.729 10638 13087 E native : E0405 14:34:08.729195 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.759 10638 13087 E native : E0405 14:34:08.759517 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.792 10638 13087 E native : E0405 14:34:08.792522 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.824 10638 11060 I native : I0405 14:34:08.824390 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.908166, y: -
0.327238, z: -0.240237, w: 0.10216], p = [x: 0.371865, y: -0.587211, z: -0.0124232]
04-05 14:34:08.824 10638 11060 I native : to: q = [x: 0.907771, y: -0.307338, z: -
0.187703, w: 0.215089], p = [x: 0.323365, y: -0.627057, z: -0.0419306]
04-05 14:34:08.824 10638 11060 I native : rotation change: 14.4631(deg), position
change: 0.0693586(m).
04-05 14:34:08.824 10638 11060 E native : E0405 14:34:08.824624 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 14.365559, which should be less equal than 5.000000 degrees.
04-05 14:34:08.824 10638 11060 E native : E0405 14:34:08.824675 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:08.824 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:08.824 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:08.824 10638 11060 E native :
04-05 14:34:08.829 10638 13087 E native : E0405 14:34:08.829432 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.856 10638 13087 E native : E0405 14:34:08.856495 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.890 10638 13087 E native : E0405 14:34:08.890818 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.927 10638 13087 E native : E0405 14:34:08.927478 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.937 10638 11060 I native : I0405 14:34:08.937366 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.920825, y: -
0.287301, z: -0.244036, w: 0.0999252], p = [x: 0.364152, y: -0.583734, z: -
0.0253978]
04-05 14:34:08.937 10638 11060 I native : to: q = [x: 0.907137, y: -0.29977, z: -
0.213474, w: 0.204131], p = [x: 0.332688, y: -0.628668, z: -0.0313127]
04-05 14:34:08.937 10638 11060 I native : rotation change: 12.63(deg), position
change: 0.0551728(m).
04-05 14:34:08.937 10638 11060 E native : E0405 14:34:08.937631 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 11.576866, which should be less equal than 5.000000 degrees.
04-05 14:34:08.937 10638 11060 E native : E0405 14:34:08.937685 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:08.937 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:08.937 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:08.937 10638 11060 E native :
04-05 14:34:08.960 10638 13087 E native : E0405 14:34:08.960910 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:08.995 10638 13087 E native : E0405 14:34:08.995054 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.027 10638 13087 E native : E0405 14:34:09.027051 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.039 10638 11060 I native : I0405 14:34:09.039389 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.896302, y: -
0.35529, z: -0.23672, w: 0.119901], p = [x: 0.359262, y: -0.592792, z: -0.00932762]
04-05 14:34:09.039 10638 11060 I native : to: q = [x: 0.911985, y: -0.280088, z: -
0.213662, w: 0.210196], p = [x: 0.332031, y: -0.633035, z: -0.0245718]
04-05 14:34:09.039 10638 11060 I native : rotation change: 13.848(deg), position
change: 0.0509257(m).
04-05 14:34:09.039 10638 11060 E native : E0405 14:34:09.039679 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 12.655705, which should be less equal than 5.000000 degrees.
04-05 14:34:09.039 10638 11060 E native : E0405 14:34:09.039726 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:09.039 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:09.039 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:09.039 10638 11060 E native :
04-05 14:34:09.062 10638 13087 E native : E0405 14:34:09.062277 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.111 10638 13087 E native : E0405 14:34:09.111058 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.131 10638 13087 E native : E0405 14:34:09.130973 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.148 10638 11060 I native : I0405 14:34:09.148811 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.920352, y: -
0.285306, z: -0.247505, w: 0.101457], p = [x: 0.366016, y: -0.593781, z: -
0.00930072]
04-05 14:34:09.148 10638 11060 I native : to: q = [x: 0.922567, y: -0.27253, z: -
0.201724, w: 0.184135], p = [x: 0.329537, y: -0.624029, z: -0.0203154]
04-05 14:34:09.148 10638 11060 I native : rotation change: 10.9352(deg), position
change: 0.0486522(m).
04-05 14:34:09.148 10638 11060 E native : E0405 14:34:09.148934 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 10.837058, which should be less equal than 5.000000 degrees.
04-05 14:34:09.148 10638 11060 E native : E0405 14:34:09.148954 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:09.148 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:09.148 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:09.148 10638 11060 E native :
04-05 14:34:09.163 10638 13087 E native : E0405 14:34:09.163492 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.207 10638 13087 E native : E0405 14:34:09.206891 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.251 10638 13087 E native : E0405 14:34:09.251035 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.271 10638 13087 E native : E0405 14:34:09.271817 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.301 10638 13087 E native : E0405 14:34:09.301509 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.332 10638 13087 E native : E0405 14:34:09.332350 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.365 10638 13087 E native : E0405 14:34:09.365154 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.397 10638 13087 E native : E0405 14:34:09.397305 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.434 10638 13087 E native : E0405 14:34:09.434133 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.469 10638 13087 E native : E0405 14:34:09.469112 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.507 10638 13087 E native : E0405 14:34:09.507616 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.549 10638 13087 E native : E0405 14:34:09.549717 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.578 10638 13087 E native : E0405 14:34:09.578517 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.602 10638 13087 E native : E0405 14:34:09.602345 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.650 10638 13087 E native : E0405 14:34:09.650460 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.666 10638 13087 E native : E0405 14:34:09.666119 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.706 10638 13087 E native : E0405 14:34:09.706721 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.740 10638 13087 E native : E0405 14:34:09.740029 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.782 10638 13087 E native : E0405 14:34:09.782721 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:09.808 10638 13087 E native : E0405 14:34:09.808073 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:10.251 10638 13087 E native : E0405 14:34:10.251418 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:10.287 10638 13087 E native : E0405 14:34:10.287610 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:10.314 10638 13087 E native : E0405 14:34:10.314169 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:10.344 10638 11060 I native : I0405 14:34:10.344425 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.92244, y: -
0.279834, z: -0.24935, w: 0.0928488], p = [x: 0.404218, y: -0.584112, z:
0.00127064]
04-05 14:34:10.344 10638 11060 I native : to: q = [x: 0.926861, y: -0.27444, z: -
0.177441, w: 0.184731], p = [x: 0.347171, y: -0.617806, z: -0.0140696]
04-05 14:34:10.344 10638 11060 I native : rotation change: 13.4015(deg), position
change: 0.0680074(m).
04-05 14:34:10.344 10638 11060 E native : E0405 14:34:10.344571 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 13.128675, which should be less equal than 5.000000 degrees.
04-05 14:34:10.344 10638 11060 E native : E0405 14:34:10.344594 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:10.344 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:10.344 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:10.344 10638 11060 E native :
04-05 14:34:10.350 10638 13087 E native : E0405 14:34:10.350098 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:10.379 10638 13087 E native : E0405 14:34:10.379844 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:10.444 10638 11060 I native : I0405 14:34:10.444158 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.914633, y: -
0.302319, z: -0.25013, w: 0.0973898], p = [x: 0.397592, y: -0.586991, z: -
0.0103616]
04-05 14:34:10.444 10638 11060 I native : to: q = [x: 0.923487, y: -0.276901, z: -
0.203074, w: 0.171053], p = [x: 0.360335, y: -0.616462, z: -0.0137288]
04-05 14:34:10.444 10638 11060 I native : rotation change: 10.4843(deg), position
change: 0.0476235(m).
04-05 14:34:10.444 10638 11060 E native : E0405 14:34:10.444261 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 10.478934, which should be less equal than 5.000000 degrees.
04-05 14:34:10.444 10638 11060 E native : E0405 14:34:10.444282 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:10.444 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:10.444 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:10.444 10638 11060 E native :
04-05 14:34:10.534 10638 11060 I native : I0405 14:34:10.534269 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.910996, y: -
0.31106, z: -0.251303, w: 0.100868], p = [x: 0.400789, y: -0.59301, z: 0.00357779]
04-05 14:34:10.534 10638 11060 I native : to: q = [x: 0.917154, y: -0.284688, z: -
0.213292, w: 0.179688], p = [x: 0.362344, y: -0.62321, z: -0.0166796]
04-05 14:34:10.534 10638 11060 I native : rotation change: 10.5004(deg), position
change: 0.0529199(m).
04-05 14:34:10.534 10638 11060 E native : E0405 14:34:10.534567 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 10.497085, which should be less equal than 5.000000 degrees.
04-05 14:34:10.534 10638 11060 E native : E0405 14:34:10.534838 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:10.534 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:10.534 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:10.534 10638 11060 E native :
04-05 14:34:10.646 10638 11062 E native : E0405 14:34:10.646265 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:34:10.646 10638 11062 E native : === Source Location Trace: ===
04-05 14:34:10.646 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:34:10.646 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:34:10.646 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:34:10.646 10638 11062 E native :
04-05 14:34:10.646 10638 11060 I native : I0405 14:34:10.646414 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.924208, y: -
0.270112, z: -0.254596, w: 0.0897724], p = [x: 0.400303, y: -0.583807, z: -
0.00869696]
04-05 14:34:10.646 10638 11060 I native : to: q = [x: 0.917082, y: -0.272716, z: -
0.214565, w: 0.196337], p = [x: 0.359091, y: -0.629435, z: -0.0288647]
04-05 14:34:10.646 10638 11060 I native : rotation change: 13.0806(deg), position
change: 0.0647073(m).
04-05 14:34:10.646 10638 11060 E native : E0405 14:34:10.646597 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 12.443104, which should be less equal than 5.000000 degrees.
04-05 14:34:10.646 10638 11060 E native : E0405 14:34:10.646660 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:10.646 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:10.646 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:10.646 10638 11060 E native :
04-05 14:34:10.753 10638 11060 I native : I0405 14:34:10.753775 11060
sbr_constraint_update_utils.cc:615] Refined adf_T_C from: q = [x: 0.92262, y: -
0.276145, z: -0.253393, w: 0.09115], p = [x: 0.400418, y: -0.583814, z: -0.0110568]
04-05 14:34:10.753 10638 11060 I native : to: q = [x: 0.925156, y: -0.271943, z: -
0.207447, w: 0.16462], p = [x: 0.363144, y: -0.615278, z: -0.0137589]
04-05 14:34:10.753 10638 11060 I native : rotation change: 9.94876(deg), position
change: 0.0488533(m).
04-05 14:34:10.754 10638 11060 E native : E0405 14:34:10.754127 11060
sbr_action_state.cc:215] Corrupted adf_T_vio since it violates gravity alignment
threshold: 9.725933, which should be less equal than 5.000000 degrees.
04-05 14:34:10.754 10638 11060 E native : E0405 14:34:10.754330 11060
ralph_adapter.cc:820] NOT_FOUND: Map with id: not found in the state.
04-05 14:34:10.754 10638 11060 E native : === Source Location Trace: ===
04-05 14:34:10.754 10638 11060 E native :
third_party/alphatrack/internal/ralph/ralph.cc:1259
04-05 14:34:10.754 10638 11060 E native :
04-05 14:34:11.698 10638 13087 E native : E0405 14:34:11.697969 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:11.729 10638 13087 E native : E0405 14:34:11.729150 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:11.777 10638 13087 E native : E0405 14:34:11.777595 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:11.817 10638 13087 E native : E0405 14:34:11.817038 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:11.828 10638 13087 E native : E0405 14:34:11.828530 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:11.837 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:11.855 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:11.871 10638 13087 E native : E0405 14:34:11.871503 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:11.891 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:11.915 10638 13087 E native : E0405 14:34:11.915053 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:11.923 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:11.941 10638 13087 E native : E0405 14:34:11.941753 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:11.966 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:11.977 10638 13087 E native : E0405 14:34:11.977172 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.005 10638 13087 E native : E0405 14:34:12.005809 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.009 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:12.023 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:12.048 10638 13087 E native : E0405 14:34:12.048864 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.068 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:12.086 10638 13087 E native : E0405 14:34:12.086172 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.091 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:12.105 10638 13087 E native : E0405 14:34:12.105446 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.131 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:12.140 10638 13087 E native : E0405 14:34:12.140296 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.166 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:12.174 10638 13087 E native : E0405 14:34:12.173894 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.196 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:12.205 10638 13087 E native : E0405 14:34:12.205675 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.238 10638 13087 E native : E0405 14:34:12.238800 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.269 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:12.279 10638 13087 E native : E0405 14:34:12.279911 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.285 10638 10638 I TGX-JS-Console: "addFunctionSuccessCallback called
for ID: model-1", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js (1951)
04-05 14:34:12.311 10638 13087 E native : E0405 14:34:12.310877 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.349 10638 13087 E native : E0405 14:34:12.349466 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.391 10638 13087 E native : E0405 14:34:12.391594 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.411 10638 13087 E native : E0405 14:34:12.411632 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.435 10638 10652 I ptc.vuforiavie: NativeAlloc concurrent copying GC
freed 54337(5232KB) AllocSpace objects, 10(1312KB) LOS objects, 49% free,
8295KB/16MB, paused 74us total 141.240ms
04-05 14:34:12.439 10638 13087 E native : E0405 14:34:12.439746 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.483 10638 13087 E native : E0405 14:34:12.483572 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.516 10638 13087 E native : E0405 14:34:12.515899 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.549 10638 13087 E native : E0405 14:34:12.549373 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.575 10638 13087 E native : E0405 14:34:12.575374 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.609 10638 13087 E native : E0405 14:34:12.609031 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.639 10638 13087 E native : E0405 14:34:12.639821 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.681 10638 13087 E native : E0405 14:34:12.681248 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.708 10638 13087 E native : E0405 14:34:12.708815 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.741 10638 13087 E native : E0405 14:34:12.741755 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.781 10638 13087 E native : E0405 14:34:12.781663 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.794 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:34:12.811 10638 13087 E native : E0405 14:34:12.811881 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.840 10638 13087 E native : E0405 14:34:12.840125 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.880 10638 13087 E native : E0405 14:34:12.880415 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.914 10638 13087 E native : E0405 14:34:12.914847 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.947 10638 13087 E native : E0405 14:34:12.947219 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:12.995 10638 13087 E native : E0405 14:34:12.995767 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.018 10638 13087 E native : E0405 14:34:13.018693 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.046 10638 13087 E native : E0405 14:34:13.046613 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.094 10638 13087 E native : E0405 14:34:13.093995 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.119 10638 13087 E native : E0405 14:34:13.119414 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.149 10638 13087 E native : E0405 14:34:13.149877 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.184 10638 13087 E native : E0405 14:34:13.184088 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.219 10638 13087 E native : E0405 14:34:13.219522 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.248 10638 13087 E native : E0405 14:34:13.248002 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.287 10638 13087 E native : E0405 14:34:13.287417 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.335 10638 13087 E native : E0405 14:34:13.335716 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.360 10638 13087 E native : E0405 14:34:13.360514 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.389 10638 13087 E native : E0405 14:34:13.389048 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.423 10638 13087 E native : E0405 14:34:13.422954 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.455 10638 13087 E native : E0405 14:34:13.455492 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.492 10638 13087 E native : E0405 14:34:13.492074 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.521 10638 13087 E native : E0405 14:34:13.521307 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.554 10638 13087 E native : E0405 14:34:13.554207 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.596 10638 13087 E native : E0405 14:34:13.596525 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.623 10638 13087 E native : E0405 14:34:13.623320 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.656 10638 13087 E native : E0405 14:34:13.656306 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.658 10638 11062 E native : E0405 14:34:13.658045 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:34:13.658 10638 11062 E native : === Source Location Trace: ===
04-05 14:34:13.658 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:34:13.658 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:34:13.658 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:34:13.658 10638 11062 E native :
04-05 14:34:13.695 10638 13087 E native : E0405 14:34:13.695866 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.726 10638 13087 E native : E0405 14:34:13.726020 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.763 10638 13087 E native : E0405 14:34:13.763092 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.790 10638 13087 E native : E0405 14:34:13.790002 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.822 10638 13087 E native : E0405 14:34:13.822911 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.856 10638 13087 E native : E0405 14:34:13.855843 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.889 10638 13087 E native : E0405 14:34:13.889785 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.924 10638 13087 E native : E0405 14:34:13.924026 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.963 10638 13087 E native : E0405 14:34:13.963490 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:13.998 10638 13087 E native : E0405 14:34:13.998668 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.027 10638 13087 E native : E0405 14:34:14.027923 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.065 10638 13087 E native : E0405 14:34:14.065291 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.089 10638 11059 W native : W0405 14:34:14.089226 11059
data_manager.cc:225] The used RAM memory size by current process is 1066040 kb
which is greater than the threshold, so stop online mapping.
04-05 14:34:14.102 10638 13087 E native : E0405 14:34:14.102542 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.136 10638 13087 E native : E0405 14:34:14.136522 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.161 10638 13087 E native : E0405 14:34:14.161178 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.194 10638 13087 E native : E0405 14:34:14.194478 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.230 10638 13087 E native : E0405 14:34:14.229988 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.269 10638 13087 E native : E0405 14:34:14.269078 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.302 10638 13087 E native : E0405 14:34:14.302404 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.331 10638 13087 E native : E0405 14:34:14.331381 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.374 10638 13087 E native : E0405 14:34:14.374630 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.408 10638 13087 E native : E0405 14:34:14.408113 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.435 10638 13087 E native : E0405 14:34:14.435106 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:14.464 10638 13087 E native : E0405 14:34:14.464714 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:15.047 10638 13087 E native : E0405 14:34:15.047196 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:15.083 10638 13087 E native : E0405 14:34:15.083303 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:15.604 10638 11061 W native : W0405 14:34:15.604127 11061
plane_estimator.cc:661] Got a new plane, id: 6, with a invalid statistics.
04-05 14:34:15.604 10638 11061 W native : W0405 14:34:15.604385 11061
plane_estimator.cc:661] Got a new plane, id: 8, with a invalid statistics.
04-05 14:34:16.416 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:34:16.644 10638 11062 W native : W0405 14:34:16.644160 11062
pose_manager.cc:66] GetRecentDevicePose failed. INVALID_ARGUMENT: Passed timestamp
is too old.
04-05 14:34:16.644 10638 11062 W native : === Source Location Trace: ===
04-05 14:34:16.644 10638 11062 W native :
third_party/redwood/perception/pose_manager/pose_manager.cc:410
04-05 14:34:16.644 10638 11062 W native : Latest VIO t: 136h46m11.294894248s,
latest IMU t: 136h46m11.411003441s, query t:136h46m8.322392248s
04-05 14:34:16.644 10638 11062 E native : E0405 14:34:16.644241 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: INVALID_ARGUMENT: Passed
timestamp is too old.
04-05 14:34:16.644 10638 11062 E native : === Source Location Trace: ===
04-05 14:34:16.644 10638 11062 E native :
third_party/redwood/perception/pose_manager/pose_manager.cc:410
04-05 14:34:16.644 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1400
04-05 14:34:16.644 10638 11062 E native :
04-05 14:34:16.823 10638 11061 W native : W0405 14:34:16.823347 11061
plane_estimator.cc:661] Got a new plane, id: 10, with a invalid statistics.
04-05 14:34:17.178 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:34:17.479 10638 10638 E TGX-JS-Console: "TypeError: Cannot read properties
of undefined (reading 'getTotalSteps')
04-05 14:34:17.479 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js:3258:50
04-05 14:34:17.479 10638 10638 E TGX-JS-Console: at b.$eval
(http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
lib/cdn/ionic.bundle.min.js:176:467)
04-05 14:34:17.479 10638 10638 E TGX-JS-Console: at b.$apply
(http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
lib/cdn/ionic.bundle.min.js:177:188)
04-05 14:34:17.479 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js:3255:15
04-05 14:34:17.479 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js:2941:17
04-05 14:34:17.479 10638 10638 E TGX-JS-Console: at Object.callbackFromNative
(<anonymous>:1:8552)
04-05 14:34:17.479 10638 10638 E TGX-JS-Console: at <anonymous>:1:9", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
cdn/ionic.bundle.min.js (150)
04-05 14:34:17.642 10638 10638 E TGX-JS-Console: "TypeError: Cannot read properties
of undefined (reading 'getCurrentStep')
04-05 14:34:17.642 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js:3322:50
04-05 14:34:17.642 10638 10638 E TGX-JS-Console: at m.$digest
(http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
lib/cdn/ionic.bundle.min.js:174:306)
04-05 14:34:17.642 10638 10638 E TGX-JS-Console: at m.$apply
(http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
lib/cdn/ionic.bundle.min.js:177:249)
04-05 14:34:17.642 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
cdn/ionic.bundle.min.js:190:244
04-05 14:34:17.642 10638 10638 E TGX-JS-Console: at e
(http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
lib/cdn/ionic.bundle.min.js:79:258)
04-05 14:34:17.642 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
cdn/ionic.bundle.min.js:82:176", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
cdn/ionic.bundle.min.js (150)
04-05 14:34:19.139 10638 10652 I ptc.vuforiavie: NativeAlloc concurrent copying GC
freed 54005(1825KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 8400KB/16MB,
paused 54us total 100.120ms
04-05 14:34:20.581 10638 13087 E native : E0405 14:34:20.581330 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:20.616 10638 13087 E native : E0405 14:34:20.616585 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:20.651 10638 13087 E native : E0405 14:34:20.651222 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:20.685 10638 13087 E native : E0405 14:34:20.685780 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:20.716 10638 13087 E native : E0405 14:34:20.716840 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:20.749 10638 13087 E native : E0405 14:34:20.749199 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:20.781 10638 13087 E native : E0405 14:34:20.781163 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:20.814 10638 13087 E native : E0405 14:34:20.814041 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:20.851 10638 13087 E native : E0405 14:34:20.851927 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:20.892 10638 13087 E native : E0405 14:34:20.892393 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:20.916 10638 13087 E native : E0405 14:34:20.916771 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:20.927 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:34:20.957 10638 13087 E native : E0405 14:34:20.957662 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:20.992 10638 13087 E native : E0405 14:34:20.992476 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.019 10638 13087 E native : E0405 14:34:21.019147 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.051 10638 13087 E native : E0405 14:34:21.051475 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.089 10638 13087 E native : E0405 14:34:21.089344 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.122 10638 13087 E native : E0405 14:34:21.122714 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.152 10638 13087 E native : E0405 14:34:21.152212 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.192 10638 13087 E native : E0405 14:34:21.191936 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.230 10638 13087 E native : E0405 14:34:21.230303 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.268 10638 13087 E native : E0405 14:34:21.268490 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.288 10638 13087 E native : E0405 14:34:21.288044 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.328 10638 13087 E native : E0405 14:34:21.328061 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.358 10638 13087 E native : E0405 14:34:21.358342 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.392 10638 13087 E native : E0405 14:34:21.392191 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.421 10638 13087 E native : E0405 14:34:21.421846 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.460 10638 13087 E native : E0405 14:34:21.460173 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.492 10638 13087 E native : E0405 14:34:21.492844 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.536 10638 13087 E native : E0405 14:34:21.536089 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.559 10638 13087 E native : E0405 14:34:21.559827 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.596 10638 13087 E native : E0405 14:34:21.596377 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.634 10638 13087 E native : E0405 14:34:21.634434 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.693 10638 13087 E native : E0405 14:34:21.693110 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.704 10638 13087 E native : E0405 14:34:21.704237 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.731 10638 13087 E native : E0405 14:34:21.731101 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.764 10638 13087 E native : E0405 14:34:21.764610 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.808 10638 13087 E native : E0405 14:34:21.808540 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.828 10638 13087 E native : E0405 14:34:21.828477 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.867 10638 13087 E native : E0405 14:34:21.867538 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.897 10638 13087 E native : E0405 14:34:21.897411 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.933 10638 13087 E native : E0405 14:34:21.933730 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.963 10638 13087 E native : E0405 14:34:21.962999 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:21.999 10638 13087 E native : E0405 14:34:21.999637 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.033 10638 13087 E native : E0405 14:34:22.033188 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.071 10638 13087 E native : E0405 14:34:22.071790 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.104 10638 13087 E native : E0405 14:34:22.104058 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.136 10638 13087 E native : E0405 14:34:22.136099 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.165 10638 13087 E native : E0405 14:34:22.165557 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.201 10638 13087 E native : E0405 14:34:22.201876 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.232 10638 13087 E native : E0405 14:34:22.232939 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.281 10638 13087 E native : E0405 14:34:22.281033 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.316 10638 13087 E native : E0405 14:34:22.316364 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.335 10638 13087 E native : E0405 14:34:22.335002 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.369 10638 13087 E native : E0405 14:34:22.369602 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.405 10638 13087 E native : E0405 14:34:22.405153 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.438 10638 13087 E native : E0405 14:34:22.438963 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.471 10638 13087 E native : E0405 14:34:22.471912 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.508 10638 13087 E native : E0405 14:34:22.508452 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.540 10638 13087 E native : E0405 14:34:22.540218 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.572 10638 13087 E native : E0405 14:34:22.572607 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.614 10638 13087 E native : E0405 14:34:22.614074 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.642 10638 13087 E native : E0405 14:34:22.642788 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.681 10638 13087 E native : E0405 14:34:22.681641 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.714 10638 13087 E native : E0405 14:34:22.714266 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.749 10638 13087 E native : E0405 14:34:22.749160 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.781 10638 13087 E native : E0405 14:34:22.781869 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.814 10638 13087 E native : E0405 14:34:22.814562 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.842 10638 13087 E native : E0405 14:34:22.842379 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.878 10638 13087 E native : E0405 14:34:22.878879 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.915 10638 13087 E native : E0405 14:34:22.915406 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.948 10638 13087 E native : E0405 14:34:22.948880 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:22.981 10638 13087 E native : E0405 14:34:22.981789 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.014 10638 13087 E native : E0405 14:34:23.014463 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.054 10638 13087 E native : E0405 14:34:23.054632 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.086 10638 13087 E native : E0405 14:34:23.086447 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.119 10638 13087 E native : E0405 14:34:23.118975 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.152 10638 13087 E native : E0405 14:34:23.152934 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.180 10638 13087 E native : E0405 14:34:23.180534 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.216 10638 13087 E native : E0405 14:34:23.216586 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.258 10638 13087 E native : E0405 14:34:23.258146 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.285 10638 13087 E native : E0405 14:34:23.285232 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.315 10638 13087 E native : E0405 14:34:23.315280 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.350 10638 13087 E native : E0405 14:34:23.350560 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.385 10638 13087 E native : E0405 14:34:23.385629 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.417 10638 13087 E native : E0405 14:34:23.417086 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.448 10638 13087 E native : E0405 14:34:23.447987 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.487 10638 13087 E native : E0405 14:34:23.487778 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.521 10638 13087 E native : E0405 14:34:23.521131 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.554 10638 13087 E native : E0405 14:34:23.554411 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.585 10638 13087 E native : E0405 14:34:23.585749 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.624 10638 13087 E native : E0405 14:34:23.623972 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.653 10638 13087 E native : E0405 14:34:23.653490 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.696 10638 13087 E native : E0405 14:34:23.696694 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.723 10638 13087 E native : E0405 14:34:23.723724 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.755 10638 13087 E native : E0405 14:34:23.755696 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.789 10638 13087 E native : E0405 14:34:23.789481 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.821 10638 13087 E native : E0405 14:34:23.821453 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.856 10638 13087 E native : E0405 14:34:23.856805 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.892 10638 13087 E native : E0405 14:34:23.892536 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.924 10638 13087 E native : E0405 14:34:23.924439 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.954 10638 13087 E native : E0405 14:34:23.954849 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:23.992 10638 13087 E native : E0405 14:34:23.992440 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.031 10638 13087 E native : E0405 14:34:24.031868 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.060 10638 13087 E native : E0405 14:34:24.060194 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.098 10638 13087 E native : E0405 14:34:24.098379 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.128 10638 13087 E native : E0405 14:34:24.128455 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.168 10638 13087 E native : E0405 14:34:24.168290 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.194 10638 13087 E native : E0405 14:34:24.194913 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.231 10638 13087 E native : E0405 14:34:24.231903 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.260 10638 13087 E native : E0405 14:34:24.260654 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.297 10638 13087 E native : E0405 14:34:24.297202 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.337 10638 13087 E native : E0405 14:34:24.337574 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.369 10638 13087 E native : E0405 14:34:24.369100 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.397 10638 13087 E native : E0405 14:34:24.397713 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.437 10638 13087 E native : E0405 14:34:24.437601 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.468 10638 13087 E native : E0405 14:34:24.468623 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.501 10638 13087 E native : E0405 14:34:24.501691 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.531 10638 13087 E native : E0405 14:34:24.531396 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.573 10638 13087 E native : E0405 14:34:24.573174 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.578 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:34:24.597 10638 13087 E native : E0405 14:34:24.597845 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.641 10638 13087 E native : E0405 14:34:24.641248 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.687 10638 13087 E native : E0405 14:34:24.687611 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.700 10638 13087 E native : E0405 14:34:24.700764 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.734 10638 13087 E native : E0405 14:34:24.734184 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.769 10638 13087 E native : E0405 14:34:24.769418 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.803 10638 13087 E native : E0405 14:34:24.803539 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.836 10638 13087 E native : E0405 14:34:24.836106 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.838 10638 11061 W native : W0405 14:34:24.838897 11061
plane_estimator.cc:661] Got a new plane, id: 12, with a invalid statistics.
04-05 14:34:24.871 10638 13087 E native : E0405 14:34:24.871640 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.902 10638 13087 E native : E0405 14:34:24.902829 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.938 10638 13087 E native : E0405 14:34:24.938420 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:24.970 10638 13087 E native : E0405 14:34:24.970826 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.003 10638 13087 E native : E0405 14:34:25.003884 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.043 10638 13087 E native : E0405 14:34:25.043763 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.079 10638 13087 E native : E0405 14:34:25.079627 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.111 10638 13087 E native : E0405 14:34:25.110964 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.145 10638 13087 E native : E0405 14:34:25.145807 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.160 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:34:25.190 10638 13087 E native : E0405 14:34:25.190637 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.206 10638 13087 E native : E0405 14:34:25.206611 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.248 10638 13087 E native : E0405 14:34:25.248254 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.273 10638 13087 E native : E0405 14:34:25.272999 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.312 10638 13087 E native : E0405 14:34:25.312147 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.354 10638 13087 E native : E0405 14:34:25.354426 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.383 10638 13087 E native : E0405 14:34:25.383010 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.412 10638 13087 E native : E0405 14:34:25.412130 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.446 10638 13087 E native : E0405 14:34:25.446110 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.476 10638 13087 E native : E0405 14:34:25.476497 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.510 10638 13087 E native : E0405 14:34:25.510918 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.546 10638 13087 E native : E0405 14:34:25.546539 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.582 10638 13087 E native : E0405 14:34:25.582574 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.611 10638 13087 E native : E0405 14:34:25.611861 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.648 10638 13087 E native : E0405 14:34:25.648092 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.659 10638 10638 I TGX-JS-Console: "event [stepcompleted] broadcast
on rootScope and dispatched against domID [model-1] with type [null], targetName
[model-1] and data [{"stepNumber":2,"stepName":"Обратный
ход","duration":6003,"acknowledge":false,"nextStep":2,"totalSteps":2}]", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js (345)
04-05 14:34:25.691 10638 13087 E native : E0405 14:34:25.691209 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.725 10638 13087 E native : E0405 14:34:25.725504 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.749 10638 10638 I TGX-JS-Console: "event [stepstarted] broadcast on
rootScope and dispatched against domID [model-1] with type [null], targetName
[model-1] and data [{"stepNumber":2,"stepName":"Обратный
ход","stepDescription":"","duration":6003,"acknowledge":false,"totalSteps":3,"nextS
tep":3}]", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js (345)
04-05 14:34:25.752 10638 13087 E native : E0405 14:34:25.752550 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.787 10638 13087 E native : E0405 14:34:25.787670 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.814 10638 13087 E native : E0405 14:34:25.814733 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.851 10638 13087 E native : E0405 14:34:25.851291 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.884 10638 13087 E native : E0405 14:34:25.884257 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.922 10638 13087 E native : E0405 14:34:25.922570 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.954 10638 13087 E native : E0405 14:34:25.954031 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:25.989 10638 13087 E native : E0405 14:34:25.989434 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.021 10638 13087 E native : E0405 14:34:26.021670 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.054 10638 13087 E native : E0405 14:34:26.054854 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.092 10638 13087 E native : E0405 14:34:26.092445 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.126 10638 13087 E native : E0405 14:34:26.126717 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.156 10638 13087 E native : E0405 14:34:26.156590 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.187 10638 13087 E native : E0405 14:34:26.187283 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.222 10638 13087 E native : E0405 14:34:26.221944 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.257 10638 13087 E native : E0405 14:34:26.257812 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.292 10638 13087 E native : E0405 14:34:26.292260 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.323 10638 13087 E native : E0405 14:34:26.323866 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.356 10638 13087 E native : E0405 14:34:26.356826 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.400 10638 13087 E native : E0405 14:34:26.400285 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.425 10638 13087 E native : E0405 14:34:26.425577 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.462 10638 13087 E native : E0405 14:34:26.462151 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.494 10638 13087 E native : E0405 14:34:26.494208 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.526 10638 13087 E native : E0405 14:34:26.526951 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.560 10638 13087 E native : E0405 14:34:26.560393 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.592 10638 13087 E native : E0405 14:34:26.592817 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.626 10638 13087 E native : E0405 14:34:26.626275 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.663 10638 13087 E native : E0405 14:34:26.663102 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.696 10638 13087 E native : E0405 14:34:26.696764 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.746 10638 13087 E native : E0405 14:34:26.745930 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.763 10638 13087 E native : E0405 14:34:26.763230 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.801 10638 13087 E native : E0405 14:34:26.801133 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.835 10638 13087 E native : E0405 14:34:26.835469 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.859 10638 11061 W native : W0405 14:34:26.859825 11061
plane_estimator.cc:661] Got a new plane, id: 13, with a invalid statistics.
04-05 14:34:26.865 10638 13087 E native : E0405 14:34:26.864980 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.899 10638 13087 E native : E0405 14:34:26.899499 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.932 10638 13087 E native : E0405 14:34:26.932224 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.975 10638 13087 E native : E0405 14:34:26.975872 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:26.997 10638 13087 E native : E0405 14:34:26.997065 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.035 10638 13087 E native : E0405 14:34:27.035794 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.070 10638 13087 E native : E0405 14:34:27.070609 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.099 10638 13087 E native : E0405 14:34:27.099685 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.136 10638 13087 E native : E0405 14:34:27.136095 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.164 10638 13087 E native : E0405 14:34:27.164482 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.202 10638 13087 E native : E0405 14:34:27.201971 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.231 10638 13087 E native : E0405 14:34:27.231625 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.269 10638 13087 E native : E0405 14:34:27.269298 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.303 10638 13087 E native : E0405 14:34:27.303500 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.337 10638 13087 E native : E0405 14:34:27.337206 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.367 10638 13087 E native : E0405 14:34:27.367884 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.404 10638 13087 E native : E0405 14:34:27.404405 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.436 10638 13087 E native : E0405 14:34:27.436580 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.475 10638 13087 E native : E0405 14:34:27.475193 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.506 10638 13087 E native : E0405 14:34:27.506374 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.540 10638 13087 E native : E0405 14:34:27.540083 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.572 10638 13087 E native : E0405 14:34:27.572916 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.609 10638 13087 E native : E0405 14:34:27.609801 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.639 10638 13087 E native : E0405 14:34:27.639528 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.679 10638 13087 E native : E0405 14:34:27.679363 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.713 10638 13087 E native : E0405 14:34:27.713366 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.752 10638 13087 E native : E0405 14:34:27.752539 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.784 10638 13087 E native : E0405 14:34:27.784154 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.813 10638 13087 E native : E0405 14:34:27.813182 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.843 10638 13087 E native : E0405 14:34:27.843682 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.877 10638 13087 E native : E0405 14:34:27.877689 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.907 10638 13087 E native : E0405 14:34:27.907324 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.953 10638 13087 E native : E0405 14:34:27.953767 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:27.977 10638 13087 E native : E0405 14:34:27.976906 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.012 10638 13087 E native : E0405 14:34:28.012706 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.049 10638 13087 E native : E0405 14:34:28.049481 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.082 10638 13087 E native : E0405 14:34:28.082550 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.114 10638 13087 E native : E0405 14:34:28.113974 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.142 10638 13087 E native : E0405 14:34:28.142597 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.183 10638 13087 E native : E0405 14:34:28.183239 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.216 10638 13087 E native : E0405 14:34:28.216354 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.245 10638 13087 E native : E0405 14:34:28.245392 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.285 10638 13087 E native : E0405 14:34:28.285936 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.315 10638 13087 E native : E0405 14:34:28.315552 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.346 10638 13087 E native : E0405 14:34:28.346154 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.382 10638 13087 E native : E0405 14:34:28.382245 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.414 10638 13087 E native : E0405 14:34:28.414502 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.451 10638 13087 E native : E0405 14:34:28.451283 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.487 10638 13087 E native : E0405 14:34:28.487807 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.520 10638 13087 E native : E0405 14:34:28.520352 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.556 10638 13087 E native : E0405 14:34:28.556103 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.587 10638 13087 E native : E0405 14:34:28.587379 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.626 10638 13087 E native : E0405 14:34:28.626498 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.656 10638 13087 E native : E0405 14:34:28.656061 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.693 10638 13087 E native : E0405 14:34:28.693504 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.724 10638 13087 E native : E0405 14:34:28.724210 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.760 10638 13087 E native : E0405 14:34:28.760004 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.793 10638 13087 E native : E0405 14:34:28.793542 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.835 10638 13087 E native : E0405 14:34:28.835161 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.855 10638 13087 E native : E0405 14:34:28.855848 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.892 10638 13087 E native : E0405 14:34:28.892486 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.923 10638 13087 E native : E0405 14:34:28.923744 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.958 10638 13087 E native : E0405 14:34:28.958550 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:28.993 10638 13087 E native : E0405 14:34:28.993766 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.027 10638 13087 E native : E0405 14:34:29.027871 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.055 10638 13087 E native : E0405 14:34:29.055950 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.095 10638 13087 E native : E0405 14:34:29.095224 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.124 10638 13087 E native : E0405 14:34:29.124128 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.173 10638 13087 E native : E0405 14:34:29.173517 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.193 10638 13087 E native : E0405 14:34:29.193405 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.230 10638 13087 E native : E0405 14:34:29.230346 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.273 10638 13087 E native : E0405 14:34:29.273032 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.293 10638 13087 E native : E0405 14:34:29.293345 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.324 10638 13087 E native : E0405 14:34:29.324866 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.363 10638 13087 E native : E0405 14:34:29.363314 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.394 10638 13087 E native : E0405 14:34:29.394239 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.431 10638 13087 E native : E0405 14:34:29.431350 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.462 10638 13087 E native : E0405 14:34:29.462388 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.499 10638 13087 E native : E0405 14:34:29.499395 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.553 10638 13087 E native : E0405 14:34:29.553118 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.574 10638 13087 E native : E0405 14:34:29.573977 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.603 10638 13087 E native : E0405 14:34:29.603542 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.620 10638 10652 I ptc.vuforiavie: NativeAlloc concurrent copying GC
freed 38174(1331KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 8643KB/16MB,
paused 123us total 136.483ms
04-05 14:34:29.635 10638 13087 E native : E0405 14:34:29.635172 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.681 10638 13087 E native : E0405 14:34:29.681593 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.708 10638 13087 E native : E0405 14:34:29.708612 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.740 10638 13087 E native : E0405 14:34:29.740223 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.779 10638 13087 E native : E0405 14:34:29.779909 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.819 10638 13087 E native : E0405 14:34:29.819217 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.839 10638 13087 E native : E0405 14:34:29.839456 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.866 10638 13087 E native : E0405 14:34:29.866897 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.905 10638 13087 E native : E0405 14:34:29.904967 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.934 10638 13087 E native : E0405 14:34:29.933990 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:29.971 10638 13087 E native : E0405 14:34:29.971595 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.004 10638 13087 E native : E0405 14:34:30.004002 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.037 10638 13087 E native : E0405 14:34:30.037430 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.072 10638 13087 E native : E0405 14:34:30.072696 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.104 10638 13087 E native : E0405 14:34:30.104202 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.138 10638 13087 E native : E0405 14:34:30.138100 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.175 10638 13087 E native : E0405 14:34:30.175646 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.203 10638 13087 E native : E0405 14:34:30.203477 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.241 10638 13087 E native : E0405 14:34:30.241270 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.271 10638 13087 E native : E0405 14:34:30.271076 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.313 10638 13087 E native : E0405 14:34:30.313180 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.347 10638 13087 E native : E0405 14:34:30.347746 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.380 10638 13087 E native : E0405 14:34:30.380455 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.413 10638 13087 E native : E0405 14:34:30.413531 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.445 10638 13087 E native : E0405 14:34:30.445151 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.477 10638 13087 E native : E0405 14:34:30.477667 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.514 10638 13087 E native : E0405 14:34:30.514492 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.545 10638 13087 E native : E0405 14:34:30.545370 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.579 10638 13087 E native : E0405 14:34:30.579053 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.614 10638 13087 E native : E0405 14:34:30.613967 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.646 10638 13087 E native : E0405 14:34:30.646183 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.677 10638 13087 E native : E0405 14:34:30.677958 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.716 10638 13087 E native : E0405 14:34:30.716566 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.755 10638 13087 E native : E0405 14:34:30.754998 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.789 10638 13087 E native : E0405 14:34:30.789322 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.825 10638 13087 E native : E0405 14:34:30.825470 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.849 10638 13087 E native : E0405 14:34:30.849031 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.885 10638 13087 E native : E0405 14:34:30.885185 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.920 10638 13087 E native : E0405 14:34:30.920403 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.950 10638 13087 E native : E0405 14:34:30.950032 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:30.985 10638 13087 E native : E0405 14:34:30.985231 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.015 10638 13087 E native : E0405 14:34:31.015082 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.062 10638 13087 E native : E0405 14:34:31.062911 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.085 10638 13087 E native : E0405 14:34:31.085440 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.122 10638 13087 E native : E0405 14:34:31.122365 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.155 10638 13087 E native : E0405 14:34:31.155407 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.186 10638 13087 E native : E0405 14:34:31.186438 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.228 10638 13087 E native : E0405 14:34:31.228466 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.258 10638 13087 E native : E0405 14:34:31.258152 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.285 10638 13087 E native : E0405 14:34:31.285783 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.322 10638 13087 E native : E0405 14:34:31.322054 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.358 10638 13087 E native : E0405 14:34:31.358538 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.390 10638 13087 E native : E0405 14:34:31.390767 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.424 10638 13087 E native : E0405 14:34:31.424423 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.458 10638 13087 E native : E0405 14:34:31.458894 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.490 10638 13087 E native : E0405 14:34:31.489954 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.526 10638 13087 E native : E0405 14:34:31.526125 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.543 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:34:31.559 10638 13087 E native : E0405 14:34:31.559305 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.595 10638 13087 E native : E0405 14:34:31.595583 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.637 10638 13087 E native : E0405 14:34:31.637479 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.659 10638 13087 E native : E0405 14:34:31.659766 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.692 10638 13087 E native : E0405 14:34:31.692378 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.727 10638 13087 E native : E0405 14:34:31.727382 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.759 10638 13087 E native : E0405 14:34:31.759681 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.800 10638 13087 E native : E0405 14:34:31.800213 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.811 10638 10638 I TGX-JS-Console: "event [stepcompleted] broadcast
on rootScope and dispatched against domID [model-1] with type [null], targetName
[model-1] and data [{"stepNumber":2,"stepName":"Обратный
ход","duration":6003,"acknowledge":false,"nextStep":-1,"totalSteps":2}]", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js (345)
04-05 14:34:31.830 10638 13087 E native : E0405 14:34:31.830629 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.859 10638 13087 E native : E0405 14:34:31.859802 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.897 10638 13087 E native : E0405 14:34:31.897730 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.929 10638 13087 E native : E0405 14:34:31.929542 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.964 10638 13087 E native : E0405 14:34:31.964181 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:31.998 10638 13087 E native : E0405 14:34:31.998261 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.031 10638 13087 E native : E0405 14:34:32.031800 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.068 10638 13087 E native : E0405 14:34:32.068283 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.096 10638 13087 E native : E0405 14:34:32.096677 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.125 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:34:32.133 10638 13087 E native : E0405 14:34:32.133094 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.165 10638 13087 E native : E0405 14:34:32.165180 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.200 10638 13087 E native : E0405 14:34:32.200842 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.234 10638 13087 E native : E0405 14:34:32.234161 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.270 10638 13087 E native : E0405 14:34:32.270261 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.301 10638 13087 E native : E0405 14:34:32.300990 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.337 10638 13087 E native : E0405 14:34:32.337289 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.369 10638 13087 E native : E0405 14:34:32.369634 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.403 10638 13087 E native : E0405 14:34:32.403550 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.436 10638 13087 E native : E0405 14:34:32.436086 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.472 10638 13087 E native : E0405 14:34:32.472826 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.507 10638 13087 E native : E0405 14:34:32.507419 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.540 10638 13087 E native : E0405 14:34:32.540408 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.576 10638 13087 E native : E0405 14:34:32.576612 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.607 10638 13087 E native : E0405 14:34:32.607410 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.640 10638 13087 E native : E0405 14:34:32.639987 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.673 10638 13087 E native : E0405 14:34:32.673252 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.707 10638 13087 E native : E0405 14:34:32.707403 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.741 10638 13087 E native : E0405 14:34:32.741392 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.785 10638 13087 E native : E0405 14:34:32.785696 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.815 10638 13087 E native : E0405 14:34:32.815787 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.848 10638 13087 E native : E0405 14:34:32.848378 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.886 10638 13087 E native : E0405 14:34:32.886191 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.909 10638 13087 E native : E0405 14:34:32.909269 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.947 10638 13087 E native : E0405 14:34:32.947636 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:32.976 10638 13087 E native : E0405 14:34:32.976669 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.014 10638 13087 E native : E0405 14:34:33.014450 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.046 10638 13087 E native : E0405 14:34:33.045993 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.081 10638 13087 E native : E0405 14:34:33.081516 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.112 10638 13087 E native : E0405 14:34:33.112108 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.148 10638 13087 E native : E0405 14:34:33.148346 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.176 10638 13087 E native : E0405 14:34:33.176825 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.217 10638 13087 E native : E0405 14:34:33.217840 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.248 10638 13087 E native : E0405 14:34:33.248136 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.283 10638 13087 E native : E0405 14:34:33.283638 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.317 10638 13087 E native : E0405 14:34:33.317495 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.349 10638 13087 E native : E0405 14:34:33.348945 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.381 10638 13087 E native : E0405 14:34:33.381330 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.412 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:34:33.420 10638 13087 E native : E0405 14:34:33.420524 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.449 10638 13087 E native : E0405 14:34:33.449901 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.485 10638 13087 E native : E0405 14:34:33.485675 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.520 10638 13087 E native : E0405 14:34:33.519998 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.558 10638 13087 E native : E0405 14:34:33.558361 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.584 10638 13087 E native : E0405 14:34:33.584709 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.619 10638 13087 E native : E0405 14:34:33.619622 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.654 10638 13087 E native : E0405 14:34:33.654301 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.683 10638 13087 E native : E0405 14:34:33.683336 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.717 10638 13087 E native : E0405 14:34:33.717249 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.754 10638 13087 E native : E0405 14:34:33.754001 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.785 10638 13087 E native : E0405 14:34:33.785428 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.825 10638 13087 E native : E0405 14:34:33.824977 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.857 10638 13087 E native : E0405 14:34:33.857056 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.891 10638 13087 E native : E0405 14:34:33.891427 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.922 10638 13087 E native : E0405 14:34:33.922423 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.954 10638 13087 E native : E0405 14:34:33.954865 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:33.987 10638 13087 E native : E0405 14:34:33.987810 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.028 10638 13087 E native : E0405 14:34:34.027975 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.067 10638 13087 E native : E0405 14:34:34.067324 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.093 10638 13087 E native : E0405 14:34:34.093476 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.124 10638 13087 E native : E0405 14:34:34.124817 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.136 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:34:34.165 10638 13087 E native : E0405 14:34:34.165145 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.194 10638 13087 E native : E0405 14:34:34.194476 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.228 10638 13087 E native : E0405 14:34:34.228089 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.259 10638 13087 E native : E0405 14:34:34.258945 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.296 10638 13087 E native : E0405 14:34:34.296224 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.326 10638 13087 E native : E0405 14:34:34.326245 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.367 10638 13087 E native : E0405 14:34:34.367312 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.396 10638 13087 E native : E0405 14:34:34.396860 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.441 10638 13087 E native : E0405 14:34:34.441798 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.456 10638 10638 E TGX-JS-Console: "TypeError: Cannot read properties
of undefined (reading 'getTotalSteps')
04-05 14:34:34.456 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js:3258:50
04-05 14:34:34.456 10638 10638 E TGX-JS-Console: at b.$eval
(http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
lib/cdn/ionic.bundle.min.js:176:467)
04-05 14:34:34.456 10638 10638 E TGX-JS-Console: at b.$apply
(http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
lib/cdn/ionic.bundle.min.js:177:188)
04-05 14:34:34.456 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js:3255:15
04-05 14:34:34.456 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js:2941:17
04-05 14:34:34.456 10638 10638 E TGX-JS-Console: at Object.callbackFromNative
(<anonymous>:1:8552)
04-05 14:34:34.456 10638 10638 E TGX-JS-Console: at <anonymous>:1:9", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
cdn/ionic.bundle.min.js (150)
04-05 14:34:34.464 10638 13087 E native : E0405 14:34:34.464836 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.502 10638 13087 E native : E0405 14:34:34.502018 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.531 10638 13087 E native : E0405 14:34:34.531468 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.565 10638 13087 E native : E0405 14:34:34.565194 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.598 10638 13087 E native : E0405 14:34:34.598567 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.604 10638 10638 E TGX-JS-Console: "TypeError: Cannot read properties
of undefined (reading 'getCurrentStep')
04-05 14:34:34.604 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js:3322:50
04-05 14:34:34.604 10638 10638 E TGX-JS-Console: at m.$digest
(http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
lib/cdn/ionic.bundle.min.js:174:306)
04-05 14:34:34.604 10638 10638 E TGX-JS-Console: at m.$apply
(http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
lib/cdn/ionic.bundle.min.js:177:249)
04-05 14:34:34.604 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
cdn/ionic.bundle.min.js:190:244
04-05 14:34:34.604 10638 10638 E TGX-JS-Console: at e
(http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
lib/cdn/ionic.bundle.min.js:79:258)
04-05 14:34:34.604 10638 10638 E TGX-JS-Console: at
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
cdn/ionic.bundle.min.js:82:176", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
cdn/ionic.bundle.min.js (150)
04-05 14:34:34.632 10638 13087 E native : E0405 14:34:34.632247 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.666 10638 13087 E native : E0405 14:34:34.666702 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.702 10638 13087 E native : E0405 14:34:34.702381 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.735 10638 13087 E native : E0405 14:34:34.735548 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.774 10638 13087 E native : E0405 14:34:34.774824 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.804 10638 13087 E native : E0405 14:34:34.804157 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.846 10638 13087 E native : E0405 14:34:34.846491 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.874 10638 13087 E native : E0405 14:34:34.874320 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.911 10638 13087 E native : E0405 14:34:34.911227 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.946 10638 13087 E native : E0405 14:34:34.945912 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:34.971 10638 13087 E native : E0405 14:34:34.971831 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.003 10638 13087 E native : E0405 14:34:35.003949 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.037 10638 13087 E native : E0405 14:34:35.037218 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.070 10638 13087 E native : E0405 14:34:35.070701 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.106 10638 13087 E native : E0405 14:34:35.106793 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.138 10638 13087 E native : E0405 14:34:35.138798 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.141 10638 10638 E libc : Access denied finding property
"ro.vendor.pref_scale_resolution"
04-05 14:34:35.174 10638 13087 E native : E0405 14:34:35.174460 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.208 10638 13087 E native : E0405 14:34:35.208674 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.243 10638 13087 E native : E0405 14:34:35.243809 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.275 10638 13087 E native : E0405 14:34:35.275221 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.305 10638 13087 E native : E0405 14:34:35.305312 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.340 10638 13087 E native : E0405 14:34:35.339982 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.382 10638 13087 E native : E0405 14:34:35.382186 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.410 10638 13087 E native : E0405 14:34:35.410622 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.444 10638 13087 E native : E0405 14:34:35.444607 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.477 10638 13087 E native : E0405 14:34:35.477526 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.512 10638 13087 E native : E0405 14:34:35.512160 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.541 10638 13087 E native : E0405 14:34:35.541430 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.583 10638 13087 E native : E0405 14:34:35.583566 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.612 10638 13087 E native : E0405 14:34:35.612935 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.654 10638 13087 E native : E0405 14:34:35.654900 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.679 10638 13087 E native : E0405 14:34:35.679898 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.713 10638 13087 E native : E0405 14:34:35.713728 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.743 10638 13087 E native : E0405 14:34:35.743089 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.785 10638 13087 E native : E0405 14:34:35.785509 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.831 10638 13087 E native : E0405 14:34:35.831857 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.850 10638 13087 E native : E0405 14:34:35.850374 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.881 10638 13087 E native : E0405 14:34:35.881400 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.917 10638 13087 E native : E0405 14:34:35.917042 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.947 10638 13087 E native : E0405 14:34:35.947722 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:35.982 10638 13087 E native : E0405 14:34:35.982947 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.016 10638 13087 E native : E0405 14:34:36.016686 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.055 10638 13087 E native : E0405 14:34:36.055602 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.087 10638 13087 E native : E0405 14:34:36.087495 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.119 10638 13087 E native : E0405 14:34:36.119247 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.152 10638 13087 E native : E0405 14:34:36.152054 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.186 10638 13087 E native : E0405 14:34:36.186610 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.218 10638 13087 E native : E0405 14:34:36.218717 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.257 10638 13087 E native : E0405 14:34:36.257397 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.285 10638 13087 E native : E0405 14:34:36.285439 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.325 10638 13087 E native : E0405 14:34:36.325079 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.359 10638 13087 E native : E0405 14:34:36.359417 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.391 10638 13087 E native : E0405 14:34:36.391851 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.421 10638 13087 E native : E0405 14:34:36.421885 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.455 10638 13087 E native : E0405 14:34:36.455443 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.491 10638 13087 E native : E0405 14:34:36.491041 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.526 10638 13087 E native : E0405 14:34:36.526753 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.558 10638 13087 E native : E0405 14:34:36.558838 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.592 10638 13087 E native : E0405 14:34:36.592004 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.624 10638 13087 E native : E0405 14:34:36.624537 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.660 10638 13087 E native : E0405 14:34:36.660569 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.701 10638 13087 E native : E0405 14:34:36.701800 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.730 10638 13087 E native : E0405 14:34:36.729984 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.761 10638 13087 E native : E0405 14:34:36.761298 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.800 10638 13087 E native : E0405 14:34:36.800388 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.838 10638 13087 E native : E0405 14:34:36.838219 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.873 10638 13087 E native : E0405 14:34:36.872981 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.904 10638 13087 E native : E0405 14:34:36.904739 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.933 10638 13087 E native : E0405 14:34:36.932983 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:36.962 10638 13087 E native : E0405 14:34:36.962538 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.000 10638 13087 E native : E0405 14:34:37.000594 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.029 10638 13087 E native : E0405 14:34:37.029135 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.076 10638 13087 E native : E0405 14:34:37.076693 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.098 10638 13087 E native : E0405 14:34:37.098294 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.134 10638 13087 E native : E0405 14:34:37.134323 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.164 10638 13087 E native : E0405 14:34:37.164085 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.206 10638 13087 E native : E0405 14:34:37.206126 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.231 10638 13087 E native : E0405 14:34:37.231056 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.265 10638 13087 E native : E0405 14:34:37.265581 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.299 10638 13087 E native : E0405 14:34:37.299676 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.341 10638 13087 E native : E0405 14:34:37.341367 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.370 10638 13087 E native : E0405 14:34:37.370144 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.404 10638 13087 E native : E0405 14:34:37.404300 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.436 10638 13087 E native : E0405 14:34:37.436339 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.469 10638 13087 E native : E0405 14:34:37.469057 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.501 10638 13087 E native : E0405 14:34:37.501420 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.537 10638 13087 E native : E0405 14:34:37.537220 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.570 10638 13087 E native : E0405 14:34:37.570021 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.605 10638 13087 E native : E0405 14:34:37.605251 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.639 10638 13087 E native : E0405 14:34:37.639718 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.674 10638 13087 E native : E0405 14:34:37.674715 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.705 10638 13087 E native : E0405 14:34:37.705691 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.739 10638 13087 E native : E0405 14:34:37.738994 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.770 10638 13087 E native : E0405 14:34:37.769992 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.808 10638 13087 E native : E0405 14:34:37.807975 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.840 10638 13087 E native : E0405 14:34:37.840847 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.878 10638 13087 E native : E0405 14:34:37.878788 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.909 10638 13087 E native : E0405 14:34:37.909421 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.954 10638 13087 E native : E0405 14:34:37.954037 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:37.979 10638 13087 E native : E0405 14:34:37.979420 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.016 10638 13087 E native : E0405 14:34:38.016836 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.046 10638 13087 E native : E0405 14:34:38.046569 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.082 10638 13087 E native : E0405 14:34:38.082481 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.113 10638 13087 E native : E0405 14:34:38.113668 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.145 10638 13087 E native : E0405 14:34:38.145112 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.177 10638 13087 E native : E0405 14:34:38.177180 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.214 10638 13087 E native : E0405 14:34:38.214632 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.248 10638 13087 E native : E0405 14:34:38.248611 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.282 10638 13087 E native : E0405 14:34:38.282224 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.316 10638 13087 E native : E0405 14:34:38.316663 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.348 10638 13087 E native : E0405 14:34:38.348249 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.385 10638 13087 E native : E0405 14:34:38.385492 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.413 10638 13087 E native : E0405 14:34:38.413281 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.449 10638 13087 E native : E0405 14:34:38.449351 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.482 10638 13087 E native : E0405 14:34:38.482944 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.515 10638 13087 E native : E0405 14:34:38.515608 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.553 10638 13087 E native : E0405 14:34:38.553074 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.584 10638 13087 E native : E0405 14:34:38.584892 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.623 10638 13087 E native : E0405 14:34:38.623442 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.653 10638 13087 E native : E0405 14:34:38.653447 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.686 10638 13087 E native : E0405 14:34:38.686646 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.721 10638 13087 E native : E0405 14:34:38.721542 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.755 10638 13087 E native : E0405 14:34:38.755656 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.785 10638 13087 E native : E0405 14:34:38.785122 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.822 10638 13087 E native : E0405 14:34:38.822034 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.827 10638 11062 E native : E0405 14:34:38.826946 11062
motion_stereo_manager.cc:1256] Failed to compute ML depth: NOT_FOUND: Not enough
inliers in RANSAC: 0
04-05 14:34:38.827 10638 11062 E native : === Source Location Trace: ===
04-05 14:34:38.827 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/depth_scale_shift_ransac.cc:137
04-05 14:34:38.827 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/ml/mannequin_depth_provider.cc:178
04-05 14:34:38.827 10638 11062 E native :
vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1386
04-05 14:34:38.827 10638 11062 E native :
04-05 14:34:38.858 10638 13087 E native : E0405 14:34:38.858591 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.894 10638 13087 E native : E0405 14:34:38.894639 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.924 10638 13087 E native : E0405 14:34:38.924705 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.957 10638 13087 E native : E0405 14:34:38.957604 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:38.990 10638 13087 E native : E0405 14:34:38.990049 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.021 10638 13087 E native : E0405 14:34:39.021757 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.060 10638 13087 E native : E0405 14:34:39.060522 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.096 10638 13087 E native : E0405 14:34:39.096443 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.141 10638 13087 E native : E0405 14:34:39.141404 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.163 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:34:39.164 10638 13087 E native : E0405 14:34:39.164442 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.204 10638 13087 E native : E0405 14:34:39.204387 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.235 10638 13087 E native : E0405 14:34:39.235307 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.259 10638 13087 E native : E0405 14:34:39.259583 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.293 10638 13087 E native : E0405 14:34:39.293695 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.324 10638 13087 E native : E0405 14:34:39.324218 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.358 10638 13087 E native : E0405 14:34:39.358733 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.396 10638 13087 E native : E0405 14:34:39.396516 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.429 10638 13087 E native : E0405 14:34:39.429787 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.463 10638 13087 E native : E0405 14:34:39.463802 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.501 10638 13087 E native : E0405 14:34:39.501073 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.515 10638 10638 E TGX-JS-Console: "Uncaught TypeError: Cannot
convert undefined or null to object", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/lib/
twx-client-core-all.js (518)
04-05 14:34:39.535 10638 13087 E native : E0405 14:34:39.535257 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.564 10638 13087 E native : E0405 14:34:39.564217 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.595 10638 13087 E native : E0405 14:34:39.595586 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.633 10638 13087 E native : E0405 14:34:39.633776 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.668 10638 13087 E native : E0405 14:34:39.668437 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.698 10638 13087 E native : E0405 14:34:39.698894 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.733 10638 13087 E native : E0405 14:34:39.733001 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.767 10638 13087 E native : E0405 14:34:39.766976 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.802 10638 13087 E native : E0405 14:34:39.802633 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.835 10638 13087 E native : E0405 14:34:39.835505 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.877 10638 13087 E native : E0405 14:34:39.877285 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.900 10638 13087 E native : E0405 14:34:39.900900 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.937 10638 13087 E native : E0405 14:34:39.937660 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:39.970 10638 13087 E native : E0405 14:34:39.970369 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.004 10638 13087 E native : E0405 14:34:40.004091 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.038 10638 13087 E native : E0405 14:34:40.038930 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.085 10638 13087 E native : E0405 14:34:40.085650 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.097 10638 10743 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:34:40.121 10638 13087 E native : E0405 14:34:40.121038 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.144 10638 13087 E native : E0405 14:34:40.144855 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.172 10638 13087 E native : E0405 14:34:40.172643 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.203 10638 13087 E native : E0405 14:34:40.203463 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.242 10638 13087 E native : E0405 14:34:40.242077 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.270 10638 13087 E native : E0405 14:34:40.270861 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.308 10638 13087 E native : E0405 14:34:40.308404 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.338 10638 13087 E native : E0405 14:34:40.338344 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.374 10638 13087 E native : E0405 14:34:40.374944 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.409 10638 13087 E native : E0405 14:34:40.409477 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.443 10638 13087 E native : E0405 14:34:40.443934 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.476 10638 13087 E native : E0405 14:34:40.476493 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.512 10638 13087 E native : E0405 14:34:40.512773 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.547 10638 13087 E native : E0405 14:34:40.547031 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.583 10638 13087 E native : E0405 14:34:40.583239 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.592 10638 10638 I TGX-JS-Console: "event [stepcompleted] broadcast
on rootScope and dispatched against domID [model-1] with type [null], targetName
[model-1] and data [{"stepNumber":2,"stepName":"Обратный
ход","duration":6003,"acknowledge":false,"nextStep":2,"totalSteps":2}]", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js (345)
04-05 14:34:40.625 10638 13087 E native : E0405 14:34:40.625379 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.643 10638 13087 E native : E0405 14:34:40.643768 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.681 10638 13087 E native : E0405 14:34:40.681125 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.690 10638 10638 I TGX-JS-Console: "event [stepstarted] broadcast on
rootScope and dispatched against domID [model-1] with type [null], targetName
[model-1] and data [{"stepNumber":2,"stepName":"Обратный
ход","stepDescription":"","duration":6003,"acknowledge":false,"totalSteps":3,"nextS
tep":3}]", source:
http://192.168.1.32:2019/ExperienceService/content/projects/synchro_serv_ipad/
extensions/js/vuforia-angular.js (345)
04-05 14:34:40.719 10638 13087 E native : E0405 14:34:40.719028 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.762 10638 13087 E native : E0405 14:34:40.762238 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.780 10638 13087 E native : E0405 14:34:40.780594 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.813 10638 13087 E native : E0405 14:34:40.813310 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.852 10638 13087 E native : E0405 14:34:40.852725 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.883 10638 13087 E native : E0405 14:34:40.883039 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.917 10638 13087 E native : E0405 14:34:40.917069 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.948 10638 13087 E native : E0405 14:34:40.948057 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:40.981 10638 13087 E native : E0405 14:34:40.980998 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.015 10638 13087 E native : E0405 14:34:41.015931 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.053 10638 13087 E native : E0405 14:34:41.053825 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.085 10638 13087 E native : E0405 14:34:41.085206 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.126 10638 13087 E native : E0405 14:34:41.126907 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.160 10638 13087 E native : E0405 14:34:41.160120 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.190 10638 13087 E native : E0405 14:34:41.190715 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.225 10638 13087 E native : E0405 14:34:41.225727 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.256 10638 13087 E native : E0405 14:34:41.256471 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.286 10638 13087 E native : E0405 14:34:41.286063 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.322 10638 13087 E native : E0405 14:34:41.322242 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.355 10638 13087 E native : E0405 14:34:41.355250 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.387 10638 13087 E native : E0405 14:34:41.387738 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.421 10638 13087 E native : E0405 14:34:41.421059 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.454 10638 13087 E native : E0405 14:34:41.454775 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.487 10638 13087 E native : E0405 14:34:41.487816 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.521 10638 13087 E native : E0405 14:34:41.521952 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.558 10638 13087 E native : E0405 14:34:41.558789 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.592 10638 13087 E native : E0405 14:34:41.592149 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.624 10638 13087 E native : E0405 14:34:41.624792 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.661 10638 13087 E native : E0405 14:34:41.661620 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.693 10638 13087 E native : E0405 14:34:41.693231 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.724 10638 13087 E native : E0405 14:34:41.724330 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.763 10638 13087 E native : E0405 14:34:41.763500 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.797 10638 13087 E native : E0405 14:34:41.797302 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.827 10638 13087 E native : E0405 14:34:41.827358 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.874 10638 13087 E native : E0405 14:34:41.874107 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.892 10638 13087 E native : E0405 14:34:41.892207 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.928 10638 13087 E native : E0405 14:34:41.928700 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.964 10638 13087 E native : E0405 14:34:41.964431 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:41.995 10638 13087 E native : E0405 14:34:41.995060 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.029 10638 13087 E native : E0405 14:34:42.028966 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.064 10638 13087 E native : E0405 14:34:42.064705 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.103 10638 13087 E native : E0405 14:34:42.103635 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.136 10638 13087 E native : E0405 14:34:42.136376 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.178 10638 13087 E native : E0405 14:34:42.178214 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.199 10638 13087 E native : E0405 14:34:42.199336 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.238 10638 13087 E native : E0405 14:34:42.238657 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.270 10638 13087 E native : E0405 14:34:42.270019 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.297 10638 13087 E native : E0405 14:34:42.297462 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.334 10638 13087 E native : E0405 14:34:42.334099 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.367 10638 13087 E native : E0405 14:34:42.367010 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.399 10638 13087 E native : E0405 14:34:42.399080 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.434 10638 13087 E native : E0405 14:34:42.434735 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.466 10638 13087 E native : E0405 14:34:42.466049 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.502 10638 13087 E native : E0405 14:34:42.502915 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.542 10638 13087 E native : E0405 14:34:42.542127 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.571 10638 13087 E native : E0405 14:34:42.571244 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.605 10638 13087 E native : E0405 14:34:42.605872 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.638 10638 13087 E native : E0405 14:34:42.638091 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.674 10638 13087 E native : E0405 14:34:42.674637 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.703 10638 13087 E native : E0405 14:34:42.703946 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.740 10638 13087 E native : E0405 14:34:42.740145 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.773 10638 13087 E native : E0405 14:34:42.773695 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.810 10638 13087 E native : E0405 14:34:42.810027 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.837 10638 13087 E native : E0405 14:34:42.837205 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.878 10638 13087 E native : E0405 14:34:42.878408 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.910 10638 13087 E native : E0405 14:34:42.910162 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.943 10638 13087 E native : E0405 14:34:42.943695 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:42.977 10638 13087 E native : E0405 14:34:42.977664 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.011 10638 13087 E native : E0405 14:34:43.011746 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.042 10638 13087 E native : E0405 14:34:43.042117 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.081 10638 13087 E native : E0405 14:34:43.081719 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.114 10638 13087 E native : E0405 14:34:43.113982 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.155 10638 13087 E native : E0405 14:34:43.155291 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.185 10638 13087 E native : E0405 14:34:43.185597 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.214 10638 13087 E native : E0405 14:34:43.214622 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.246 10638 13087 E native : E0405 14:34:43.246512 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.287 10638 13087 E native : E0405 14:34:43.287931 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.312 10638 13087 E native : E0405 14:34:43.312281 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.348 10638 13087 E native : E0405 14:34:43.348418 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.382 10638 13087 E native : E0405 14:34:43.381987 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.414 10638 13087 E native : E0405 14:34:43.414663 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.447 10638 13087 E native : E0405 14:34:43.447314 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.481 10638 13087 E native : E0405 14:34:43.481639 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.513 10638 13087 E native : E0405 14:34:43.513434 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.550 10638 13087 E native : E0405 14:34:43.550703 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.595 10638 13087 E native : E0405 14:34:43.595783 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.621 10638 13087 E native : E0405 14:34:43.621019 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.656 10638 13087 E native : E0405 14:34:43.656688 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.689 10638 13087 E native : E0405 14:34:43.689571 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.729 10638 13087 E native : E0405 14:34:43.729763 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.752 10638 13087 E native : E0405 14:34:43.752297 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.784 10638 13087 E native : E0405 14:34:43.784318 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.833 10638 13087 E native : E0405 14:34:43.833632 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.853 10638 13087 E native : E0405 14:34:43.853385 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.889 10638 13087 E native : E0405 14:34:43.889853 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.918 10638 13087 E native : E0405 14:34:43.918614 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.953 10638 13087 E native : E0405 14:34:43.953432 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:43.986 10638 13087 E native : E0405 14:34:43.986813 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:44.023 10638 13087 E native : E0405 14:34:44.023733 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:44.053 10638 13087 E native : E0405 14:34:44.052965 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:44.092 10638 13087 E native : E0405 14:34:44.092545 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:44.129 10638 13087 E native : E0405 14:34:44.129577 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:44.178 10638 13087 E native : E0405 14:34:44.178498 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:44.212 10638 13087 E native : E0405 14:34:44.212569 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:44.225 10638 10638 D CordovaActivity: Paused the activity.
04-05 14:34:44.227 10638 10973 E Surface : getSlotFromBufferLocked: unknown buffer:
0xb400007c44fa7780
04-05 14:34:44.238 10638 10973 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:44.248 10638 13087 E native : E0405 14:34:44.248812 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:44.265 10638 13087 E native : E0405 14:34:44.265207 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:44.310 10638 13087 E native : E0405 14:34:44.308694 13087
hit_test.cc:428] generic::internal: No point hit.
04-05 14:34:44.353 10638 13087 E native : E0405 14:34:44.353112 13087
status.cc:162] FAILED_PRECONDITION:
04-05 14:34:44.353 10638 13087 E native : ARCoreError:
third_party/arcore/ar/core/cpu_image_manager.cc:308
04-05 14:34:44.353 10638 13087 E native :
[type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_A
VAILABLE']
04-05 14:34:44.353 10638 13087 E native : === Source Location Trace: ===
04-05 14:34:44.353 10638 13087 E native :
third_party/arcore/ar/core/cpu_image_manager.cc:308
04-05 14:34:44.353 10638 13087 E native :
04-05 14:34:44.381 10638 13087 E native : E0405 14:34:44.381684 13087
status.cc:162] FAILED_PRECONDITION:
04-05 14:34:44.381 10638 13087 E native : ARCoreError:
third_party/arcore/ar/core/cpu_image_manager.cc:308
04-05 14:34:44.381 10638 13087 E native :
[type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_A
VAILABLE']
04-05 14:34:44.381 10638 13087 E native : === Source Location Trace: ===
04-05 14:34:44.381 10638 13087 E native :
third_party/arcore/ar/core/cpu_image_manager.cc:308
04-05 14:34:44.381 10638 13087 E native :
04-05 14:34:44.441 10638 10638 I native : I0405 14:34:44.441593 10638
session.cc:1624] Entering Session::Pause.
04-05 14:34:44.447 10638 10638 I native : I0405 14:34:44.446906 10638
plane_manager.cc:927] PopulatePlaneEstimationStatistics
number_of_normal_segmentations: 0, number_of_plane_normal_segment_matches: 0,
vertical_planes_boundary_area: 0, vertical_planes_ml_boundary_growth: 0,
number_of_vertical_planes: 0, number_of_vertical_planes_with_ml_boundary_growth: 0,
avg_duration_in_seconds: 0, tof_merge_quality_stats_.Empty(): true,
tof_merge_quality_stats_.hist_area_overlap_ratio_: [0.750, 0.760): 0.000000,
[0.760, 0.770): 0.000000, [0.770, 0.780): 0.000000, [0.780, 0.790): 0.000000,
[0.790, 0.800): 0.000000, [0.800, 0.810): 0.000000, [0.810, 0.820): 0.000000,
[0.820, 0.830): 0.000000, [0.830, 0.840): 0.000000, [0.840, 0.850): 0.000000,
[0.850, 0.860): 0.000000, [0.860, 0.870): 0.000000, [0.870, 0.880): 0.000000,
[0.880, 0.890): 0.000000, [0.890, 0.900): 0.000000, [0.900, 0.910): 0.000000,
[0.910, 0.920): 0.000000, [0.920, 0.930): 0.000000, [0.930, 0.940): 0.000000,
[0.940, 0.950): 0.000000, [0.950, 0.960): 0.000000, [0.960, 0.970): 0.000000,
[0.970, 0.980): 0.000000, [0.980, 0.990): 0.000000, [0.990, 1.000): 0.000000,
[1.000, inf): 0.000000, , tof_merge_quality_stats_.hist_feature_overlap_ratio_:
[0.900, 0.905): 0.000000, [0.905, 0.910): 0.000000, [0.910, 0.915): 0.000000,
[0.915, 0.920): 0.000000, [0.920, 0.925): 0.000000, [0.925, 0.930): 0.000000,
[0.930, 0.935): 0.000000, [0.935, 0.940): 0.000000, [0.940, 0.945): 0.000000,
[0.945, 0.950): 0.000000, [0.950, 0.955): 0.000000, [0.955, 0.960): 0.000000,
[0.960, 0.965): 0.000000, [0.965, 0.970): 0.000000, [0.970, 0.975): 0.000000,
[0.975, 0.980): 0.000000, [0.980, 0.985): 0.000000, [0.985, 0.990): 0.000000,
[0.990, 0.995): 0.000000, [0.995, 1.000): 0.000000, [1.000, inf): 0.000000, ,
tof_merge_quality_stats_.hist_normal_closeness_: [0.900, 0.905): 0.000000, [0.905,
0.910): 0.000000, [0.910, 0.915): 0.000000, [0.915, 0.920): 0.000000, [0.920,
0.925): 0.000000, [0.925, 0.930): 0.000000, [0.930, 0.935): 0.000000, [0.935,
0.940): 0.000000, [0.940, 0.945): 0.000000, [0.945, 0.950): 0.000000, [0.950,
0.955): 0.000000, [0.955, 0.960): 0.000000, [0.960, 0.965): 0.000000, [0.965,
0.970): 0.000000, [0.970, 0.975): 0.000000, [0.975, 0.980): 0.000000, [0.980,
0.985): 0.000000, [0.985, 0.990): 0.000000, [0.990, 0.995): 0.000000, [0.995,
1.000): 0.000000, [1.000, inf): 0.000000, ,
tof_merge_quality_stats_.hist_plane_distance_: [0.000, 0.010): 0.000000, [0.010,
0.020): 0.000000, [0.020, 0.030): 0.000000, [0.030, 0.040): 0.000000, [0.040,
0.050): 0.000000, [0.050, 0.060): 0.000000, [0.060, 0.070): 0.000000, [0.070,
0.080): 0.000000, [0.080, 0.090): 0.000000, [0.090, 0.100): 0.000000, [0.100,
0.110): 0.000000, [0.110, 0.120): 0.000000, [0.120, 0.130): 0.000000, [0.130,
0.140): 0.000000, [0.140, 0.150): 0.000000, [0.150, 0.160): 0.000000, [0.160,
0.170): 0.000000, [0.170, 0.180): 0.000000, [0.180, 0.190): 0.000000, [0.190,
0.200): 0.000000, [0.200, 0.210): 0.000000, [0.210, 0.220): 0.000000, [0.220,
0.230): 0.000000, [0.230, 0.240): 0.000000, [0.240, 0.250): 0.000000, [0.250,
0.260): 0.000000, [0.260, 0.270): 0.000000, [0.270, 0.280): 0.000000, [0.280,
0.290): 0.000000, [0.290, 0.300): 0.000000, [0.300, 0.310): 0.000000, [0.310,
0.320): 0.000000, [0.320, 0.330): 0.000000, [0.330, 0.340): 0.000000, [0.340,
0.350): 0.000000, [0.350, 0.360): 0.000000, [0.360, 0.370): 0.000000, [0.370,
0.380): 0.000000, [0.380, 0.390): 0.000000, [0.390, 0.400): 0.000000, [0.400,
0.410): 0.000000, [0.410, 0.420): 0.000000, [0.420, 0.430): 0.000000, [0.430,
0.440): 0.000000, [0.440, 0.450): 0.000000, [0.450, 0.460): 0.000000, [0.460,
0.470): 0.000000, [0.470, 0.480): 0.000000, [0.480, 0.490): 0.000000, [0.490,
0.500): 0.000000, [0.500, inf): 0.000000, , ms_merge_quality_stats_.Empty(): true,
ms_merge_quality_stats_.hist_area_overlap_ratio_: [0.750, 0.760): 0.000000, [0.760,
0.770): 0.000000, [0.770, 0.780): 0.000000, [0.780, 0.790): 0.000000, [0.790,
0.800): 0.000000, [0.800, 0.810): 0.000000, [0.810, 0.820): 0.000000, [0.820,
0.830): 0.000000, [0.830, 0.840): 0.000000, [0.840, 0.850): 0.0
04-05 14:34:44.447 10638 10638 I native :
04-05 14:34:44.447 10638 10638 E native : E0405 14:34:44.447582 10638
session.cc:1678] INTERNAL: Could not delete online calibration file.
04-05 14:34:44.447 10638 10638 E native : === Source Location Trace: ===
04-05 14:34:44.447 10638 10638 E native :
third_party/arcore/ar/calibration/online_calibration_manager/online_calibration_man
ager.cc:156
04-05 14:34:44.447 10638 10638 E native :
04-05 14:34:44.624 10638 10656 W CameraManagerGlobal: ignore the torch status
update of camera: 21
04-05 14:34:44.625 10638 10656 W CameraManagerGlobal: ignore the torch status
update of camera: 22
04-05 14:34:44.629 10638 10656 W CameraManagerGlobal: ignore the torch status
update of camera: 61
04-05 14:34:44.633 10638 11155 I BufferQueueProducer: [ImageReader-
1920x1080f22u256m16-10638-0](id:298e00000000,api:4,p:858,c:10638) disconnect():
api=4
04-05 14:34:44.635 10638 11155 I BufferQueueProducer: [ImageReader-640x480f23m16-
10638-0](id:298e00000001,api:4,p:858,c:10638) disconnect(): api=4
04-05 14:34:44.638 10638 11155 I BufferQueueProducer: [ImageReader-1920x1080f23m16-
10638-1](id:298e00000002,api:4,p:858,c:10638) disconnect(): api=4
04-05 14:34:44.648 10638 11103 E CameraManagerGlobal: Camera 61 is not available.
Ignore physical camera status change
04-05 14:34:44.686 10638 10638 I native : I0405 14:34:44.685962 10638
logger.h:28] DataSourceMetrics: kStopImageSubSystem: 212.266846ms
04-05 14:34:44.688 10638 10638 E GPUAUX : [AUX]GuiExtAuxCheckAuxPath:592: Null anb
04-05 14:34:44.696 10638 10638 E native : E0405 14:34:44.696191 10638
scheduler.cc:278] generic::internal: RET_CHECK failure
(third_party/mediapipe/framework/scheduler.cc:278) state_ != STATE_NOT_STARTED (0
vs. 0)
04-05 14:34:44.696 10638 10638 E native : Stack trace:
04-05 14:34:44.696 10638 10638 E native :
04-05 14:34:44.696 10638 10638 E native : E0405 14:34:44.696392 10638
normal_detector_cpu.cc:231] Error graph_->WaitUntilIdle():INTERNAL: RET_CHECK
failure (third_party/mediapipe/framework/scheduler.cc:278) state_ !=
STATE_NOT_STARTED (0 vs. 0)
04-05 14:34:44.696 10638 10638 E native : === Source Location Trace: ===
04-05 14:34:44.696 10638 10638 E native :
third_party/mediapipe/framework/scheduler.cc:278
04-05 14:34:44.696 10638 10638 E native :
third_party/mediapipe/framework/calculator_graph.cc:805
04-05 14:34:44.696 10638 10638 E native :
04-05 14:34:44.696 10638 10638 I native : I0405 14:34:44.696467 10638
session.cc:1732] Session::PauseWithAnalytics returning OK.
04-05 14:34:44.709 10638 10638 W Activity: Slow Operation: Activity
com.ptc.vuforiaview/com.ptc.thingbrowser.MainActivity onPause took 488ms
04-05 14:34:44.710 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:34:44.710 10638 11038 I System.out: [okhttp]:check permission begin!
04-05 14:34:44.711 10638 11038 I System.out: [okhttp]:not MMS!
04-05 14:34:44.711 10638 11038 I System.out: [okhttp]:not Email!
04-05 14:34:44.712 10638 11038 I System.out: [OkHttp] sendRequest<<
04-05 14:34:44.720 10638 10638 W Looper : PerfMonitor doFrame : time=10ms
vsyncFrame=0 latency=471ms procState=2 historyMsgCount=1 (msgIndex=1 wall=491ms
seq=3019 running=13ms runnable=13ms io=5ms late=27ms h=android.app.ActivityThread$H
w=159)
04-05 14:34:44.730 10638 10638 D DecorView[]: getWindowModeFromSystem windowmode
is 1
04-05 14:34:44.842 10638 10743 I GED : ged_boost_gpu_freq, level 100, eOrigin
2, final_idx 27, oppidx_max 27, oppidx_min 0
04-05 14:34:44.863 10638 10861 W cr_ChildProcessConn: onServiceDisconnected (crash
or killed by oom): pid=10884 bindings:W S
04-05 14:34:44.906 10638 10638 E chromium: [ERROR:aw_browser_terminator.cc(156)]
Renderer process (10884) crash detected (code -1).
04-05 14:34:44.907 10638 10638 W TGXSystemWebViewClient: onRenderProcessGone:
didCrash=false, rendererPriorityAtExit=2

You might also like