execJSTypeError: xxx is not a function keeps reporting execJSTypeError: xxx is not a function execJSTypeError: xxx is not a function keeps reporting execJSTypeError: xxx is not a function when the quick app accesses the advertising service
execJSTypeError: xxx is not a function keeps reporting execJSTypeError: xxx is not a function
175 views Asked by Kanchan Thakur At
1
There are 1 answers
Related Questions in HUAWEI-MOBILE-SERVICES
- React Native app stuck in Splash screen after adding HMS Location package
- Issue with integrating HMS Location in React Native Android with product flavours
- ShouldShowRequestPermissionRational not working properly in Huawei HarmonyOS devices
- Flutter Build Fails with HMS Integration: com.huawei.agconnectclouddb.objecttypes Package Not Found
- Huawei browser on Android cannot download PDF files authenticated by auth_basic password on nginx
- could not connect huawei cloudDb
- Can't sync android project gradle kts with huawei
- Error when trying to obtain upload URL from huawei api connect
- how to solve Error in Deveco studio emulator
- Raspberry Pi: problem with external USB drive and USB modem
- "The app has not been released on AppGallery" error on InAppComment Huawei request
- Internal Deep Linking is not working with Huawei phones?
- How to build huawei app store application?
- HMSMap Not Displaying on Device
- Huawei not sending push token to third party in production
Related Questions in HUAWEI-DEVELOPERS
- How can I change the developer name in Huawei AppGallery?
- Has anyone implemented HMS map kit of Huawei with Vuejs?
- Google and Huawei APK flavor build issue
- HMS Push plugin - how to receive data message when the app is in killed state
- Steps not visible on Huawei Health app after sending them from Heatlh Kit
- How do i Whitelist my app for Huawei Smartphones within the code?
- Huawei “New tag collected, Tag is empty or phone is not aligned” message
- HMS Toolkit Android Studio failed to initialize
- App rejecting on AppGallery Connect Huawei
- Is it possible to share a link with Huawei Share just like with Google Nearby Share?
- Connection with Net/SSH2.php to Huawei Olt MA5680T is very slow
- Huawei Console - Select Testing Version "NO" not available
- Why don't I get notifications in HMS if I disable and re-enable them?
- How to Creating a Data Disk Image from an External Image File in Huawei Cloud Stack?
- I have a problem with IDLE Mode on Huawei devices when screen is turned off
Related Questions in APPGALLERY
- Is there a way to use Firebase App Check For Huawei Devices or an alternative/combo?
- Missing Cloud Debugging in AppGallery Connect
- Reject my app in AppGallery because of this reason "Submit a formal version for release."
- Huawei Ads Kit (Monetization apps) from account registered in my country as individual not allowed?
- I could not update the software from Huawei Store app gallery
- Problem when upload apk to AppGallery Huawei
- Hms Cloud bd get error code: 8 message: please close CloudDBZone first. On android Studio
- Prepare app for both app gallery and google play store
- How to make Test account for app gallery?
- Huawei startResolutionForResult needs an update
- Google play and app gallery best packagename choice
- Add payment for android app with 2 flavours
- How to use keystores for multi Store
- How to release Flutter default app to the App Gallery
- Huawei AppGallery unintentionally updates Google Play version
Related Questions in APPGALLERY-CONNECT
- How can I change the developer name in Huawei AppGallery?
- Huawei AG Connect multi environment project with single app
- App rejecting on AppGallery Connect Huawei
- Huawei Android AppUpdateClient - How to test it
- iOS Huawei App Linking - Deferred deep linking
- Huawei App Signing for an app, where I have to Open CLI and then go to JDK directory
- Signed in via Huawei ID played 40 min game in trial mode, switched to another Huawei ID, remaining trial period was displaying 60. Is this problem?
- How to open developer page with all his apps on AppGallery
- Huawei Appgallery. How to my app be released in the mainland Chinese market?
- Need information on Application Publishing Format in Huawei App Gallery
- Huawei AGConnectAuth Phone number authentication error: ONLY ONE String Field can be annotated as Url
- Case Study Solutions to Google Maps Loading Failure for an App Released on AppGallery
- Huawei AppGallery app description formatting
- [AppGalleryConnectLinkManageService]the ios bundleId does not have permission
- How to check App released in Huawei AppGallery available only for HMS devices not for GMS+HMS devices
Related Questions in HUAWEI-ADS
- Why HMS Ads Kit in React Native displays package list missing error during build process?
- HMS or Huawei: I am advertising my app published in App Gallery through Huawei Ads and I do not want to display my competitor ads in my app
- Huawei Quick Apps, HTML5 and Ads
- HMS Interstitial Ads issue
- Facebook Audience Network ads are not working when the app is downloaded from Huawei AppGallery
- Don't Create Threads in the preview window - Huawei Ads Implementation
- Ad failed to load with error code 0(internal Error) - Huawei Ads Implementation
- "Stringernal error" when requesting a Native Ad on Huawei Quick-App
- HMS Ads Kit-Error code 4 is returned when obtaining ads
- Huawei Ads kit Banner Ad returns Error code 1
- How to use Huawei adskit in react native?
- OnAdLoaded executes, but interstitialAd.Loaded returns false
- execJSTypeError: xxx is not a function keeps reporting execJSTypeError: xxx is not a function
- What are the allowed values for Huawei AdsKit `AdParam.Builder`?
- What are the descriptons for Huawei AdsKit AdListener.onAdFailed error codes?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)


Basically the error message "execJSTYpeError: xxx.interstitialAd.load() is not a function" is displayed. This error indicates that the called function does not exist. The possible cause is that a vendor API that is not provided is called. It is found that the official website of Quick App Alliance provides the interstitialAd.load() API mentioned in the message, but Huawei does not provide it.
Solution:
During the development, call account.getProvider() to check whether some APIs are supported. If so, you may call them. For details, please refer to Account API.
if(account.getProvider()){
// some code
} Suggestion: When using a vendor service, use getProvider to check whether the service is supported and then call the specific API.
For details , please refer to , Cases: https://developer.huawei.com/consumer/en/doc/development/quickApp-Guides/quickapp-case-0000001082020374#section510218171618
For details about Interstitial Ads implementation, please refer to below official link:
Ads Kit:https://developer.huawei.com/consumer/en/doc/development/quickApp-References/quickapp-api-ad-0000001074754667 This document describes only the definition of APIs. For details about how and when to call these APIs, please refer to Integrating Ads Kit.
If still issue will persist, please feedback us with the following information to the developer support team: 1)Application Logs & SDK Logs
Please capture logs by Application Logs:
Connect the ADB tool to your device and run the following commands: adb shell setprop log.tag.hwads VERBOSE adb logcat -v threadtime 1> D:\hwadslogs.log Ads Kit logs:
Open the Files app, go to Categories > Internal storage > Android > data > com.huawei.hwid > files > Log > HiAdKitLog.log, and export the logs.
Method 2: Connect your phone to a computer and run the following ADB command to export logs from the phone. In the command, the dot (.) at the end indicates that the logs are stored in the current path.
adb pull /sdcard/Android/data/com.huawei.hwid/files/Log/HiAdKitLog.log ./
Note: If HiAdKitLog.log.bak exists, export it also.
If HiAdKitLog.log cannot be found, check whether the storage permission is enabled in HMS Core by going to Settings > Apps > Apps > HMS Core > Permissions, and making sure that Storage is enabled.
2)Screenshot of device details.
Settings > About Phone
3)HMs core version details.
Settings > Apps > HMS Core