r/reactnative • • Jan 19 '20

My new App "Avocation", entirely built with React Native

Post image
231 Upvotes

80 comments sorted by

38

u/Zwenza Jan 19 '20

I worked on Avocation for around six months.

You can check it out on iOS and Android: https://avocation.app/

Primary focus was the user experience, we wanted to create something which is fun to use and actually provides you a lot of value.

After researching a lot about habit development we came up with some mockups and later designed the first designs. Around one month later we (I) kicked of development and around five months later we published the app.

Now it's one month later and we got around 250 installations so far.

Since we released the app I started writing articles on Medium sharing what I learned during that time.

You can check them here: https://medium.com/@zwenza

These are the libraries I am currently using:

- react
- react-native
- react-native-circular-progress
- react-native-device-info
- react-native-gesture-handler
- react-native-haptic-feedback
- react-native-iap
- react-native-linear-gradient
- react-native-modal-datetime-picker
- react-native-push-notification
- react-native-reanimated
- react-native-screens
- react-native-splash-screen
- react-native-store-review
- react-native-svg
- react-navigation
- mobx
- mobx-persist
- moment
- lottie-react-native
- sentry/react-native

If you have any feedback or questions feel free to ask, I am happy to share!

2

u/rashmi1999 Jan 22 '20

Hi Zwenza, First of all, congratulations. your app looks absolutely stunning.

I want to develop a live trivia quiz app, I am new to react native, do u think it would be worth it if I choose react-native over expo? I mean can react-native support trivia live quiz app well?

2

u/Zwenza Jan 22 '20

Hey! Thanks a lot! πŸ™‡β€β™‚οΈ

You can definitely do something like that in React Native. Expo is still React Native but makes a lot of things, like using native SDKs much easier. In our case I had to go and get rid if Expo for all the custom stuff we did to provide the user experience we imagined!

For starters Expo can help you out a lot, but if you strive for perfection you most likely need to eject your Expo app.

2

u/rashmi1999 Jan 23 '20

Thanks for the reply. Now I have clarity on this. I will work on it very soon and wish you all the best for your future projects.

1

u/[deleted] May 22 '20

How can I edit or delete a habit that I created?

1

u/Zwenza May 22 '20

Hey! You can do that in the settings under β€œUpdate habits”

17

u/autumn-goodbye Jan 20 '20

The illustrations are so cute! Did you do them yourself or hire someone?

22

u/Zwenza Jan 20 '20

All done by my girlfriend πŸ’ͺ She did a fantastic job with those!

11

u/dworker8 Jan 20 '20

they usually say to marry someone that completes you, someone good in design is perfect for uncultured swine programmers like us :D

4

u/[deleted] Jan 20 '20

Does your girlfriend have an etsy account? She is very talented. I love that style. I'd love to commission her to produce a few illustrations and icons for an upcoming project.

-5

u/ar1st3ch Jan 20 '20

Is your girlfriend single? (Fantastic work ;) ) Is she available if I need some icons?

8

u/viniciusLouzada Jan 19 '20

Great app dude!! Gorgeous UI!! Keep up with the good work!!!

3

u/Zwenza Jan 19 '20

Thank you πŸ™‡β€β™‚οΈ

5

u/idklelpls Jan 20 '20

It's astonishing how just 2 people can achieve this together! Love the app, love the UI and illustrations! 😍πŸ₯³ Amazing job, keep it up you two!

3

u/Zwenza Jan 20 '20

Thank you so much! Comments like that really mean a lot to us, after all the work we put in the last months πŸ™‡β€β™‚οΈπŸ™Œ

4

u/barakcodes Jan 19 '20

A link to it would be great. But the UI looks great so far!

3

u/Zwenza Jan 19 '20

Looks like you were a bit too fast, posted it now! https://avocation.app

1

u/barakcodes Jan 19 '20

Great lemme check it out!

3

u/barakcodes Jan 19 '20

It looks amazing!!like the UI so far! how's the app size that small?if I may ask

5

u/Zwenza Jan 19 '20

Thanks, really appreciate that πŸ™‡β€β™‚οΈ

Well for all the drawings and icons I use react-native-svg which keep the file size super low even though we have a ton of habit icons and quite a few drawing.

For the animations I use Lottie which allows you to run bodymovin animations which are basically super huge json files, which are super tiny compared with anything else.

All of this combined kept the file size pretty low which is always great for the user!

One drawback I experienced with approach though are low-end Android devices. They struggle rendering complex svgs performant, so the header images in the lessons are pngs because it took for ever to render them.

1

u/barakcodes Jan 19 '20

Thanks I'll try and do some of that.

3

u/sassani134 Jan 19 '20

Darn, I can't download it in France 😒

5

u/Zwenza Jan 19 '20

Yeah this is really unfortunate, during our research we found out that the name is protected by someone in France who has a trademark for that industry on it. So for now we wanted to be save and do not distribute the app in France to avoid legal problems πŸ˜•

1

