Questions tagged [re-natal]
13 questions
3
votes
1 answer
REPL - Figwheel won't connect to re-natal app
I'm starting an app from Re-Natal template (didn't change it; project.clj from https://github.com/drapanjanas/re-natal/blob/master/resources/project.clj).
Then I ran
react-native start
re-natal use-android-device avd
re-natal use-figwheel
lein…

alepeino
- 9,551
- 3
- 28
- 48
3
votes
1 answer
Disable RTL using ClojureScript, Re-natal and React-Native?
I'm develop an app in re-natal platform which is based on ClojureScript and React Native. I have an issue to disable RTL for my application in Android platform.
this is the code to disable RTL in react-native which works totally fine:
const…

petros
- 791
- 1
- 6
- 10
3
votes
1 answer
Using react-native-camera in ClojureScript re-natal development
Has anyone used 'react-native-camera' component with re-natal?
I am just trying out the react-native-camera component in the default re-natal skeleton project.
My code is following
(ns wmshandheld.android.core
(:require [reagent.core :as r :refer…

Clojurevangelist
- 564
- 1
- 8
- 13
2
votes
0 answers
Getting error "Unable to resolve module xmlhttprequest" while using react-native and cljs-ajax
I am using re-natal along with cljs-ajax, according to https://github.com/JulianBirch/cljs-ajax/blob/master/docs/faq.md#react-native-why-does-bundling-fail-on-my-compiled-project
"react-native": {
"xmlhttprequest": false
}
By adding these lines…

anish
- 1,035
- 4
- 13
- 27
2
votes
1 answer
React-native on Clojure - Get the ScrollView by id and scrollTo a view inside the ScrollView
I have a map with a list of markers. I have also a list of views (containing the details of marked items) inside a ScrollView below the map.
When I click on a marker inside map, I need to scroll down to a particular view inside the…

Tessy Thomas
- 1,475
- 12
- 19
1
vote
1 answer
How to use flat-list in re-natal?
I have the following flatlist:
[flat-list {
:data [{:name "a"}
{:name "b"}
{:name "c"}]
:render-item (fn [item] [text (:name item)])
…

zengod
- 1,114
- 13
- 26
1
vote
0 answers
re-natal not showing the app in iOS simulator
I've created an app using re-natal init and but when I run react-native run run-ios, the build does finish and the simulator opens too, but the app icon never shows up. How can I fix that?

zengod
- 1,114
- 13
- 26
1
vote
2 answers
ClojureScript + React-Native - Embed Videos
I am new to ClojureScript. I would like to embed video (Youtube) to the hybrid mobile app using ClojureScript and React Native. I have tried to implement react-native-video and react-native-youtube plugins in ClojureScript for achieving this. But,…

Tessy Thomas
- 1,475
- 12
- 19
1
vote
0 answers
Re-natal´s react-native run-ios always runs on simulator
After signing up for the Apple Developer Program and running
re-natal use-ios-device real
re-natal use-figwheel
react-native run-ios
the simulator is started up instead of the real device. How do I make re-natal connect to the real device?
I've…

Rovanion
- 4,382
- 3
- 29
- 49
0
votes
1 answer
Error capturing picture with RNCamera in clojurescript re-natal
I'm trying to write the following js code for taking pictures using react-native-camera in re-natal:
{
this.camera = ref;
}}
style={styles.preview}
…

zengod
- 1,114
- 13
- 26
0
votes
1 answer
How to use data-url with images in re-natal?
I have the following image that I pass a data-url into, and I've tried two ways:
[image {:source data-url}]
[image {:source {:uri data-url}}]
In both cases, I get the error:
"Failed prop type: invalid prop source supplied to image."
What am I…

zengod
- 1,114
- 13
- 26
0
votes
1 answer
"Unknown named module xmlhttprequest" in clojurescript react-native project using re-natal
In existing project created using re-natal added [cljs-ajax "0.8.0"] and then added following lines in my package.json…

anish
- 1,035
- 4
- 13
- 27
0
votes
1 answer
Require scoped module in Clojurescript
I have started using the :target :nodejs compiler options for a cljs project (src). By and large, it works well.
However, when attempting to convert @mapbox/react-native-mapbox-gl to the updated require syntax, e.g.
(:require…

nrako
- 2,952
- 17
- 30