FAQS

FAQs

How to override style in NativeBase?

I didn't find a way to override style. How can I include React StyleSheet into my app? Solution: NativeBase is built on top of React Native. Hence with any component, you can pass the style property which will be merged into the default style of that component. Example:

<Button style={{backgroundColor: '#FF0000'}}>
Click me!
</Button>

How do I add events with the components?

What events are available for the components? Example buttons, list items etc. Solution: The NativeBase components are built on top of React Native components. Hence the callback events of React Native holds good with NativeBase components. Example: The Button component is actually a wrapper of the TouchableOpacitycomponent of React Native. So you can just use the onPress callback function for event handling. Refer the cheatsheet for more details.

How to customize components of NativeBase?

I didn't find a way to customize the default styles of NativeBase components. Solution: NativeBase provides a separate file inclusive of color schemes for all components. Go through Customize section of docs.

I want list of icons with their names used in NativeBase

Docs says Choose from 700+ Icons I want the complete list of icons containing the name and image of the icons that are ready to use. Solution: NativeBase uses Icons from React Native Vector Icons. Hence the collection of icons from Vector Icons holds good with that in NativeBase.

How do I extract files in Windows?

I want to extract files in Windows. Solution: • Unzip the file. • Right click on the extracted file and select View files. All the files will be extracted.

How we can add other payment method ?

By default, we are providing you with the Stripe payment gateway and Paypal payment gateway, but you can add payment method your choice .You need to change the logic in backend & the mobileApp's.

Can we buy only specific parts of Enatega app backend? like api server etc.

No, we don't provide any specific part of the code base . As our code base is coupled with each other .

How else can i use this product?

You can use this app to build various other apps of same kind of variation for example instead of food you can add any other item that you want for example food ordering app can be a rice ordering app by changing names of items and images.

Does it support localization?

Yes, it supports localization or multi language support. Currently supported language on both mobile app and web dashboard are English, German, French, Khmer and Chinese. More languages can be added on request.

How to add other events in Amplitude?

In Mobile App you need to call Amplitude dashboard api for different variation of actions that you want.

How is the order tracked?

When an order is made the order notification is sent to admin dashboard from where he can accept or cancel the order. The user is notified in the mobile app that is push notification.

What is Amplitude dashboard?

Amplitude dashboard gives you analytics for your mobile app, for the actions that you require. Right now analytics will be shown for user created, user logged in and order placed but you can add as much actions as you want.

How is payment Setup with Expo?

For Payments we have used two of the most popular Gateways Paypal and Stripe. For both payment Gateways WebView is used to integrate payment. Paypal and Stripe have been configured by us to support multiple currencies dynamically that is currencies entered from Web Dashboard. They both function by showing the user checkout page in WebView a token is generated after the user performs payment successfully that is in Stripe. In Paypal the process is different which is described in the links below.

Last updated