Git Product home page Git Product logo

soft-ui-react-native's Introduction

version GitHub issues open GitHub issues closed

Product

Soft UI React Native is a fully coded app template built over React Native and Expo to allow you to create powerful and beautiful e-commerce mobile applications. We have redesigned all the usual components in-house to make it look like Soft UI's KIT, minimalistic and easy to use.

Start your development with a Design System for React Native inspired by Soft UI KIT. If you like Soft UI's KIT, you will love this react native app template! It features a huge number of components and screens built to fit together and look amazing.

FULLY CODED COMPONENTS

Soft UI React Native features over 100 variations of components like buttons, inputs, cards, navigations etc, giving you the freedom of choosing and combining. All components can take variations in colour, that you can easily modify inside our theme file.

You will save a lot of time going from prototyping to full-functional code, because all elements are implemented. We wanted the design process to be seamless, so switching from image to the real page is very easy to do.

Components & Cards

Soft UI React Native comes packed with a large number of components and cards. Putting together a mobile app has never been easier than matching together different components. From the profile screen to a settings screen, you can easily customise and build your screens. We have created multiple options for you to put together and customise into pixel perfect screens.

View all components here.

Example Screens

If you want to get inspiration or just show something directly to your clients, you can jump start your development with our pre-built example screens. From onboarding screens to profile or discover screens, you will be able to quickly set up the basic structure for your React Native mobile project.

View all screens here.

Let us know your thoughts below. And good luck with development!

Table of Contents

Versions

HTML React-Native
Soft UI Kit Soft UI React-Native

Demo

View more

Quick start

  • Try it out on Expo (Simulator for iOS or even your physical device if you have an Android)
  • Download from Creative Tim

Documentation

The documentation for the Soft UI React Native is hosted at our website.

File Structure

Within the download you'll find the following directories and files:

soft-ui-react-native/
├── App.tsx
├── README.md
├── app.json
├── assets
├── babel.config.js
├── package.json
├── src
│   ├── assets
│   │   ├── fonts
│   │   ├── icons
│   │   └── images
│   ├── components
│   │   ├── Article.tsx
│   │   ├── Block.tsx
│   │   ├── Button.tsx
│   │   ├── Checkbox.tsx
│   │   ├── Image.tsx
│   │   ├── Input.tsx
│   │   ├── Modal.tsx
│   │   ├── Product.tsx
│   │   ├── Switch.tsx
│   │   ├── Text.tsx
│   │   └── index.tsx
│   ├── constants
│   │   ├── index.ts
│   │   ├── light.ts
│   │   ├── mocks.ts
│   │   ├── regex.ts
│   │   ├── theme.ts
│   │   ├── translations
│   │   │   ├── en.json
│   │   │   └── index.ts
│   │   └── types
│   │       ├── components.ts
│   │       ├── index.ts
│   │       └── theme.ts
│   ├── hooks
│   │   ├── index.ts
│   │   ├── useData.tsx
│   │   ├── useScreenOptions.tsx
│   │   ├── useTheme.tsx
│   │   └── useTranslation.tsx
│   ├── navigation
│   │   ├── App.tsx
│   │   ├── Menu.tsx
│   │   └── Screens.tsx
│   └── screens
│       ├── Articles.tsx
│       ├── Components.tsx
│       ├── Home.tsx
│       ├── Pro.tsx
│       ├── Profile.tsx
│       ├── Register.tsx
│       └── index.ts
└── tsconfig.json

OS Support

At present, we officially aim to support the last two versions of the following operating systems:

Resources

Reporting Issues

We use GitHub Issues as the official bug tracker for the Soft UI React Native. Here are some advices for our users that want to report an issue:

  1. Make sure that you are using the latest version of the Soft UI React Native.
  2. Providing us reproducible steps for the issue will shorten the time it takes for it to be fixed.
  3. Some issues may be browser specific, so specifying in what browser you encountered the issue might help.

Technical Support or Questions

If you have questions or need help integrating the product please contact us instead of opening an issue.

Licensing

Useful Links

Social Media

Twitter: https://twitter.com/CreativeTim Facebook: https://www.facebook.com/CreativeTim Dribbble: https://dribbble.com/creativetim Instagram: https://www.instagram.com/CreativeTimOfficial

soft-ui-react-native's People

Contributors

dragosct avatar hetmann avatar iamthejsguy avatar taqishah1214 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

soft-ui-react-native's Issues

[Bug] npm install does not work

Version

1.0.2

Reproduction link

https://github.com/creativetimofficial/soft-ui-react-native

Operating System

Mac

Device

Mac

Browser & Version

Chrome latest

Steps to reproduce

git clone ...

npm install

What is expected?

no errors

