Integrate Lynx development version

During Lynx page development, you can use the Lynx Trace and Lynx Recorder tools for debugging, analysis, and locate issues. To avoid impacting production performance, the official release version of Lynx does not include Lynx Trace and Lynx Recorder features.
For developer convenience, Lynx also provides a development version (with a -dev suffix in the version number). Starting from release/3.4, Lynx provides a dev version for each release version (the dev version uses the same release version number with a -dev suffix). You can integrate the Lynx development version by following the steps below.

INFO

You can find the development version corresponding to your release version at github.

Integrate Lynx

Refer to the Lynx integration guide for detailed steps on integrating Lynx.

Integrate Lynx Devtool

Refer to the Lynx Devtool integration guide for detailed steps on integrating Lynx Devtool.

Switch to the dev version of Lynx

Update your Podfile to use the dev version of the Lynx component.

Podfile

- pod 'Lynx', '3.4.0-rc.0'
+ pod 'Lynx', '3.4.0-rc.0-dev'

- pod 'LynxDevtool', '3.4.0-rc.0'
+ pod 'LynxDevtool', '3.4.0-rc.0-dev'

Install Dependencies

Run pod install to install dependencies, then open your Xcode project and rebuild.

Integrate Lynx

Refer to the Lynx integration guide for detailed steps on integrating Lynx.

Integrate Lynx Devtool

Refer to the Lynx Devtool integration guide for detailed steps on integrating Lynx Devtool.

Switch to the dev version of lynx and lynx-trace

Update your build.gradle or build.gradle.kts to use the dev versions:

build.gradle
build.gradle.kts
- implementation ("org.lynxsdk.lynx:lynx:3.4.0-rc.0")
+ implementation ("org.lynxsdk.lynx:lynx:3.4.0-rc.0-dev") {
+   // Exclude the lynx-trace module to avoid including it transitively
+  exclude group: 'org.lynxsdk.lynx', module: 'lynx-trace'
+ }

- implementation ("org.lynxsdk.lynx:lynx-trace:3.4.0-rc.0")
+ implementation ("org.lynxsdk.lynx:lynx-trace:3.4.0-rc.0-dev")

- implementation ("org.lynxsdk.lynx:lynx-devtool:3.4.0-rc.0")
+ implementation ("org.lynxsdk.lynx:lynx-devtool:3.4.0-rc.0") {
+   // Exclude the lynx-trace and lynx module to avoid including it transitively
+   exclude group: 'org.lynxsdk.lynx', module: 'lynx-trace'
+   exclude group: 'org.lynxsdk.lynx', module: 'lynx'
+ }

Rebuild your application

Rebuild your application to ensure all changes take effect.

Congratulations! You have completed the integration of the Lynx development version. Now, you can launch the Lynx DevTool desktop application and start debugging and performance profiling using either the LynxTrace or LynxRecorder tool.

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.