React Native Feedback Reporter v0.4.6: Easter Egg

Azim Ahmed
2 min readAug 20, 2021

--

I have been working on an open-source project called react-native-feedback-reporter. This package allows developers to add a tool to the react native app that allows testers to report bugs with some very useful information. To find out more, head over to the documentation or watch the introduction demo.

⚡ What’s new?

This release of RNFR brings two important changes:

  • 🐰 Easter egg: the capability to enable RNFR by pressing an element a certain amount of times and expiring user’s session based on days.
  • asyncStorage prop is now deprecated. RNFR has its own storage solution.

Additionally, there are some minor fixes and optimizations:

  • 🗒 Now the library only exports things that are needed by the devs.
  • 😊 Styled components declaration is removed. This was causing typescript errors on some apps.

🤔 How does it work?

Introducing useDeveloperOverride hook. This hook lets devs add an easter egg in the app to enable RNFR.

The default behavior is going to expect the user to tap on an element 10 times and the preference expires after 30 minutes of activation.

Now the user will have an easter egg in the app. They will be required to tap on an element 10 times to enable RNFR.

There are customization options available. Head over to the docs to learn more.

❓ Common Questions

Is there a way to expire user preference so that after enabling RNFR, the user can be timed out?

Yes, by default the session expires after 30 minutes of activation. This property is configurable.

Is it possible to change the number of times a user has to tap an element?

Yes, by default the user is required to tap 10 times. This property is configurable.

👋 Conclusion

I hope you enjoy this feature of RNFR and consider contributing or becoming a user.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Azim Ahmed
Azim Ahmed

No responses yet

Write a response