What is actually happening?

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0" from @react-native-community/[email protected]
npm ERR! node_modules/@react-native-community/masked-view
npm ERR! @react-native-community/masked-view@"0.1.10" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/david.faerman/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/david.faerman/.npm/_logs/2022-09-02T09_18_32_736Z-debug-0.log


Solution

Additional comments

not finding products in my account

Hi, I purchased the enterprise-license bundle, 2 days ago. But when I create a new account with the email ID I purchased, I am not seeing any products in my list. Why?
Please contact me to get my purchased email ID in private.

Missing component documentation

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

Complete documentation for all components.

Current Behavior

There is no documentation for the calendar component...

Objects are not valid as a react Child error

Im facing the following issue on Text component. The error is Objects are not valid as React Child....
and its because of how the children prop is rendered in that controller. Its seems fine to me but not sure why its throwing error. Hoping someone can find the issue here.

Text.js

  <Text {...textID} {...rest} style={textStyles}>
      {children}  
    </Text>

I have tried {props.children} here but same result. {JSON.stringify(props.children)} renders the strings with quotes around them so i know the text is coming through.

On the second image(using {JSON.stringify(props.children)} ) , You can see the brand text is actually an object hence the error. Is the brand name usage of the control wrong or is there some other issue here?

Screenshot_20211223-003910_Expo Go

Screenshot_20211223-004816_Expo Go

[Bug] On IOS simulator - Android is fine - Typing into the Name field on the Create Account page throws Uncaught Error

Version

1.0.2

Reproduction link

https://jsfiddle.net/

Operating System

IOS 16.1

Device

iPhone 14 Pro Max Simulator

Browser & Version

Steps to reproduce

  1. Run the Application on IOS simulator ( iPhone 14 Pro Max )
  2. Open the "Create Account" page
  3. Focus on the Name field
  4. Try to enter something into the field
  5. The RED error screen shows up

What is expected?

The text can be entered into the field.

What is actually happening?

Uncaught Error Screen shows up when trying to enter something into the Name field on the "Create Account"page


Solution

Additional comments

The given error:
TypeError: responder.scrollResponderScrollTo is not a function. (In 'responder.scrollResponderScrollTo({
x: x,
y: y,
animated: animated
})', 'responder.scrollResponderScrollTo' is undefined)
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:95:4 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:141:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0

TypeError: responder.scrollResponderScrollTo is not a function. (In 'responder.scrollResponderScrollTo({
x: x,
y: y,
animated: animated
})', 'responder.scrollResponderScrollTo' is undefined)
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:95:4 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:141:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0

Current behavior: Works on Android but Fails on IOS
image

[Bug] CLI launched but 1 error of code when compiling

Version

1.1.0

Reproduction link

#28

Operating System

MacOS High Sierra

Device

Macbook PRO 2011

Browser & Version

Versión 116.0.5845.187

Steps to reproduce

Initial launch of the Creative Tim package, installed, npm, and expo. CLI started in the directory of the project, compiling error

What is expected?

To launch in the browser the initial template app

What is actually happening?

error compiling.
ERROR in ./node_modules/expo/AppEntry.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
/Users/juanmateumullor/Documents/XPATS/soft-ui-react-native-v1.1.0/node_modules/babel-preset-expo/node_modules/metro-react-native-babel-preset/src/configs/main.js:154


Solution

Additional comments

Terminal cut&paste of error


› Press a │ open Android
› Press i │ open iOS simulator
› Press w │ open web

› Press r │ reload app
› Press m │ toggle menu

› Press ? │ show all commands

› Open in the web browser...
› Press ? │ show all commands
[object Object]
ERROR in ./node_modules/expo/AppEntry.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
/Users/juanmateumullor/Documents/XPATS/soft-ui-react-native-v1.1.0/node_modules/babel-preset-expo/node_modules/metro-react-native-babel-preset/src/configs/main.js:154
const isVersion = typeof options?.enableBabelRuntime === "string";
^

SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:931:16)
at Module._compile (internal/modules/cjs/loader.js:979:27)

[Bug] Failed to launch the demo version in a browser

Version

1.0.0

Reproduction link

https://github.com/creativetimofficial/soft-ui-react-native

Operating System

Windows 10

Device

Browser. Chrome

Browser & Version

Chrome Version 95.0.4638.69

Steps to reproduce

checkout from github https://github.com/creativetimofficial/soft-ui-react-native
npm install
expo start
Run in Web Browser

What is expected?

Run the demo in a browser

What is actually happening?

Error in logs :

Web Bundling complete 6048ms
./node_modules/@react-native-community/masked-view/js/MaskedView.js:14:22
"export 'requireNativeComponent' was not found in 'react-native-web/dist/index'
12 | import { View, StyleSheet, requireNativeComponent } from 'react-native';
13 |

