Questions tagged [svelte-native]
23 questions
0
votes
1 answer
bottomNavigation not working in SvelteNative
I have a simple App.svelte that shows my problem
when I run this I get a white screen with nothing,…

Fayeure
- 1,181
- 9
- 21
0
votes
0 answers
Rendering SF Symbols with NativeScript using UIImageView
I would like to use SF Symbols in a NativeScript based app (using svelte native but I guess this should work independent of that).
If I understand this guide to SF Symbols correctly then I can get a view with a symbol like this in Swift:
let image =…

Deproblemify
- 3,340
- 5
- 26
- 41
0
votes
2 answers
Cannot find module '@nativescript/webpack/lib/before-checkForChanges.js'
Cannot build android with svelte-native on linux:
$ ns build android
Preparing project...
assets by path fonts/ 350 KiB
asset fonts/fa-solid-900.ttf 188 KiB [compared for emit] [from: app/fonts/fa-solid-900.ttf] [copied]
asset…

chovy
- 72,281
- 52
- 227
- 295
0
votes
0 answers
I use #if in Svlte Native but it doesn't work
I try out Svelte Native and I try to hide "tags" with booleans. I try this, which works in the normal Svelte framework like:
{#if po.id !== null || po.id !== undefined}
0
votes
1 answer
"Your environment is not configured properly" with Svelte-native
I try to build a little application with svelte-native. When I installed NativeScript I created an application and I wanted to run it with
ns run ios
and I have this problem with the environment:
I updated pip and Xcode, but this error…

Deotyma
- 677
- 2
- 8
- 25
0
votes
1 answer
Getting "ANDROID_HOME environment variable is not set" when running "ns run" & "ns doctor android"
I'm using MacOS. I've already used Android Studio and Xcode to one of my react-native projects before. I am now learning SvelteNative. As I've started following the docs here and here, and got onto the step where I need to run ns doctor android I…

Zedd
- 2,069
- 2
- 15
- 35
0
votes
1 answer
Why does svelte handle "value" differently from other attributes?
In svelte (3.42.5) attributes named "value" are translated differently from other attributes.
I.e. the component
translates to
...
function create_fragment(ctx) {
...
return {
c() {
…

mrh1997
- 922
- 7
- 18
-1
votes
1 answer
Is there a plugin that will let me communicate with a PocketBase database?
I'm trying to connect with a running PocketBase database. Normally, I would use their Javascript SDK to achieve this, but the package does not get shipped to the mobile device during the build process.
This means I either have to build my own set of…

DF1229
- 1
- 4