{"id":130961,"date":"2020-11-05T18:26:05","date_gmt":"2020-11-05T18:26:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/rnwp-app-template-config\/"},"modified":"2022-04-24T20:46:51","modified_gmt":"2022-04-24T20:46:51","slug":"rnwp-app-template-config","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/rnwp-app-template-config\/","author":16070388,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"trunk","tested":"5.9.13","requires":"1.0.0","requires_php":"7.0","requires_plugins":"","header_name":"RNWP App template config","header_author":"Mohamad Khaled","header_description":"Sets main parameters for X React Native template.","assets_banners_color":"","last_updated":"2022-04-24 20:46:51","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/paypalme\/mkhaledche","header_plugin_uri":"","header_author_uri":"https:\/\/boostrand.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":7684,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"mkhaledche","date":"2020-11-05 17:12:50"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2413425,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2413425,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2413425,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Choose supported post types and taxonomies","2":"Choose app colors","3":"Object to be copied to RNWP app template"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1128,1156,2429,155866,23853],"plugin_category":[],"plugin_contributors":[175679],"plugin_business_model":[],"class_list":["post-130961","plugin","type-plugin","status-publish","hentry","plugin_tags-android","plugin_tags-ios","plugin_tags-mobile-app","plugin_tags-react-native","plugin_tags-rest-api","plugin_contributors-mkhaledche","plugin_committers-mkhaledche"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/rnwp-app-template-config.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/rnwp-app-template-config\/assets\/screenshot-1.png?rev=2413425","caption":"Choose supported post types and taxonomies"},{"src":"https:\/\/ps.w.org\/rnwp-app-template-config\/assets\/screenshot-2.png?rev=2413425","caption":"Choose app colors"},{"src":"https:\/\/ps.w.org\/rnwp-app-template-config\/assets\/screenshot-3.png?rev=2413425","caption":"Object to be copied to RNWP app template"}],"raw_content":"<!--section=description-->\n<p>This plugin facilitates building a mobile app for your website on both Android and IOS platforms either with the help of <a href=\"https:\/\/www.codester.com\/items\/26420\/rnwp-react-native-template-for-wordpress-sites?ref=mkhaledche\">RNWP template<\/a> or through a custom template using the REST API routes and functionalities provided by this plugin.<\/p>\n\n<p>Through this plugin, a REST API to search over the post types chosen by the user is supported. The default WordPress REST API <code>{post_type}<\/code> route searches only through one post type. The default <code>search<\/code> route doesn\\'t return the post content. So this plugin registers a rest route that can search more than one post type and return the post title, content, and excerpt for all posts relevant to this search. The rest route can be accessed by going to this link: <code>your-website.com\/wp-json\/search\/v1\/search<\/code>.<\/p>\n\n<p>The search rest route has two parameters; the parameter <code>per_page<\/code> can be adjusted in the plugin admin dashboard. The <code>keyword<\/code> parameter shall be related to the search text.<\/p>\n\n<p>As the WordPress default, REST API limits the post query to 100 post objects. If the website has more than 100 posts to download, the user can adjust the plugin to download the number of posts he wishes and the limit can be more than 100 post objects.<\/p>\n\n<p>If the user is using Woocommerce, this plugin ensures the product categories and tags will have a REST API so that the app can access them.<\/p>\n\n<p>This plugin shall help the user of <a href=\"https:\/\/boostrand.gumroad.com\/l\/rnwp\">RNWP template<\/a> configure his mobile app preferences without the need to write code.<\/p>\n\n<p>The User can adjust the main URL for his app (will help for multilingual websites), post types or taxonomies to be shown, the number of posts per page, app custom texts (e.g. screen, settings, and notification messages), light and dark mode colors, contact details and social links, Admob settings and many other settings.<\/p>\n\n<p>After adjusting the website preferences, the user can copy the generated code to the app template and the app would be ready to be built.<\/p>\n\n<!--section=installation-->\n<p>You can follow this link for detailed instructions on how to use the plugin:\n<a href=\"https:\/\/boostrand.com\/configure-your-app-options-userconfig-js-file-and-rnwp-plugin\/\">Configure your App Options userConfig js file and RNWP plugin<\/a><\/p>\n\n<p>If you have any question, you can <a href=\"mailto:&#109;&#107;&#x68;&#x61;&#108;&#101;&#x64;.&#099;&#x68;&#x65;&#064;&#103;&#x6d;&#x61;&#105;&#108;&#x2e;c&#111;&#x6d;\">email me<\/a>.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20use%20this%20app%20if%20i%20don%5C%27t%20have%20the%20rnwp%20template%3F'><h3>Can I use this app if I don\\'t have the RNWP template?<\/h3><\/dt>\n<dd><p>If you need the custom search REST API or increase the REST API search query limit or add the <code>product_cat<\/code> and <code>product_tag<\/code> taxonomy archives to REST API, then this can be availed through the plugin even if you don\\'t have the RNWP template.<\/p><\/dd>\n<dt id='should%20i%20use%20the%20plugin%20or%20keep%20it%20activated%20on%20my%20website%20after%20i%20build%20the%20app%3F'><h3>Should I use the plugin or keep it activated on my Website after I build the app?<\/h3><\/dt>\n<dd><p>You can use the app without the plugin and you can configure the app then deactivate the plugin. However, this will have the following drawbacks:<\/p>\n\n<p>The plugin considers a search API that searches through all posts, pages and custom post types. If you need this functionality, then you\u2019d always need the API to be activated. Otherwise, you should change the plugin installed key to false in the userConfig.js file and choose only one post type to apply search on.\nIf you are using Woocommerce, this plugin ensures the product categories and tags will have a REST API so that the app can access them. If the plugin is uninstalled, they won\u2019t show in the app.\nThe default limit to the number of posts to be fetched by the REST API is 100, if you wish users download your posts or custom post types which are more than 100, you can choose the maximum number of posts to download. This plugin would modify this limit to the limit you wish. If you don\u2019t want to use the plugin but need this functionality, then you should consider adding a code doing this job on your website.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>First version<\/p>","raw_excerpt":"This plugin adds search functionality through REST API over all enabled post types and adjust the maximum numbers of posts to fetch through the REST A &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/130961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=130961"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mkhaledche"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=130961"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=130961"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=130961"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=130961"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=130961"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=130961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}