u/Nemeesiis68 Jan 20 '20

Is it possible to upload the app to F-droid ? So we can download it ?

2

u/PixoDev Jan 19 '20

Do you have any tutorial reference or any code snippet? In our app we use react-native-iap too, but it works kinda weird, the transaction listener calls multiple times for example and we don’t know why, did you face this too?

3

u/Zwenza Jan 19 '20

I will share some snippet tomorrow, maybe I can help you out!

1

u/PixoDev Jan 19 '20

Thanks! If you need help with some native stuff here I am

1

u/ghost__-__ Jan 20 '20

I want to use React native to build an app and want to give a voice interface also with Alexa. I understand I can do this with Alexa Voice Services SDK but don't know how...I have been through their documentation page but couldn't figure out much.

1

u/PixoDev Jan 20 '20

I don't know if there are any react-native library to do that, if not you will need to use native modules and expose the methods you need to your JS code so you can communicate with the native side

https://facebook.github.io/react-native/docs/native-modules-ios

2

u/mcfliermeyer Jan 20 '20

Beautiful design and perfectly intuitive. I’m learning rn currently and keeping this as goals. Awesome stuff

1

u/Zwenza Jan 20 '20

Thanks a lot! All the best learning RN! πŸ’ͺ

2

u/marius4896 Jan 20 '20

Congratulations, very nice app, very clean design, the mascot is very nice, and the product all together

1

u/Zwenza Jan 20 '20

Thanks!

2

u/[deleted] Jan 22 '20

I don't know what's more impressive: the app itself, or the fact that you did this with your girlfriend. There are so few things in this world that I envy ... I didn't even realize that.

Mate, congratulations on this beautiful app. I've never used an app like this before, but the sheer beauty of the design -- and perhaps the story behind its inception -- is enough to make me go download this right now and just use it for no other reason than appreciation for its aesthetic. Congrats again!

2

u/Zwenza Jan 22 '20

Thanks for this very nice message!

Feels good that people like what we spent so many hours on, doing something we really love!

Have fun using the app! Would like to hear if it helped you after sometime!

2

u/eguillen91 Jan 25 '20

Hi, First I would to said nice Job, really I liked it. Second, I would like to know if you used some boilerplate like Ignite or you start a new project using only React Native CLI, I hope you can answer this, because I think this is the first problem when a programmer start a new project.

1

u/Zwenza Jan 25 '20

I used no boilerplate for Avocation. It’s already the second app I built with React Native so some of the set up I copied, but most of it is all set up manually in the process!

2

u/[deleted] Jan 28 '20

This is really impressive! Love the UI. Super friendly. Great work!

1

u/Zwenza Jan 28 '20

Thanks!

2

u/smccullochf5 Jan 19 '20

How did you do the big center button in the bottom navigation?

12

u/Zwenza Jan 19 '20

I use react-navigation for navigation, and in there I use the createBottomTabNavigator method to create Tab-Navigator. createBottomTabNavigator accepts a prop called tabBarComponent which basically allows you to use any component you like as a bottom navigator.

Then I built this component with a few icons and the big main button which is basically absolute positioned circle with some fancy scale animation when you touch it.

1

u/smccullochf5 Jan 19 '20

Thank you!

1

u/iC-Sharp Jan 19 '20

How many people worked on this? It looks amazing.

Is there a plan to monetize it?

7

u/Zwenza Jan 19 '20

In total we are 2, my girlfriend and me!

We did all the planning together, as well as the design. All illustration and animations were built by my girlfriend and I took care of all the coding!

We are already monetising it! Avocation is a free app but there is a membership to unlock more than five habits and more colors. We will also soon release an update with monthly statistics which will be payed as well.

Also we offer a way to support us by buying custom pots for the plant you can grow, where you can choose your own price because this is more like a tip jar!

3

u/_rascal Jan 20 '20

Just curious, is this a full-time gig for you both or is it a side hustle? Very impressed if it’s your side hustle and you did it in 6 months!

2

u/Zwenza Jan 20 '20

This is a side hustle! I am working as a full-time programmer and my girlfriend is doing her studies. So after work I usually spent 1 to 5 hours doing the app, depending on the day πŸ™ƒ

2

u/dworker8 Jan 20 '20

hey, I know this app called avocation, it can help both of you stay in focus of your objectives! if you're note in France you should totally git it a try!

1

u/iC-Sharp Jan 19 '20

You guys Rock! Keep up the good work.

It’s really really pretty and has a super professional look.

Congrats!

1

u/Zwenza Jan 20 '20

Thanks a lot πŸ™‡β€β™‚οΈ

1

u/OMDB-PiLoT Jan 19 '20

All those icons, illustrations are superb!!!! Love the UI. Although I'm trying to get my head around "pot" concept in the app. I think it grows as you move along with your habits? Not sure if I will ever keep up with my habits tbh, but well done on this project overall.

1

u/Zwenza Jan 20 '20