14 | const RNCMaskedView = requireNativeComponent('RNCMaskedView');
| ^
15 |
16 | import { type MaskedViewProps } from './MaskedViewTypes';


Solution

Additional comments

en-GB translation

Prerequisites

Please answer the following questions for yourself before submitting an issue.

i checked the documentation and found no answer

[missing "en-GB.navigation.home" translation]

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Device:
  • Operating System:
  • Browser and Version:

Failure Logs

Please include any relevant log snippets or files here.

Tried to register two views with the same name RNCMaskedView, js engine: hermes

Failure Information (for bugs)

ERROR Invariant Violation: Tried to register two views with the same name RNCMaskedView, js engine: hermes
ERROR Invariant Violation: "main" has not been registered. This can happen if:

  • Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
  • A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes

Steps to Reproduce

Just run npm run start

[Bug] npm install and yarn start not working

Version

latest

Reproduction link

https://goldbergmoshe-cuddly-space-guide-rx5qg49v6573pj4v.github.dev/

Operating System

win11

Device

laptop

Browser & Version

chrome latest

Steps to reproduce

with npm wont install - son installed with yarn
then installed expo
then did yarn start and w

What is expected?

to start the app

What is actually happening?

browser empty
[object Object]
WARNING in ./node_modules/@react-native-community/masked-view/js/MaskedView.js:14:22
export 'requireNativeComponent' (imported as 'requireNativeComponent') was not found in 'react-native-web/dist/index' (possible exports: AccessibilityInfo, ActivityIndicator, Alert, Animated, AppRegistry, AppState, Appearance, BackHandler, Button, CheckBox, Clipboard, DeviceEventEmitter, DeviceInfo, Dimensions, DrawerLayoutAndroid, Easing, FlatList, I18nManager, Image, ImageBackground, InputAccessoryView, InteractionManager, Keyboard, KeyboardAvoidingView, LayoutAnimation, Linking, LogBox, Modal, NativeEventEmitter, NativeModules, PanResponder, PermissionsAndroid, Picker, PixelRatio, Platform, Pressable, ProgressBar, RefreshControl, SafeAreaView, ScrollView, SectionList, Settings, Share, StatusBar, StyleSheet, Switch, Systrace, TVEventHandler, Text, TextInput, ToastAndroid, Touchable, TouchableHighlight, TouchableNativeFeedback, TouchableOpacity, TouchableWithoutFeedback, UIManager, Vibration, View, VirtualizedList, YellowBox, findNodeHandle, processColor, render, unmountComponentAtNode, unstable_createElement, useColorScheme, useWindowDimensions)
12 | import { View, StyleSheet, requireNativeComponent } from 'react-native';
13 |

14 | const RNCMaskedView = requireNativeComponent('RNCMaskedView');
| ^
15 |
16 | import { type MaskedViewProps } from './MaskedViewTypes';
17 |

web compiled with 1 warning


Solution

fix whatever is wrong with this
/node_modules/@react-native-community/masked-view/js/MaskedView.js:14:22

Additional comments

[Bug] The app does not start, crash after build

Version

1.1.1

Reproduction link

https://github.com/creativetimofficial/soft-ui-react-native

Operating System

Android 13 | Mac Os 14.3.1

Device

Redmi Note 12 | Macbook Pro 2021 M1 Pro

Browser & Version

Does not apply, I'm running it on physical device

Steps to reproduce

  1. Download the template from Creative Tim website.
  2. Open a terminal and enter into the template forlder (root folder).
  3. Run npm install
  4. Run npm start
  5. Press "a" to open the app on the connected Android device (the device is connected correctly, and all permission has been granted)

What is expected?

The app starts and run as described in the documentation.

What is actually happening?

The app does not start correctly and crash as soon the building process finish.


Solution

Additional comments

No code as been modified, no file has been moved, just downloaded and tried to run as per documentation.

soft-ui-pro-react-native % npm start

> start
> ANDROID_HOME=/opt/homebrew/Caskroom/android-sdk/4333796 expo start

