Questions tagged [exponentjs]

Expo is a free and open source toolchain built around React Native to help you build native iOS and Android projects using JavaScript and React.

Site: https://expo.io/

Famous answer: What is the difference between Expo and React Native?

27 questions
2
votes
1 answer

Error: more than one library with package name 'com.facebook.react'

I have a react native project that was auto-generated by https://getexponent.com/ when I detached the project. Now I'm getting these build errors after I added react-native-lock with react native link. It works fine as an iOS project with xcode,…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
1 answer

ExNavigation throws an error saying initialRoute is not defined

Hi I'm new to Expo but I've been having a hard time trying to run my code. I'm stuck at having the error: You must specify initialRoute or initialStack to initialize this StackNavigation even though I already set it up. Here's my main.js import Expo…
JohnnyQ
  • 4,839
  • 6
  • 47
  • 65
1
vote
1 answer

React Native, iOS - ScrollView doesn't work on device

ScrollView works on iOS Simulator but it doesn't work when it is actually run on Exponent on device. It goes back to the top after touch release. I'm not sure if this is the problem with my code or it is a bug on React Native or Exponent side. Here…
Przemek Piechota
  • 1,513
  • 2
  • 12
  • 19
1
vote
1 answer

error when using exp build : [exp] API Response Error: Cannot convert `undefined` with r.expr()

This error appeared while using exponent CLI to build an standalone (shell) app: [exp] API Response Error: Cannot convert `undefined` with r.expr() in: r.db("prod").table("credentials").getAll(undefined, { …
Arman
  • 344
  • 3
  • 12
1
vote
1 answer

TouchableNativeFeedbackSafe.SelectableBackgroundBorderless is not a function

I am trying to use @exponent/react-native-touchable-native-feedback-safe in my react-native based app. I can't seem to set background prop without upsetting either ios or android. I did:
gitter
  • 1,706
  • 1
  • 20
  • 32
0
votes
1 answer

TabNavigation/DrawerNavigation in a StackNavigation

I just can't figure it out how exactly I can have TabNavigation or DrawerNavigation inside StackNavigation (something like that): So from the documentation if I have this: import React from 'react'; import { AppRegistry, Text, View, } from…
charbinary
  • 1,875
  • 4
  • 17
  • 25
0
votes
1 answer

How to toggle and add a styleName to a react component

I'm creating a react native app using @shoutem/ui and the react-native exponent framework. I want to do something simple: add a styleName 'muted' to a toggle button if it's not selected. In this case there are two buttons Login and Register and…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
0
votes
1 answer

add to favorite button not styled correctly in exponent and shoutem

In this following example, my add-to-favorites button is not right aligned and is black instead of white. I don't see any styles defined anywhere and I can't seem to get to the safari inspector using exponent. Incorrect Correct white star that's…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
0
votes
1 answer

How to launch Expo XDE on Windows

I just installed exponent version 11 on Windows. After the installer completes, it automatically launches XDE. But then I closed it. I notice that there in the directory ~\AppData\Local\xde\app-2.10.0, there is a suggestively named file called…
Mark VY
  • 1,489
  • 16
  • 31
0
votes
0 answers

What does the "At" @ symbol mean in import "from" clause?

I'm checking out the Exponent framework for React Native, and I noticed this line in their demo app: import { ExponentLinksView } from '@exponent/samples'; I'm vaguely aware of ES7 decorators, but this doesn't seem like one. What's the purpose of…
0
votes
1 answer

Sign out with ex-navigation using DrawerNavigation

I built my navigation based on Ex-navigation's example Everything is working as expected, but I don't know how to Sign out I have a
component which renders a as in the example .This is my…
0
votes
1 answer

StackNavigation from ExNavigation : unbale to do navigation

I am using StackNavigation from @exponent/ex-navigation lib. Everything works fine. But push() or pop() does not to any animation. I have tried setting following for same
AK2016
  • 149
  • 1
  • 2
  • 8
1
2