{"id":4786,"date":"2021-12-08T14:37:00","date_gmt":"2021-12-08T06:37:00","guid":{"rendered":"https:\/\/www.enablex.io\/developer\/?page_id=4786"},"modified":"2021-12-08T14:47:01","modified_gmt":"2021-12-08T06:47:01","slug":"video-embed-with-react-native-app","status":"publish","type":"page","link":"https:\/\/doc.smartflomeet.ttns.in\/developer\/video\/low-code-video-embed\/video-embed-with-react-native-app\/","title":{"rendered":"Low Code Video Embed with React Native App"},"content":{"rendered":"\n<p>To use Low Code Video Embed with your React Native App, follow the Steps given below:<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4>Step#1 <\/h4>\n\n\n\n<p>Install expo-permission by using following command:<\/p>\n\n\n\n<p><code>expo install expo-permissions<\/code><\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4>Step#2<\/h4>\n\n\n\n<p>Use the function given below to get Media Device permission before loading the view:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">async function loadPermission () {\n\ttry {\n\t\tconst {granted} = await permission.askAsync(\n\t\t\tpermission.CAMERA,\n\t\t\tpermission.AUDIO_RECORDING\n\t\t);\n\n\t\tif(granted) {\n\t\t\t\/\/ Device Access available. To code further\n\t\t} else {\n\t\t\t\/\/ Device Access not available. Code to handle\n\t\t}\n\t} catch(error) {\n\t\talert(error);\n\t}  \n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To use Low Code Video Embed with your React Native App, follow the Steps given below: Step#1 Install expo-permission by using following command: expo install expo-permissions Step#2 Use the function given below to get Media Device permission before loading the view: async function loadPermission () { try { const {granted} = await permission.askAsync( permission.CAMERA, permission.AUDIO_RECORDING ); if(granted) { \/\/ Device Access available. To code further } else { \/\/ Device&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2363,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ub_ctt_via":""},"featured_image_src":null,"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"featured":false,"featured-large":false},"uagb_author_info":{"display_name":"vcxdevwpadmin","author_link":"https:\/\/doc.smartflomeet.ttns.in\/developer\/author\/vcxdevwpadmin\/"},"uagb_comment_info":0,"uagb_excerpt":"To use Low Code Video Embed with your React Native App, follow the Steps given below: Step#1 Install expo-permission by using following command: expo install expo-permissions Step#2 Use the function given below to get Media Device permission before loading the view: async function loadPermission () { try { const {granted} = await permission.askAsync( permission.CAMERA, permission.AUDIO_RECORDING&hellip;","_links":{"self":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/4786"}],"collection":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/comments?post=4786"}],"version-history":[{"count":0,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/4786\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/2363"}],"wp:attachment":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/media?parent=4786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}