Starting project at /Users/mattiabonzi/Progetti/farmshop/soft-ui-pro-react-native
Starting Metro Bundler
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ █ ▀▀▄ ▄██ █ ▄▄▄▄▄ █
█ █   █ ███ ▄▄ █▄ █ █   █ █
█ █▄▄▄█ █ ▄▄ █▄██▄█ █▄▄▄█ █
█▄▄▄▄▄▄▄█ █ ▀ █▄▀ █▄▄▄▄▄▄▄█
█▄▄ █▀ ▄█▄  ██▀ ▀▄▄ ▄▄██  █
██▀ █▀▀▄ █▀█▄██▄▄██▀▄█▄▄█▄█
█▄▀ ██▀▄█ ▄█▄ █ ▀█  ███▀ ▀█
█▄▄▄█▀█▄▄█▀▄▀ ▄    ▄█ ▄█▀▄█
█▄▄█▄▄▄▄▄ ▄▀█▄▀ █ ▄▄▄  ▀█ █
█ ▄▄▄▄▄ █▀▀█▄▄▄ █ █▄█ ██▀▄█
█ █   █ ██▄▄ ██ ▄▄▄▄   ▀ ██
█ █▄▄▄█ █ ▄ ▄▄▄▄ ▀▀█ ▄██▄▄█
█▄▄▄▄▄▄▄█▄▄█▄██▄▄▄▄█▄▄███▄█

› Metro waiting on exp://192.168.9.110:19000
› Scan the QR code above with Expo Go (Android) or the Camera app (iOS)

› Press a │ open Android
› Press i │ open iOS simulator
› Press w │ open web

› Press j │ open debugger
› Press r │ reload app
› Press m │ toggle menu

› Press ? │ show all commands

Logs for your project will appear below. Press Ctrl+C to exit.
› Opening on Android...
› Opening exp://192.168.9.110:19000 on 23021RAA2Y
› Press ? │ show all commands
Android Bundling complete 1804ms
 ERROR  Invariant Violation: Tried to register two views with the same name RNCMaskedView, js engine: hermes
 ERROR  Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes

Doesn't open just displaces the splash screen and nothing else

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

Please describe the behavior you are expecting

Current Behavior

What is the current behavior?

Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. step 1
  2. step 2
  3. you get it...

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Device:
  • Operating System:
  • Browser and Version:

Failure Logs

Please include any relevant log snippets or files here.

[Bug] On IOS simulator - Android is fine - Typing into the Name field on the Create Account page throws Uncaught Error

Version

1.0.2

Reproduction link

https://jsfiddle.net/

Operating System

IOS 16.1

Device

iPhone 14 Pro Max Simulator

Browser & Version

Steps to reproduce

Run the Application on IOS simulator ( iPhone 14 Pro Max )
Open the "Create Account" page
Focus on the Name field
Try to enter something into the field
The RED error screen shows up

What is expected?

The text can be entered into the field.

What is actually happening?

Uncaught Error Screen shows up when trying to enter something into the Name field on the "Create Account"page


Solution

X

Additional comments

The given error:
TypeError: responder.scrollResponderScrollTo is not a function. (In 'responder.scrollResponderScrollTo({
x: x,
y: y,
animated: animated
})', 'responder.scrollResponderScrollTo' is undefined)
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:95:4 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:141:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0

TypeError: responder.scrollResponderScrollTo is not a function. (In 'responder.scrollResponderScrollTo({
x: x,
y: y,
animated: animated
})', 'responder.scrollResponderScrollTo' is undefined)
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:95:4 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:141:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0

As You can see it works fine on Android simulator but fails on the IOS simulator.

image

Invariant Violation: Tried to register two views with the same name RNCMaskedView, at startup

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed (it has been filed, but closed without any answer due to respsecting the issue format)
  • I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

The app start as described in the documentation.

Current Behavior

The app does not start correctly and crash as soon the building process finish.

Failure Information (for bugs)

The app crash with the following two error, the template has not been modified, just downloaded and tried to start as per documentation.

ERROR  Invariant Violation: Tried to register two views with the same name RNCMaskedView, js engine: hermes

ERROR  Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes

Steps to Reproduce

  1. Download the template from Creative Tim website.
  2. Open a terminal and enter into the template forlder (root folder).
  3. Run npm install
  4. Run npm start
  5. Press "a" to open the app on the connected Android device (the device is connected correctly, and all permission has been granted)

Context

  • Device: Xiaomi Note
  • Operating System: Android 13 | Mac Os 14.3.1
  • Browser and Version: Does not apply, I'm running it on physical device

No code as been modified, no file has been moved, just downloaded and tried to run as per documentation.

Failure Logs

soft-ui-pro-react-native % npm start

> start
> ANDROID_HOME=/opt/homebrew/Caskroom/android-sdk/4333796 expo start

