Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26547] TiAPI: LiveView does not work on SDK 8+

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionCannot Reproduce
Resolution Date2020-05-19T15:19:38.000+0000
Affected Version/sRelease 8.0.0
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterHans Knöchel
AssigneeUnknown
Created2018-11-11T14:29:09.000+0000
Updated2020-05-19T15:19:38.000+0000

Description

Our app is not launching when using SDK 8.0.0 with LiveView. It stops after launching the LiveView file server:
[TRACE] ** BUILD SUCCEEDED **
[INFO]  Finished building the application in 25s 438ms
[LiveView] version 1.2.2
[LiveView] Alloy project monitor started
[INFO]  Launching iOS Simulator
[LiveView] File Server Started on 0.0.0.0:8324
[LiveView] Event Server Started on 0.0.0.0:8323
This is happening on both iOS and Android (Windows untested so far).

Comments

  1. Ewan Harris 2018-11-12

    [~hknoechel], I'm having no issues myself connecting to the liveview server. Could you please edit <sdk path>/node_modules/liveview/hook/lvhook.js to add child.stderr.pipe(process.stderr); after child.stdout.pipe(process.stdout); and then run with DEBUG=liveview:*. I don't suppose you still have a path to a custom liveview hook setup in ti config do you? That's unsupported and we have patched the liveview distributed via studio to not run when using SDK 8
  2. Ewan Harris 2020-05-19

    I'm going to close this as cannot reproduce, based off the error logs it looks very similar to when a global install of liveview and a local install of liveview are fighting, nothing project specific

JSON Source