Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27447] Hyperloop: Cannot create subclasses / delegates anymore (regression)

GitHub Issuen/a
TypeBug
PriorityCritical
StatusOpen
ResolutionUnresolved
Affected Version/sHyperloop 4.0.3, Hyperloop 4.0.4
Fix Version/sn/a
ComponentsHyperloop, iOS
LabelsengSchedule
ReporterHans Knöchel
AssigneeJan Vennemann
Created2019-10-06T08:38:49.000+0000
Updated2019-10-14T20:54:23.000+0000

Description

We cannot create Hyperloop subclasses / delegates anymore. For a test-case, simply add the following line somewhere in your app.hs / index.js:
const test = Hyperloop.defineClass('MyDelegate', 'NSObject');
if will crash with:
[ERROR] Cannot find class with name: MyDelegate
[ERROR] Script Error {
[ERROR]     column = 31;
[ERROR]     description = "Cannot find class with name: MyDelegate";
[ERROR]     line = 23;
[ERROR]     message = "Cannot find class with name: MyDelegate";
[ERROR]     name = ClassNotFound;

Comments

No comments

JSON Source