Starting project at /Users/mattiabonzi/Progetti/farmshop/soft-ui-pro-react-native
Starting Metro Bundler
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ █ ▀▀▄ ▄██ █ ▄▄▄▄▄ █
█ █   █ ███ ▄▄ █▄ █ █   █ █
█ █▄▄▄█ █ ▄▄ █▄██▄█ █▄▄▄█ █
█▄▄▄▄▄▄▄█ █ ▀ █▄▀ █▄▄▄▄▄▄▄█
█▄▄ █▀ ▄█▄  ██▀ ▀▄▄ ▄▄██  █
██▀ █▀▀▄ █▀█▄██▄▄██▀▄█▄▄█▄█
█▄▀ ██▀▄█ ▄█▄ █ ▀█  ███▀ ▀█
█▄▄▄█▀█▄▄█▀▄▀ ▄    ▄█ ▄█▀▄█
█▄▄█▄▄▄▄▄ ▄▀█▄▀ █ ▄▄▄  ▀█ █
█ ▄▄▄▄▄ █▀▀█▄▄▄ █ █▄█ ██▀▄█
█ █   █ ██▄▄ ██ ▄▄▄▄   ▀ ██
█ █▄▄▄█ █ ▄ ▄▄▄▄ ▀▀█ ▄██▄▄█
█▄▄▄▄▄▄▄█▄▄█▄██▄▄▄▄█▄▄███▄█

› Metro waiting on exp://192.168.9.110:19000
› Scan the QR code above with Expo Go (Android) or the Camera app (iOS)

› Press a │ open Android
› Press i │ open iOS simulator
› Press w │ open web

› Press j │ open debugger
› Press r │ reload app
› Press m │ toggle menu

› Press ? │ show all commands

Logs for your project will appear below. Press Ctrl+C to exit.
› Opening on Android...
› Opening exp://192.168.9.110:19000 on 23021RAA2Y
› Press ? │ show all commands
Android Bundling complete 1804ms
 ERROR  Invariant Violation: Tried to register two views with the same name RNCMaskedView, js engine: hermes
 ERROR  Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes

[Bug] Missing component documentation

Version

1.0.2

Reproduction link

https://jsfiddle.net/ (not applicable)

Operating System

Windows

Device

PC

Browser & Version

Chrome

Steps to reproduce

There is missing documentation for the calendar component.

What is expected?

A full suite of documentation for all components.

What is actually happening?

Missing documentation for the calendar component


Solution

Additional comments

Failed to launch the demo version in a browser

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

Checkouting, installing dependencies and running project should work both in mobile and web.

Current Behavior

Error while launching the web version. Please see below

Failure Information (for bugs)

‼ 「wds」: transportMode is an experimental option, meaning its usage could potentially change without warning
Web Bundling complete 6048ms
./node_modules/@react-native-community/masked-view/js/MaskedView.js:14:22
"export 'requireNativeComponent' was not found in 'react-native-web/dist/index'
12 | import { View, StyleSheet, requireNativeComponent } from 'react-native';
13 |

14 | const RNCMaskedView = requireNativeComponent('RNCMaskedView');
| ^
15 |
16 | import { type MaskedViewProps } from './MaskedViewTypes';

Steps to Reproduce

  1. checkout from github https://github.com/creativetimofficial/soft-ui-react-native
  2. npm install
  3. expo start
  4. Run in Web Browser

Context

Last version of expo installed. LTS version of node installed.

  • Device: Chrome
  • Operating System: Windows 10
  • Browser and Version: Latest version of chrome

Failure Logs

Please see the logs above.

On IOS simulator - Android is fine - Typing into the Name field on the Create Account page throws Uncaught Error

Prerequisites

Running Soft UI react native application on IOS simulator

Current Behavior

Uncaught Error Screen shows up when trying to enter something into the Name field on the "Create Account"page

Expected Behavior

The text can be entered into the field.

Steps to Reproduce

  1. Run the Application on IOS simulator ( iPhone 14 Pro Max )
  2. Open the "Create Account" page
  3. Focus on the Name field
  4. Try to enter something into the field
  5. The RED error screen shows up

Failure Logs / Information

The given error:
TypeError: responder.scrollResponderScrollTo is not a function. (In 'responder.scrollResponderScrollTo({
x: x,
y: y,
animated: animated
})', 'responder.scrollResponderScrollTo' is undefined)
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:95:4 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:141:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0

TypeError: responder.scrollResponderScrollTo is not a function. (In 'responder.scrollResponderScrollTo({
x: x,
y: y,
animated: animated
})', 'responder.scrollResponderScrollTo' is undefined)
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:95:4 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:141:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0

As You can see the application works fine on Android Simulator but Fails on IOS. Tried with several other IOS and iPhone as well.

image

Context

  • Device: IOS simulator ( iPhone 14 Pro Max ios 16.1 )
  • Operating System: Mac OS Monterey 12.6
  • Expo Version: 6.0.6
  • Expo Go on device: 2.24.3.101
  • Browser and Version: Not relevant

CLI launched but 1 error of code when compiling

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • [ yes] I am running the latest version
  • [ yes] I checked the documentation and found no answer
  • [yes ] I checked to make sure that this issue has not already been filed
  • [yes ] I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

