• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Application Monitoring & UEM
  • AppMon & UEM Open Q&A
avatar image
Question by k p. · Sep 07, 2015 at 04:05 PM · agent javascript android

Type Error : Object[object Object] has no method 'enterAction'

Type Error : Object[object Object] has no method 'enterAction' while calling 'enterAction' function from javascript for mobile android adk for hybrid application.Cordova version 4.0.0

Extract code:

function myFunction() { console.log("enterAction : "+enterAction); var compuwareUEM = new CompuwareUEM; console.log("compuwareUEM : "+compuwareUEM); var enterAction = compuwareUEM.enterAction("Offers"); <<< --- Error popups here.

Thanks in Advance for your help..

Comment
Aaron W.

People who like this

1 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Reply

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Aaron W. · Sep 09, 2015 at 07:49 PM

Cordova 4.0.0 made significant changes to its base WebView class that make it incompatible with the current Android Mobile ADK. We are currently researching what it will take to support newer versions of Cordova.

The Android Mobile ADK still supports all versions up to 3.7.0.

Comment

People who like this

0 Show 2 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image k p. · Sep 13, 2015 at 06:49 AM 0
Share

Thanks @Aaron Wallace for the info.

I was getting "Type Error" issue when i was targeting android:targetSdkVersion="19" when i have just change from android:targetSdkVersion="19" to android:targetSdkVersion="16" it works.

Its working though will it cause any compatability issues?

Thanks in Advance.

avatar image Aaron W. k p. · Sep 14, 2015 at 02:00 PM 0
Share

There was a change made by Google to the Android Open Source Project that altered how Javascript interfaces are registered in WebViews after SDK version 16. So setting the targetSdkVersion to 16 will make it work. That should not cause any compatibility issues.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Exit Mobile Action like Exit Page

UEM Javascript Agent Not Being Requested, but Is Defined in HTML Head

Dynatrace 6.5 UEM Instrumentation: Server Side drill to purepath missing in user actions

has anyone seen corrupted purepaths from agent "browser(javascript)@cloud

Hybrid App Manual Instrumentation: Visit is being split into two visits

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A