Expand my Community achievements bar.

SOLVED

Suspected UI Bug - Launch Environment Mobile App Install Instructions - Unable to copy pieces of install code

Avatar

Level 1

I have stumbled across what appears to be a bug withing the Launch generated installation code for Mobile Applications. Parts of the copy/paste install code within the environments tab cannot be copied. I am using the Chrome browser to view Launch.

Steps to reproduce:

  1. Create a Mobile Application Launch property
  2. Install a couple of extensions
  3. View the environments tab
  4. View the install code for any environment.
  5. Android (Gradle) & iOS (Cocoa pods - Objective C & Swift) sections of code cannot be fully copied.
    1. When trying to inspect the text that can't be copied with the Chrome developer tools and looking at their HTML <span> , and then copying that text - curly braces will then disappear entirely from the code box and require a page reload before they appear again.

The following first image shows code that I have highlighted to copy and also shows pieces of the code that cannot be selected. This code will also not be copied when clicking the copy icon to the right of the code box. I would consider this a low priority issue since users can just look at the code and manually type it but it would be nice to have the ability to copy all of the code.

The second image below shows that on the iOS version, there's a spot in the code that can't be copied and it stretches off screen making it difficult to read what the code is actually supposed to be (no horizontal scroll bar available).

launch_mobileApp_environment_bug.pnglaunch_mobileApp_environment_bug2.png

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi tim.smith.mccann​,

The highlighted sections in yellow in your screen shot are the default Application Code in either Android or iOS.  You need to only click the square next to shadow box square on the right hand side, it will copy the necessary content that you then insert in your current app code.

This link to a sample app implementation may provide some additional insight for you.

Install the Mobile SDK

There are similar links to Android and Objective-C.

Regards,
Jen

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi tim.smith.mccann​,

The highlighted sections in yellow in your screen shot are the default Application Code in either Android or iOS.  You need to only click the square next to shadow box square on the right hand side, it will copy the necessary content that you then insert in your current app code.

This link to a sample app implementation may provide some additional insight for you.

Install the Mobile SDK

There are similar links to Android and Objective-C.

Regards,
Jen