The CLI opening the app in a browser.

Current Behavior

compiling error

Failure Information (for bugs)

  • Device: Mac
  • Operating System: MacOS

Failure Logs

Terminal copy & paste. Cli works but and opens browser (empty page as there is a compiling error).

› Webpack waiting on http://192.168.1.132:19006
› Expo Webpack (web) is in beta, and subject to breaking changes!

› Press a │ open Android
› Press i │ open iOS simulator
› Press w │ open web

› Press r │ reload app
› Press m │ toggle menu

› Press ? │ show all commands

› Open in the web browser...
› Press ? │ show all commands
[object Object]
ERROR in ./node_modules/expo/AppEntry.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
/Users/mycomputer/Documents/XPATS/soft-ui-react-native-v1.1.0/node_modules/babel-preset-expo/node_modules/metro-react-native-babel-preset/src/configs/main.js:154
const isVersion = typeof options?.enableBabelRuntime === "string";
^

SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:931:16)
at Module._compile (internal/modules/cjs/loader.js:979:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/Users/mycomputer/Documents/XPATS/soft-ui-react-native-v1.1.0/node_modules/babel-preset-expo/node_modules/metro-react-native-babel-preset/src/index.js:13:14)

not finding products in my account

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • checked the documentation and found no answer

Expected Behavior

find products in my account

Current Behavior

Empty!
I purchased the enterprise-license bundle, 2 days ago. But when I create a new account with the email ID I purchased, I am not seeing any products in my list. Why?
Please contact me to get my purchased email ID in private.

Failure Information (for bugs)

n/a

TypeError: undefined is not an object when opening up date selector in Booking.tsx

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

When you tap the date selector, it should bring up a UI element to select the date for the booking

Current Behavior

It errors out with the following stack trace:

Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

TypeError: undefined is not an object (evaluating '_xdate.default.locales[_xdate.default.defaultLocale].today')

This error is located at:
    in IGNORE (at calendar/index.js:186)
    in RCTView (at View.js:34)
    in View (at calendar/index.js:185)
    in RCTView (at View.js:34)
    in View (at calendar/index.js:210)
    in RCTView (at View.js:34)
    in View (at calendar/index.js:227)
    in RCTView (at View.js:34)
    in View (at calendar/index.js:266)
    in RCTView (at View.js:34)
    in View (at calendar/index.js:265)
    in Calendar (at Calendar.tsx:93)
    in Calendar (at Booking.tsx:229)
    in RCTView (at View.js:34)
    in View (at Block.tsx:225)
    in Block (at Modal.tsx:42)
    in RCTSafeAreaView (at SafeAreaView.js:51)
    in ForwardRef(SafeAreaView) (at Block.tsx:176)
    in Block (at Modal.tsx:34)
    in RCTView (at View.js:34)
    in View (at Block.tsx:225)
    in Block (at Modal.tsx:33)
    in RCTView (at View.js:34)
    in View (at AppContainer.js:106)
    in RCTView (at View.js:34)
    in View (at AppContainer.js:132)
    in AppContainer (at Modal.js:220)
    in RCTView (at View.js:34)
    in View (at Modal.js:242)
    in RCTModalHostView (at Modal.js:228)
    in Modal (at Modal.tsx:26)
    in Modal (at Booking.tsx:206)
    in RCTScrollContentView (at ScrollView.js:1124)
    in RCTScrollView (at ScrollView.js:1260)
    in ScrollView (at ScrollView.js:1286)
    in ScrollView (at Block.tsx:192)
    in Block (at Booking.tsx:118)
    in Booking (at SceneView.tsx:122)
    in StaticContainer
    in StaticContainer (at SceneView.tsx:115)
    in EnsureSingleNavigator (at SceneView.tsx:114)
    in SceneView (at useDescriptors.tsx:153)
    in RCTView (at View.js:34)
    in View (at CardContainer.tsx:245)
    in RCTView (at View.js:34)
    in View (at CardContainer.tsx:244)
    in RCTView (at View.js:34)
    in View (at CardSheet.tsx:33)
    in ForwardRef(CardSheet) (at Card.tsx:573)
    in RCTView (at View.js:34)
    in View (at createAnimatedComponent.js:165)
    in AnimatedComponent (at createAnimatedComponent.js:215)
    in ForwardRef(AnimatedComponentWrapper) (at Card.tsx:555)
    in PanGestureHandler (at GestureHandlerNative.tsx:13)
    in PanGestureHandler (at Card.tsx:549)
    in RCTView (at View.js:34)
    in View (at createAnimatedComponent.js:165)
    in AnimatedComponent (at createAnimatedComponent.js:215)
    in ForwardRef(AnimatedComponentWrapper) (at Card.tsx:544)
    in RCTView (at View.js:34)
    in View (at Card.tsx:538)
    in Card (at CardContainer.tsx:206)
    in CardContainer (at CardStack.tsx:623)
    in RNSScreen (at createAnimatedComponent.js:165)
    in AnimatedComponent (at createAnimatedComponent.js:215)
    in ForwardRef(AnimatedComponentWrapper) (at src/index.native.tsx:120)
    in Screen (at Screens.tsx:74)
    in MaybeScreen (at CardStack.tsx:616)
    in RNSScreenContainer (at src/index.native.tsx:145)
    in ScreenContainer (at Screens.tsx:50)
    in MaybeScreenContainer (at CardStack.tsx:498)
    in CardStack (at StackView.tsx:462)
    in KeyboardManager (at StackView.tsx:458)
    in SafeAreaProviderCompat (at StackView.tsx:455)
    in RCTView (at View.js:34)
    in View (at StackView.tsx:454)
    in StackView (at createStackNavigator.tsx:87)
    in StackNavigator (at Screens.tsx:35)
    in Unknown (at Menu.tsx:59)
    in RCTView (at View.js:34)
    in View (at createAnimatedComponent.js:165)
    in AnimatedComponent (at createAnimatedComponent.js:215)
    in ForwardRef(AnimatedComponentWrapper) (at Menu.tsx:48)
    in ScreensStack (at SceneView.tsx:122)
    in StaticContainer
    in StaticContainer (at SceneView.tsx:115)
    in EnsureSingleNavigator (at SceneView.tsx:114)
    in SceneView (at useDescriptors.tsx:153)
    in RNSScreen (at createAnimatedComponent.js:165)
    in AnimatedComponent (at createAnimatedComponent.js:215)
    in ForwardRef(AnimatedComponentWrapper) (at src/index.native.tsx:120)
    in Screen (at ResourceSavingScene.tsx:30)
    in ResourceSavingScene (at DrawerView.tsx:203)
    in RNSScreenContainer (at src/index.native.tsx:145)
    in ScreenContainer (at DrawerView.tsx:182)
    in RCTView (at View.js:34)
    in View (at Drawer.tsx:625)
    in RCTView (at View.js:34)
    in View (at createAnimatedComponent.js:444)
    in AnimatedComponent(View) (at createAnimatedComponent.js:455)
    in ForwardRef(AnimatedComponentWrapper) (at Drawer.tsx:618)
    in RCTView (at View.js:34)
    in View (at createAnimatedComponent.js:444)
    in AnimatedComponent(View) (at createAnimatedComponent.js:455)
    in ForwardRef(AnimatedComponentWrapper) (at Drawer.tsx:608)
    in PanGestureHandler (at GestureHandlerNative.tsx:13)
    in PanGestureHandler (at Drawer.tsx:599)
    in DrawerView (at DrawerView.tsx:235)
    in RNCSafeAreaProvider (at SafeAreaContext.tsx:76)
    in SafeAreaProvider (at SafeAreaProviderCompat.tsx:42)
    in SafeAreaProviderCompat (at DrawerView.tsx:233)
    in RCTView (at View.js:34)
    in View (at DrawerView.tsx:232)
    in DrawerView (at createDrawerNavigator.tsx:47)
    in DrawerNavigator (at Menu.tsx:219)
    in ViewManagerAdapter_ExpoLinearGradient (created by ForwardRef(Adapter<ExpoLinearGradient>))
    in ForwardRef(Adapter<ExpoLinearGradient>) (created by LinearGradient)
    in LinearGradient (at Block.tsx:200)
    in Block (at Menu.tsx:218)
    in Unknown (at App.tsx:53)
    in EnsureSingleNavigator (at BaseNavigationContainer.tsx:409)
    in ForwardRef(BaseNavigationContainer) (at NavigationContainer.tsx:91)
    in ThemeProvider (at NavigationContainer.tsx:90)
    in ForwardRef(NavigationContainer) (at App.tsx:52)
    in ThemeProvider (at App.tsx:51)
    in TranslationProvider (at App.tsx:50)
    in Unknown (at App.tsx:10)
    in DataProvider (at App.tsx:9)
    in App (created by ExpoRoot)
    in ExpoRoot (at renderApplication.js:45)
    in RCTView (at View.js:34)
    in View (at AppContainer.js:106)
    in DevAppContainer (at AppContainer.js:121)
    in RCTView (at View.js:34)
    in View (at AppContainer.js:132)
    in AppContainer (at renderApplication.js:39)
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:171:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0
at [native code]:null in flushedQueue
at [native code]:null in invokeCallbackAndReturnFlushedQueue

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

