Skip to content

themes from plugins not showing #2187

@trident7518

Description

@trident7518

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

  1. open acode
  2. download any theme plugin except neonhart 711
  3. open editor themes

Environment

Device Information:
WebView Info:
Package Name: com.google.android.webview
Version: 148.0.7778.215

App Info:
Name: Acode
Package Name: com.foxdebug.acode
Version: 1.12.4
Version Code: 974

Device Info:
Android Version: 16
Manufacturer: samsung
Model: SM-S911U
Platform: Android
Cordova Version: 15.0.0

Screen Info:
Width: 360
Height: 780
Color Depth: 24

Additional Info:
Language: en-US
User Agent: Mozilla/5.0 (Linux; Android 16; SM-S911U Build/BP4A.251205.006; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/148.0.7778.215 Mobile Safari/537.36

If applicable, add mockups / screenshots regarding your vision

Image Image

If applicable, attach your Acode.log file to this issue.

Acode.log
Stack trace: ReferenceError: iap is not defined
    at https://localhost/build/main.js:698:330
    at Generator.next ()
    at JT (https://localhost/build/main.js:697:7865)
    at a (https://localhost/build/main.js:697:8063)
[2026-06-10T16:30:53.288Z] [ERROR] [object Object]
[2026-06-10T16:30:53.416Z] [INFO] Started app and its services...
[2026-06-10T16:30:53.458Z] [ERROR] Error: Uncaught TypeError: ace.define is not a function, Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.synthwave/main.js, Line: 1, Column: 199, Stack: TypeError: ace.define is not a function
    at 213 (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.synthwave/main.js:1:199)
    at t (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.synthwave/main.js:1:4824)
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.synthwave/main.js:1:5115
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.synthwave/main.js:1:5122
[2026-06-10T16:30:53.469Z] [ERROR] Error: Uncaught TypeError: l.on is not a function, Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.extra_syntax_highlights/main.js, Line: 1, Column: 1489, Stack: TypeError: l.on is not a function
    at 904 (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.extra_syntax_highlights/main.js:1:1489)
    at o (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.extra_syntax_highlights/main.js:1:120364)
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.extra_syntax_highlights/main.js:1:120955
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.extra_syntax_highlights/main.js:1:120962
[2026-06-10T16:30:53.472Z] [ERROR] Error: Uncaught TypeError: ace.define is not a function, Source: https://localhost/__cdvfile_files-external__/plugins/acode.catppuccin/main.js, Line: 944, Column: 237, Stack: TypeError: ace.define is not a function
    at https://localhost/__cdvfile_files-external__/plugins/acode.catppuccin/main.js:944:237
    at Array.forEach ()
    at https://localhost/__cdvfile_files-external__/plugins/acode.catppuccin/main.js:944:203
    at https://localhost/__cdvfile_files-external__/plugins/acode.catppuccin/main.js:1:76
    at https://localhost/__cdvfile_files-external__/plugins/acode.catppuccin/main.js:956:3856
    at https://localhost/__cdvfile_files-external__/plugins/acode.catppuccin/main.js:956:3862
[2026-06-10T16:30:54.145Z] [ERROR] Error: Uncaught TypeError: ace.define is not a function, Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.vscode.dark.editor/main.js, Line: 1, Column: 204, Stack: TypeError: ace.define is not a function
    at 980 (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.vscode.dark.editor/main.js:1:204)
    at c (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.vscode.dark.editor/main.js:1:4499)
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.vscode.dark.editor/main.js:1:4790
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.vscode.dark.editor/main.js:1:4797
[2026-06-10T16:30:54.207Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'Range'), Source: https://localhost/__cdvfile_files-external__/plugins/acode.language.client/main.js, Line: 2, Column: 420880, Stack: TypeError: Cannot read properties of undefined (reading 'Range')
    at https://localhost/__cdvfile_files-external__/plugins/acode.language.client/main.js:2:420880
    at https://localhost/__cdvfile_files-external__/plugins/acode.language.client/main.js:2:458229
    at https://localhost/__cdvfile_files-external__/plugins/acode.language.client/main.js:2:458232
[2026-06-10T16:30:54.209Z] [ERROR] Unhandled rejection: Cannot read properties of undefined (reading 'setMargin')
Stack: TypeError: Cannot read properties of undefined (reading 'setMargin')
    at s.init (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.ace_linters/main.js:1:1915)
    at Object.acode.plugin.ace_linters (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.ace_linters/main.js:1:8036)
    at sf. (https://localhost/build/main.js:246:4812)
    at Generator.next ()
    at i3 (https://localhost/build/main.js:246:819)
    at a (https://localhost/build/main.js:246:1017)
    at https://localhost/build/main.js:246:1078
    at new Promise ()
    at sf. (https://localhost/build/main.js:246:958)
    at sf.initPlugin (https://localhost/build/main.js:246:4823)
[2026-06-10T17:06:00.045Z] [ERROR] Purchase error
[2026-06-10T17:06:00.045Z] [ERROR] ReferenceError: iap is not defined
Stack trace: ReferenceError: iap is not defined
    at https://localhost/build/main.js:698:330
    at Generator.next ()
    at JT (https://localhost/build/main.js:697:7865)
    at a (https://localhost/build/main.js:697:8063)
[2026-06-10T17:06:00.203Z] [ERROR] [object Object]
[2026-06-10T17:06:00.344Z] [INFO] Started app and its services...
[2026-06-10T17:06:00.373Z] [ERROR] Error: Uncaught TypeError: ace.define is not a function, Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.synthwave/main.js, Line: 1, Column: 199, Stack: TypeError: ace.define is not a function
    at 213 (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.synthwave/main.js:1:199)
    at t (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.synthwave/main.js:1:4824)
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.synthwave/main.js:1:5115
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.synthwave/main.js:1:5122
[2026-06-10T17:06:00.380Z] [ERROR] Error: Uncaught TypeError: ace.define is not a function, Source: https://localhost/__cdvfile_files-external__/plugins/acode.catppuccin/main.js, Line: 944, Column: 237, Stack: TypeError: ace.define is not a function
    at https://localhost/__cdvfile_files-external__/plugins/acode.catppuccin/main.js:944:237
    at Array.forEach ()
    at https://localhost/__cdvfile_files-external__/plugins/acode.catppuccin/main.js:944:203
    at https://localhost/__cdvfile_files-external__/plugins/acode.catppuccin/main.js:1:76
    at https://localhost/__cdvfile_files-external__/plugins/acode.catppuccin/main.js:956:3856
    at https://localhost/__cdvfile_files-external__/plugins/acode.catppuccin/main.js:956:3862
[2026-06-10T17:06:00.391Z] [ERROR] Error: Uncaught TypeError: l.on is not a function, Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.extra_syntax_highlights/main.js, Line: 1, Column: 1489, Stack: TypeError: l.on is not a function
    at 904 (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.extra_syntax_highlights/main.js:1:1489)
    at o (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.extra_syntax_highlights/main.js:1:120364)
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.extra_syntax_highlights/main.js:1:120955
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.extra_syntax_highlights/main.js:1:120962
[2026-06-10T17:06:01.127Z] [ERROR] Error: Uncaught TypeError: ace.define is not a function, Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.vscode.dark.editor/main.js, Line: 1, Column: 204, Stack: TypeError: ace.define is not a function
    at 980 (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.vscode.dark.editor/main.js:1:204)
    at c (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.vscode.dark.editor/main.js:1:4499)
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.vscode.dark.editor/main.js:1:4790
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.vscode.dark.editor/main.js:1:4797
[2026-06-10T17:06:01.194Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'Range'), Source: https://localhost/__cdvfile_files-external__/plugins/acode.language.client/main.js, Line: 2, Column: 420880, Stack: TypeError: Cannot read properties of undefined (reading 'Range')
    at https://localhost/__cdvfile_files-external__/plugins/acode.language.client/main.js:2:420880
    at https://localhost/__cdvfile_files-external__/plugins/acode.language.client/main.js:2:458229
    at https://localhost/__cdvfile_files-external__/plugins/acode.language.client/main.js:2:458232
[2026-06-10T17:06:01.542Z] [ERROR] Unhandled rejection: Cannot read properties of undefined (reading 'setMargin')
Stack: TypeError: Cannot read properties of undefined (reading 'setMargin')
    at s.init (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.ace_linters/main.js:1:1915)
    at Object.acode.plugin.ace_linters (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.ace_linters/main.js:1:8036)
    at sf. (https://localhost/build/main.js:246:4812)
    at Generator.next ()
    at i3 (https://localhost/build/main.js:246:819)
    at a (https://localhost/build/main.js:246:1017)
    at https://localhost/build/main.js:246:1078
    at new Promise ()
    at sf. (https://localhost/build/main.js:246:958)
    at sf.initPlugin (https://localhost/build/main.js:246:4823)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions