FAQs

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.

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>

I want list of icons with their names

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: TripAge uses Icons from React Native Vector Icons. Hence the collection of icons from Vector Icons holds good with that in TripAge.

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 the mobileApp's.

Can we buy only specific parts of TripAge? like end user app only 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 you can add food ordering or wholesale products delivery.

How fare is calculated?

We have used Google Distance api to calculate the time & distance from the source to destination . Depending on that we apply the formula Trip Fare = (KMs Travelled * cost per KM)/1000 You can alter the logic as per what you require. Currently we deduce the amount based on the trip ending point & time . BaseFare & Other credentials can be configured from TripAge/src/config/estimate.

Do you have types of vehicles?

We have used different types of vehicles which you can change from src/data/cabs.

None of the above mentioned

The above-listed FAQs were not of your help? Facing some other issues? Solution: We welcome all your issues. Feel free to raise issues on GitHub. Please go to the Git Flow to report issues.