Open up the app in Expo
Open the Drawer navigator
Click on Rental
Click on the first deal
Click on Check Availability
Try and select a date on the availability page

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Device: iPhone 13 Pro Max
  • Operating System: iOS
  • Browser and Version: 15.1.1

Failure Logs

Please include any relevant log snippets or files here.

[Bug] not finding products in my account

Version

latest

Reproduction link

https://example.com/

Operating System

browser

Device

laptop

Browser & Version

chrome latest

Steps to reproduce

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • checked the documentation and found no answer

Expected Behavior

find products in my account

Current Behavior

Empty!
I purchased the enterprise-license bundle, 2 days ago. But when I create a new account with the email ID I purchased, I am not seeing any products in my list. Why?
Please contact me to get my purchased email ID in private.

What is expected?

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • checked the documentation and found no answer

Expected Behavior

find products in my account

Current Behavior

Empty!
I purchased the enterprise-license bundle, 2 days ago. But when I create a new account with the email ID I purchased, I am not seeing any products in my list. Why?
Please contact me to get my purchased email ID in private.

What is actually happening?

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • checked the documentation and found no answer

Expected Behavior

find products in my account

Current Behavior

Empty!
I purchased the enterprise-license bundle, 2 days ago. But when I create a new account with the email ID I purchased, I am not seeing any products in my list. Why?
Please contact me to get my purchased email ID in private.


Solution

Additional comments

I cannot run the project

I downloaded the zip file (free -v). Then I opened the unzip folder in visual studio. I opened the terminal and I wrote "cd soft-ui-react-native-main". Then I wrote "npm isntall" and it returns:

C:\Users\DC\soft-ui-react-native-main>npm install

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"16.13.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@">=17.0.1" from [email protected]
npm ERR! node_modules/react-native-web
npm ERR!   react-native-web@"^0.16.3" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\DC\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\DC\AppData\Local\npm-cache\_logs\2021-07-27T08_35_25_943Z-debug.log

yarn start and npm install not working

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version yes
  • I checked the documentation and found no answer yes
  • I checked to make sure that this issue has not already been filed yes
  • I'm reporting the issue to the correct repository (for multi-repository projects) yse

Expected Behavior

npm wont install and yarn install but wont run on expo or localhost

Current Behavior

WARNING in ./node_modules/@react-native-community/masked-view/js/MaskedView.js:14:22
export 'requireNativeComponent' (imported as 'requireNativeComponent') was not found in 'react-native-web/dist/index' (possible exports: AccessibilityInfo, ActivityIndicator, Alert, Animated, AppRegistry, AppState, Appearance, BackHandler, Button, CheckBox, Clipboard, DeviceEventEmitter, DeviceInfo, Dimensions, DrawerLayoutAndroid, Easing, FlatList, I18nManager, Image, ImageBackground, InputAccessoryView, InteractionManager, Keyboard, KeyboardAvoidingView, LayoutAnimation, Linking, LogBox, Modal, NativeEventEmitter, NativeModules, PanResponder, PermissionsAndroid, Picker, PixelRatio, Platform, Pressable, ProgressBar, RefreshControl, SafeAreaView, ScrollView, SectionList, Settings, Share, StatusBar, StyleSheet, Switch, Systrace, TVEventHandler, Text, TextInput, ToastAndroid, Touchable, TouchableHighlight, TouchableNativeFeedback, TouchableOpacity, TouchableWithoutFeedback, UIManager, Vibration, View, VirtualizedList, YellowBox, findNodeHandle, processColor, render, unmountComponentAtNode, unstable_createElement, useColorScheme, useWindowDimensions)
12 | import { View, StyleSheet, requireNativeComponent } from 'react-native';
13 |

14 | const RNCMaskedView = requireNativeComponent('RNCMaskedView');
| ^
15 |
16 | import { type MaskedViewProps } from './MaskedViewTypes';
17 |

Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. step 1
  2. step 2
  3. you get it...

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Device: laptop
  • Operating System: win11
  • Browser and Version: chromelatest

Failure Logs

Please include any relevant log snippets or files here.

[Bug] TypeError: undefined is not an object

Version

Latest Version

Reproduction link

https://github.com/creativetimofficial/soft-ui-react-native

Operating System

iOS

Device

iPhone 13 Pro Max

Browser & Version

15.1.1

Steps to reproduce

Open up the app in Expo
Open the Drawer navigator
Click on Rental
Click on the first deal
Click on Check Availability
Try and select a date on the availability page

What is expected?

It should open the date selector

What is actually happening?

TypeError: undefined is not an object (evaluating '_xdate.default.locales[_xdate.default.defaultLocale].today')


Solution

Additional comments

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.