Skip to content

Commit

Permalink
release v2.0.0-alpha.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarahm-ed committed Jul 22, 2023
1 parent b0e3cb0 commit ef7ba1e
Show file tree
Hide file tree
Showing 14 changed files with 39 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/extending-main-application-and-app-delegate.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Extending MainApplication &amp; AppDelegate</title><meta name="description" content="Documentation for Extending MainApplication &amp; AppDelegate"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="/assets/normalize.97087844201bf696.css">
<link rel="stylesheet" type="text/css" href="/assets/light.146e7c3d06d34520.css">
<link rel="stylesheet" type="text/css" href="/assets/dark.e5addf511eda33f2.css">
<link rel="stylesheet" type="text/css" href="/assets/style.c1e8b00faa060413.css"><script>var DOCGEN_TIMESTAMP="1689275384";var BASE_PATH="/";window.onload=function(){document.body.classList.remove("preload")};document.addEventListener("DOMContentLoaded",function(){const a=document.querySelector(`.site-nav a[href="${document.location.pathname}"]`);if(a){const b=a.closest("li");if(b)b.classList.add("active");const c=a.closest("details");if(c){c.setAttribute("open",true)}}});function setColor(){const a=localStorage.getItem("docgen-color");if(a==="dark"){document.documentElement.classList.remove("light");document.documentElement.classList.add("dark")}else{document.documentElement.classList.remove("dark");document.documentElement.classList.add("light")}}setColor()</script><link rel="stylesheet" type="text/css" href="/custom.css" />
<link rel="stylesheet" type="text/css" href="/assets/style.c1e8b00faa060413.css"><script>var DOCGEN_TIMESTAMP="1689985052";var BASE_PATH="/";window.onload=function(){document.body.classList.remove("preload")};document.addEventListener("DOMContentLoaded",function(){const a=document.querySelector(`.site-nav a[href="${document.location.pathname}"]`);if(a){const b=a.closest("li");if(b)b.classList.add("active");const c=a.closest("details");if(c){c.setAttribute("open",true)}}});function setColor(){const a=localStorage.getItem("docgen-color");if(a==="dark"){document.documentElement.classList.remove("light");document.documentElement.classList.add("dark")}else{document.documentElement.classList.remove("dark");document.documentElement.classList.add("light")}}setColor()</script><link rel="stylesheet" type="text/css" href="/custom.css" />
</head><body class="preload"><label for="menu-toggle-switch" class="menu-toggle-button"></label><input type="checkbox" id="menu-toggle-switch" value="0"><div class="page"><div class="header"><div class="logo"><a href="/"><img src="/logo.png" alt="Open Native logo"></a><h2 class="project-title"><a href="/">Open Native</a><span class="project-subtitle">DOCS</span></h2></div><div class="search"><form id="search-form"><input type="text" id="search-box" autocomplete="off" placeholder="Search..."><span class="search-icon">S</span><ul id="search-results"></ul></form></div><div class="header-dummy-right"></div></div><div class="container"><div class="sidebar-left"><nav class="site-nav"><ul class="tree"><li><a href="/installation">Installation</a></li><li><a href="/install-module">Installing native modules</a></li><li><a href="/finding-modules">Searching for native modules</a></li><li><a href="/extending-main-application-and-app-delegate">Extending MainApplication &amp; AppDelegate</a></li><li><a href="/reference">API Reference</a></li><li><a href="/troubleshooting">Troubleshooting</a></li></ul></nav><span id="light-dark-mode-switch"><svg xmlns="http://www.w3.org/2000/svg" id="dark-mode-icon" viewBox="0 0 20 20" fill="currentColor"><path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" id="light-mode-icon" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" clip-rule="evenodd"></path></svg></span></div><div class="docgen-content"><h1 id="extending-mainapplication-appdelegate">Extending MainApplication &amp; AppDelegate</h1>
<p>There are some React Native modules that will require you to extend <code>MainApplication</code> on android or extend <code>AppDelegate</code> on iOS.</p>
<h2 id="extending-mainapplication-on-android">Extending MainApplication on Android</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/finding-modules.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Searching for native modules</title><meta name="description" content="Documentation for Searching for native modules"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="/assets/normalize.97087844201bf696.css">
<link rel="stylesheet" type="text/css" href="/assets/light.146e7c3d06d34520.css">
<link rel="stylesheet" type="text/css" href="/assets/dark.e5addf511eda33f2.css">
<link rel="stylesheet" type="text/css" href="/assets/style.c1e8b00faa060413.css"><script>var DOCGEN_TIMESTAMP="1689275384";var BASE_PATH="/";window.onload=function(){document.body.classList.remove("preload")};document.addEventListener("DOMContentLoaded",function(){const a=document.querySelector(`.site-nav a[href="${document.location.pathname}"]`);if(a){const b=a.closest("li");if(b)b.classList.add("active");const c=a.closest("details");if(c){c.setAttribute("open",true)}}});function setColor(){const a=localStorage.getItem("docgen-color");if(a==="dark"){document.documentElement.classList.remove("light");document.documentElement.classList.add("dark")}else{document.documentElement.classList.remove("dark");document.documentElement.classList.add("light")}}setColor()</script><link rel="stylesheet" type="text/css" href="/custom.css" />
<link rel="stylesheet" type="text/css" href="/assets/style.c1e8b00faa060413.css"><script>var DOCGEN_TIMESTAMP="1689985052";var BASE_PATH="/";window.onload=function(){document.body.classList.remove("preload")};document.addEventListener("DOMContentLoaded",function(){const a=document.querySelector(`.site-nav a[href="${document.location.pathname}"]`);if(a){const b=a.closest("li");if(b)b.classList.add("active");const c=a.closest("details");if(c){c.setAttribute("open",true)}}});function setColor(){const a=localStorage.getItem("docgen-color");if(a==="dark"){document.documentElement.classList.remove("light");document.documentElement.classList.add("dark")}else{document.documentElement.classList.remove("dark");document.documentElement.classList.add("light")}}setColor()</script><link rel="stylesheet" type="text/css" href="/custom.css" />
</head><body class="preload"><label for="menu-toggle-switch" class="menu-toggle-button"></label><input type="checkbox" id="menu-toggle-switch" value="0"><div class="page"><div class="header"><div class="logo"><a href="/"><img src="/logo.png" alt="Open Native logo"></a><h2 class="project-title"><a href="/">Open Native</a><span class="project-subtitle">DOCS</span></h2></div><div class="search"><form id="search-form"><input type="text" id="search-box" autocomplete="off" placeholder="Search..."><span class="search-icon">S</span><ul id="search-results"></ul></form></div><div class="header-dummy-right"></div></div><div class="container"><div class="sidebar-left"><nav class="site-nav"><ul class="tree"><li><a href="/installation">Installation</a></li><li><a href="/install-module">Installing native modules</a></li><li><a href="/finding-modules">Searching for native modules</a></li><li><a href="/extending-main-application-and-app-delegate">Extending MainApplication &amp; AppDelegate</a></li><li><a href="/reference">API Reference</a></li><li><a href="/troubleshooting">Troubleshooting</a></li></ul></nav><span id="light-dark-mode-switch"><svg xmlns="http://www.w3.org/2000/svg" id="dark-mode-icon" viewBox="0 0 20 20" fill="currentColor"><path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" id="light-mode-icon" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" clip-rule="evenodd"></path></svg></span></div><div class="docgen-content"><h1 id="searching-for-native-modules">Searching for native modules</h1>
<p>The best place to look for react native native modules is on Github. There are some directories such as <a href="https://reactnative.directory/?search=push+notification">react native directory</a> however I have always found it incomplete and missing many modules out there.</p>
<p>For example, let’s say you want to implement auth in your app and you need a native module for it. You can go to Github and search <code>react native auth</code>. Prefixing your search with <code>react native</code> will most often show up a module if it exists.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Getting Started</title><meta name="description" content="Documentation for Getting Started"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="/assets/normalize.97087844201bf696.css">
<link rel="stylesheet" type="text/css" href="/assets/light.146e7c3d06d34520.css">
<link rel="stylesheet" type="text/css" href="/assets/dark.e5addf511eda33f2.css">
<link rel="stylesheet" type="text/css" href="/assets/style.c1e8b00faa060413.css"><script>var DOCGEN_TIMESTAMP="1689275384";var BASE_PATH="/";window.onload=function(){document.body.classList.remove("preload")};document.addEventListener("DOMContentLoaded",function(){const a=document.querySelector(`.site-nav a[href="${document.location.pathname}"]`);if(a){const b=a.closest("li");if(b)b.classList.add("active");const c=a.closest("details");if(c){c.setAttribute("open",true)}}});function setColor(){const a=localStorage.getItem("docgen-color");if(a==="dark"){document.documentElement.classList.remove("light");document.documentElement.classList.add("dark")}else{document.documentElement.classList.remove("dark");document.documentElement.classList.add("light")}}setColor()</script><link rel="stylesheet" type="text/css" href="/custom.css" />
<link rel="stylesheet" type="text/css" href="/assets/style.c1e8b00faa060413.css"><script>var DOCGEN_TIMESTAMP="1689985052";var BASE_PATH="/";window.onload=function(){document.body.classList.remove("preload")};document.addEventListener("DOMContentLoaded",function(){const a=document.querySelector(`.site-nav a[href="${document.location.pathname}"]`);if(a){const b=a.closest("li");if(b)b.classList.add("active");const c=a.closest("details");if(c){c.setAttribute("open",true)}}});function setColor(){const a=localStorage.getItem("docgen-color");if(a==="dark"){document.documentElement.classList.remove("light");document.documentElement.classList.add("dark")}else{document.documentElement.classList.remove("dark");document.documentElement.classList.add("light")}}setColor()</script><link rel="stylesheet" type="text/css" href="/custom.css" />
</head><body class="preload"><label for="menu-toggle-switch" class="menu-toggle-button"></label><input type="checkbox" id="menu-toggle-switch" value="0"><div class="page"><div class="header"><div class="logo"><a href="/"><img src="/logo.png" alt="Open Native logo"></a><h2 class="project-title"><a href="/">Open Native</a><span class="project-subtitle">DOCS</span></h2></div><div class="search"><form id="search-form"><input type="text" id="search-box" autocomplete="off" placeholder="Search..."><span class="search-icon">S</span><ul id="search-results"></ul></form></div><div class="header-dummy-right"></div></div><div class="container"><div class="sidebar-left"><nav class="site-nav"><ul class="tree"><li><a href="/installation">Installation</a></li><li><a href="/install-module">Installing native modules</a></li><li><a href="/finding-modules">Searching for native modules</a></li><li><a href="/extending-main-application-and-app-delegate">Extending MainApplication &amp; AppDelegate</a></li><li><a href="/reference">API Reference</a></li><li><a href="/troubleshooting">Troubleshooting</a></li></ul></nav><span id="light-dark-mode-switch"><svg xmlns="http://www.w3.org/2000/svg" id="dark-mode-icon" viewBox="0 0 20 20" fill="currentColor"><path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" id="light-mode-icon" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" clip-rule="evenodd"></path></svg></span></div><div class="docgen-content"><div>
<img alt="open native logo" width="100%" src="open-native-logo-inverted.svg">
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/install-module.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Installing native modules</title><meta name="description" content="Documentation for Installing native modules"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="/assets/normalize.97087844201bf696.css">
<link rel="stylesheet" type="text/css" href="/assets/light.146e7c3d06d34520.css">
<link rel="stylesheet" type="text/css" href="/assets/dark.e5addf511eda33f2.css">
<link rel="stylesheet" type="text/css" href="/assets/style.c1e8b00faa060413.css"><script>var DOCGEN_TIMESTAMP="1689275384";var BASE_PATH="/";window.onload=function(){document.body.classList.remove("preload")};document.addEventListener("DOMContentLoaded",function(){const a=document.querySelector(`.site-nav a[href="${document.location.pathname}"]`);if(a){const b=a.closest("li");if(b)b.classList.add("active");const c=a.closest("details");if(c){c.setAttribute("open",true)}}});function setColor(){const a=localStorage.getItem("docgen-color");if(a==="dark"){document.documentElement.classList.remove("light");document.documentElement.classList.add("dark")}else{document.documentElement.classList.remove("dark");document.documentElement.classList.add("light")}}setColor()</script><link rel="stylesheet" type="text/css" href="/custom.css" />
<link rel="stylesheet" type="text/css" href="/assets/style.c1e8b00faa060413.css"><script>var DOCGEN_TIMESTAMP="1689985052";var BASE_PATH="/";window.onload=function(){document.body.classList.remove("preload")};document.addEventListener("DOMContentLoaded",function(){const a=document.querySelector(`.site-nav a[href="${document.location.pathname}"]`);if(a){const b=a.closest("li");if(b)b.classList.add("active");const c=a.closest("details");if(c){c.setAttribute("open",true)}}});function setColor(){const a=localStorage.getItem("docgen-color");if(a==="dark"){document.documentElement.classList.remove("light");document.documentElement.classList.add("dark")}else{document.documentElement.classList.remove("dark");document.documentElement.classList.add("light")}}setColor()</script><link rel="stylesheet" type="text/css" href="/custom.css" />
</head><body class="preload"><label for="menu-toggle-switch" class="menu-toggle-button"></label><input type="checkbox" id="menu-toggle-switch" value="0"><div class="page"><div class="header"><div class="logo"><a href="/"><img src="/logo.png" alt="Open Native logo"></a><h2 class="project-title"><a href="/">Open Native</a><span class="project-subtitle">DOCS</span></h2></div><div class="search"><form id="search-form"><input type="text" id="search-box" autocomplete="off" placeholder="Search..."><span class="search-icon">S</span><ul id="search-results"></ul></form></div><div class="header-dummy-right"></div></div><div class="container"><div class="sidebar-left"><nav class="site-nav"><ul class="tree"><li><a href="/installation">Installation</a></li><li><a href="/install-module">Installing native modules</a></li><li><a href="/finding-modules">Searching for native modules</a></li><li><a href="/extending-main-application-and-app-delegate">Extending MainApplication &amp; AppDelegate</a></li><li><a href="/reference">API Reference</a></li><li><a href="/troubleshooting">Troubleshooting</a></li></ul></nav><span id="light-dark-mode-switch"><svg xmlns="http://www.w3.org/2000/svg" id="dark-mode-icon" viewBox="0 0 20 20" fill="currentColor"><path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" id="light-mode-icon" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" clip-rule="evenodd"></path></svg></span></div><div class="docgen-content"><h1 id="what-are-native-modules">What are native modules</h1>
<p>If you haven’t used React Native to build apps before, the term “Native Modules” might seem completely new to you. <a href="https://reactnative.dev/docs/native-modules-intro">Native Modules</a> are like <a href="https://docs.nativescript.org/plugins/">NativeScript plugins</a>. They allow interacting with some native API or SDK or a Library through a simple and easy to use Javascript interface. For example you might want to access some bluetooth functionality or use a Google service like Firebase/Google Pay in your application.</p>
<h2 id="installing-native-modules">Installing native modules</h2>
Expand Down
Loading

0 comments on commit ef7ba1e

Please sign in to comment.