Yes you are right! Once you do one of your habits for the day the plant will grow 🌱 We are planning to make a plant for each of your habit later on where you can see individual progress much better but this is our first version for the MVP

1

u/rdevilx iOS & Android Jan 20 '20

It's a beautiful application. I've a question though, when you click on the monthly subscription button. Loading indicator is shown on both the buttons (monthly and yearly). Is that the required behaviour?

1

u/Zwenza Jan 20 '20

This is indeed a bit weird. I did it to avoid that you click another button while the purchase is loading to avoid weird conflicts. But it could be confusing now that you made me think about it again! Will update that later on

1

u/rdevilx iOS & Android Jan 20 '20

Okay, you could disable both the buttons and show loading indicator on the one which was clicked. (disable but don't make it gray or idk make it gray) your call.

1

u/Zwenza Jan 20 '20

Yes sounds good πŸ‘ Thanks!

1

u/c-sparks Jan 20 '20

Nice work! For the iconography, did you have a designer make those or did you do them yourself?

2

u/Zwenza Jan 20 '20

All icons and illustrations are done by my girlfriend πŸ‘

2

u/frozenxis Jan 20 '20

Marry her.

1

u/[deleted] Jan 20 '20

Love the app. Great illustrations! You two made a great team. Did you guys worked on it full time? Or beside regular work?

2

u/Zwenza Jan 20 '20

Thanks for the nice feedback! πŸ™‡β€β™‚οΈ We worked on Avocation beside our regular work. For around half a year 1-5 hours a day, depended on how much energy we had left πŸ˜… We made sure thought to have some break every couple of days to not burn out πŸ˜„

1

u/[deleted] Jan 20 '20

Is your project open source? I'd love to learn from what you have going on.

2

u/Zwenza Jan 20 '20

Avocation is not open-source, but I already started sharing a lot of the problems I solved during the development on my Medium !

1

u/amir129 Jan 20 '20

Great UI and nice app. Question. SVG is slower than PNG. Did you find any performance issues. Also, did you use sketch or some tool to design vector based layout?

1

u/Zwenza Jan 20 '20

Thanks! Yes I encountered issues with SVGs on low-end android devices. My solution was to replace complex svgs with PNGs, so some of the images are actually images but most of them are SVGs.

We used Adobe Xd for our screen design and Illustrator for the vector graphics!

1

u/s2rave Jan 20 '20

Great work! Love the illustrations :D

1

u/Zwenza Jan 20 '20

Thanks! Glad you like it! πŸ™Œ

1

u/oxmoron Jan 21 '20

Great job! Everything looks polished and well thought after. Couple of questions:

  • How did you make sure styling and sizing stayed constant across screen sizes? Did you set all constant heights and widths to percentages of the screen dimensions?

  • What was your testing strategy? Did you test on different OS versions, test on emulators as well as actual hardware?

1

u/Zwenza Jan 21 '20

The styling is all built variable, so there are almost no fixed sizes at all. Most of the layouting is done with flexbox of course and also a bunch of percentage value.

For testing I usually built stuff in the iOS simulator or on my iPhone because it was the fastest. Then I always made sure to test it on a iPhone5S simulator for the small screen sizes and run it in a Android simulator as well. Afterwards I usually published a internal test build to iOS and Android to let the voluntary testers look at it as soon as possible as well.

This worked pretty well so far, but there is also a lot of improvement possible e.g. make it iPad ready and support landscape mode. But this is all stuff for the future πŸ™ƒ

1

u/amir129 Jan 21 '20

I would like to know as well above two points

1

u/PixoDev Jan 19 '20

Hi, awesome app and UI!

I was wondering, it was too much pain to implement IAP?

2

u/Zwenza Jan 19 '20

To be honest: yes it was kinda πŸ˜… The library I used is quite good though, but you need to learn about how all these test accounts work and test all the cases like unsubscribing users, restoring payments, etc...

But I think this is not worse in React Native then Native apps.

2

u/[deleted] Jan 20 '20

This is so great

1

u/Reque242 Jan 20 '20

This is awesome, congrats to both of you! Hope all the hard work pays off, best wishes

1

u/iamzamek Jan 20 '20

Any contact to your GF? I would hire her to my projects.

1

u/rottley1987 Jan 20 '20

Cool 😎

1

u/hkniyi Jan 20 '20

In case you have any reason to leave that your girlfriend - pls beep me ASAP...

1

u/darkziosj Jan 21 '20

Hi im a react native noob, how did you created those little bars that fill up? thanks looks awesome.

1

u/numice Jan 21 '20

Did you use some sort of managed workflow like expo?

1

u/CookieDoeda Jan 21 '20

Looks pretty nice!

Does your girlfriend accept design request, I'll pay her of course. If so PM me.

1

u/inoslaxman Jul 01 '22

Hi, I was looking for a habit app a few days ago and remembered seeing this post 2 years ago when you first made it. Downloaded the app and loving it a lot so far! Wondering if you'd be willing to do an AMA anytime soon on what challenges you faced when creating and marketing this app?