DEV Community

Rakesh Purohit
Rakesh Purohit

Posted on

Github Actions for React-Native App

My Workflow

Building cross platform application with react native consumes time for android and iOS, both. Github actions allows to reduce it by writing or using existing workflows even for web. I have implemented for my react-native app to build android app. (find link below).

Submission Category: Phone Friendly

Yaml File or Link to Code

GitHub logo TheRakeshPurohit / VaccinfoApp

React Native App for Android and iOS to get Vaccine Availability Details by Pincode and notification

VaccinfoApp

React Native App for android and iOS to get Vaccine Appointment Availability Details by pincode and notification

Intall APK

Download APK

It will work for india only

Restrictions

Takes current date by default.

Pre-Requisites

  • buildToolsVersion = "29.0.3"
  • minSdkVersion = 21
  • compileSdkVersion = 29
  • targetSdkVersion = 29
  • ndkVersion = "20.1.5948944"

Tested on

Android 8 and 9

API for validating Pin Code

  • https://api.postalpincode.in/pincode/111111

API for getting slots

  • https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByPin?pincode=111111&date=02-05-2021

Libraries used

  • Fetch for API Call
  • React (17.0.1) & React Native (0.64.0)

https://docs.google.com/forms/d/e/1FAIpQLSd4mfZj9j-2vZiCnaIlAQOZhHoB1nBT9KSXlSC-5e5tl1-SHg/viewform?vc=0&c=0&w=1&flr=0&usp=mail_form_link




Top comments (0)