Google Tag Manager for Xamarin iOS - ios

I've followed the quick start guide here for setting up Google Tag Manager in my Xamarin.iOS app, but I am receiving an unexpected error when the container initializes:
GoogleTagManager warning: Error when loading resources from url: https://www.googletagmanager.com/r?id=GTM-XXXXX&v=iXXXXXXXXX status code = 403
I've tried two different valid container ids and they both fail with this error. Providing a random container id presents a different error message.

This error is caused by using a "Firebase (iOS)" container with the Google Tag Manager Xamarin component. At the time of this writing, the GTM component for Xamarin is only compatible with "Legacy iOS" containers. After switching to a Legacy iOS container, this error is no longer presented.

Related

Unable to add files to iOS real device using appium's pushFile method

To automate a file upload scenario of a mobile application (iOS), I tried adding an image to the device which can be browsed using gallery during execution. I tried using Appium's pushFile method but I am not clear on what has to be passed to the first parameter of pushFile method.
I tried appium's pushFile method to add the image to device. The method takes two arguments. The first argument is the target path in iOS device. My expectation is to push the image to Files app on iOS, so I tried the format "#com.apple.mobileslideshow/profile.jpg". But it throws the following error.
An unknown server-side error occurred while processing the command. Original 
error: Failed to vend into the application documents. Error: InstallationLookupFailed
I referred bundle ids from here https://support.apple.com/en-in/guide/deployment/depece748c41/web

Airwatch SDK iOS - We were unable to retrieve the configuration information

Using the Airwatch SDK v21.4 on iOS an error is shown:
"We were unable to retrieve the configuration information. Press
continue to try again"
Using Airwatch SDK 20.9 worked fine, but after upgrading to version (21.0 thru 21.4) on iOS the SDK is displaying the error.
The message text can be found in an AWSDK.framework file Localizable.strings within the entry RetryToFetchConfigurationInformation
I can do a fresh install from the HUB app just fine.
After launching the app the UI is not displayed until a successful response from controllerDidFinishInitialCheck.
My controllerDidFinishInitialCheck method does not contain any errors.
After receiving a valid controllerDidFinishInitialCheck result the UI is displayed, followed by a popup alert message with the error.
Advice / Suggestions / How can I isolate this issue? It may be a timeout issue?

GTM not working on iOS

I'm developing native iOS app and using firebaseSDK to send data to GTM.
GTM started to log error on console and I can not see data on Google Analytics. I'm facing with error message below;
GoogleTagManager error: Error executing tag 1: TypeError: endsWith is not a function
What could be reason of the error? In what circumstances GTM logs this error?
The problem seems to be that endsWith is not a function.
I presume you have a custom HTML tag or a javascript variable that uses the endsWith function which is not yet supported by Safari Mobile.
There was an error in a recent change to GTM's container definition. We corrected the error today at approximately 3:30 PM PST. You should download the container file as part of your next build, but installed copies of your application(s) should retrieve an updated container within the next 12 hours.
Sorry for any inconvenience this may have caused. The problem affected both iOS and Android apps.
A fix for the issue should be fully rolled out by now (making its way to apps via the 12 hour refresh interval). Please chime in if you are still encountering any problem.

WL.Client.login() then nsurlerrordomain error 1012

Worklight 6.2 building a hybrid application targeting iPad - we get the symptoms described below in the xCode Simulator irrespective of exactly which target device we select.
The application currently attempts a call to
WL.Client.login()
from within wlCommoninit()
Our target server is a full WL Server running on a Liberty instance on a remote machine, we use HTTPS and a specified IP Address
https://w.x.y.z:443/worklight
We have adjusted the Deploy Target and rebuilt the app before running XCode.
The WL.Client.login() error callback fires and we see log messages indicating that we are attempting to hit the correct URL. We also see this error message
NSURLErrorDomain error -1012
We do have a complex network setup, with a firewall between the iOS simulator and the server and yet if we run up Safari on the simulated device we can correctly access the URL.
Questions:
Does that NSURLErrorDomain reflect the cause of the failure? Or is it just part of the error processing?
Any suggestions for further diagnosis?
Further investigation indicated that we did have the wrong URL configured. It seems that
NSURLErrorDomain error -1012
is not in itself an indicator of the problem. Rather, the error follows from the failure to reach the specified host. Conclusion: study the logs prior top that NSURLErrorDomain message.

IBM Worklight Application Center iOS unresponsive to touch events

After successfully building and deploying the IBMAppCenter project, when attempting to download the IBM Application Center on iOS devices, there is no response when clicking on the actual installer link. This occurs on both real devices and through the simulator. Android application seems to be working just fine. I've provided a picture here showing some of the errors messages that we're seeing when clicking on 'IBM App Center iOS', as well as provided a subset of them below (http://i.imgur.com/vLrhVjT.jpg):
Deprecated attempt to access property 'changedTouches' on a non-TouchEvent object.
Deprecated attempt to access property 'target' on a non-Event object.
TypeError: undefined is not an object (evaluating 'a.target.getAttribute')
...
Deprecated attempt to access property 'which' on a non-UIEvent object.
App Center Console version 6.2.0.00-20140613-0730
IBM Worklight Studio version 6.2.0.1
Any idea what may be causing this, and how we can correct it? Thanks!
Make sure you are using a recent iFix of Worklight 6.2.0.x containing required Dojo fixes in order to add support for iOS 8 (which you are likely attempting to use the app on).
You can review the following tech note for instructions on downloading and installing the iFix: http://www-01.ibm.com/support/docview.wss?uid=swg21684538

Resources