React native application release testing using xcode

Hello Friends 👋, Welcome To Infinitbility! ❤️ This article explains how to test react native ios apps using Xcode. we have to change some configuration for testing in release mode and the below steps explain configuration changes with a screenshot. Steps open xcode menu and click on Product tab. Select Schema -> Edit Schema Select Run tab and change build configuration Debug to Release Select your appropriate simuletter, Clean build follder your project, and Run your application....

April 13, 2021 Âˇ 1 min Âˇ Infinitbility

how to force Laravel to use https in URL and assets

Hello Friends 👋, Welcome To Infinitbility! ❤️ using the URL() helper is great for creating full HTTP links, I use this for all links, when working locally HTTP is fine but when going Production you want to use https instead. Replace Your app\Providers\AppServiceProvider.php from below code using this code Laravel on production force helper to use https URL. <?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Routing\UrlGenerator; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services....

April 5, 2021 Âˇ 1 min Âˇ Infinitbility

Expiring Daemon because JVM heap space is exhausted In React Native

Hello Friends 👋, Welcome To Infinitbility! ❤️ You are seeing multiple times ‘Daemon will be stopped at the end of the build after running out of JVM memory’ and ‘Expiring Daemon because JVM heap space is exhausted’ then you need to improve your JVM heap memory. Follow the below steps and crack your error. Solution 1 Step 1: Increase Your Heap Size Add dexOptions in your android/app/build.gradle android { ... dexOptions { javaMaxHeapSize "4g"infinitbility.github.io } ....

April 4, 2021 Âˇ 2 min Âˇ Infinitbility

gatsby build generating javaScript bundles failed

Hello Friends 👋, Welcome To Infinitbility! ❤️ when you try to build and getting Generating JavaScript bundles failed issue like below log failed Building production JavaScript and CSS bundles ERROR #98123 WEBPACK Generating JavaScript bundles failed Can’t resolve ‘..........\www\public\static\d\2424643845.json’ in ‘project\Navigation’ File Navigation file path. follow below commands to solve you building failed issueinfinitbility.github.io First clean your project using below command $ gatsby clean After clean gatsby project run build command...

March 31, 2021 Âˇ 1 min Âˇ Infinitbility

refused to display 'url' in a frame because it set 'x-frame-options' to 'sameorigin'

Hello Friends 👋, Welcome To Infinitbility! ❤️infinitbility.github.io The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame>, <iframe>, <embed> or <object>. Sites can use this to avoid click-jacking attacks, by ensuring that their content is not embedded into other sites. The added security is provided only if the user accessing the document is using a browser that supports X-Frame-Options....

March 31, 2021 Âˇ 1 min Âˇ Infinitbility

How to select and upload video in react native

Hello Friends 👋, Welcome To Infinitbility! ❤️ In this article, we create react native application to select and upload videos from the user’s library. We use react native image picker to select video from user gallery.infinitbility.github.io Table Of Content Create React native application Install react native image picker implement select video from the user library upload a video using fetch complete Example to select & upload video in react native Let’s start with create react native application...

March 27, 2021 Âˇ 6 min Âˇ Infinitbility

Network request failed in react native fetch

Hello Friends 👋, Welcome To Infinitbility! ❤️ Getting error TypeError Network request failed in android, ios, or with SSL server then read all below cases.infinitbility.github.io In this article, we solve 3 cases of network request failed issue in react-native but your condition does not match with the below mention cases then comment below on the article. Case 1: http url not working in android if you are trying to call HTTP ( unsecured ) url then you have to add usesCleartextTraffic to your AndroidManifest....

March 15, 2021 Âˇ 3 min Âˇ Infinitbility

how to open any link from react native render Html

Hello Friends 👋, Welcome To Infinitbility! ❤️ React native render HTML provides the feature to render anchor tag or link in your HTML content but you want the liinfinitbility.github.iohen you have to some extra stuff. We know when we want to open any link from react native app we use react native linking to redirect the app to the browser and open the URL. So, we have to do the same thing here also for open URLs or you want to click on the link....

February 26, 2021 Âˇ 3 min Âˇ Infinitbility

React Native image picker launchimagelibrary on second time issue

Hello Friends 👋, Welcome To Infinitbility! ❤️ React Native image picker launchimagelibrary doesn’t open image gallery when click second time in iOS. The below Solution only work for those users who calling launchimagelibrary function from the modal Issue criteria launchimagelibrary working first time onlyinfinitbility.github.io Solution Call launchimagelibrary function after close modal + 1 second delay. delay example delay = (ms) => new Promise((res) => setTimeout(res, ms)); launchimagelibrary example async selectUmage () { await this....

February 22, 2021 Âˇ 3 min Âˇ Infinitbility

Laravel Clear cache, config, view and Routes

Hello Friends 👋, Welcome To Infinitbility! ❤️ Sometimes we faced Caching issues related to cache, config, view, and route. no effect of Hard and soft refreinfinitbility.github.iol learn how to clear cache from Laravel for all modules. Caching configuration helps with combining all of the configuration options for your application into a single file which will be loaded quickly by the framework. Clear Cache Using Laravel’s Cache is a great way to speed up frequently accessed data in your application....

February 6, 2021 Âˇ 3 min Âˇ Infinitbility

React Native commands you need almost every day

Hello Friends 👋, Welcome To Infinitbility! ❤️ In this article, You already familiar with every command I have shared the article but the purpose article is toinfinitbility.github.ioommands in a single article. For Windows users, 🔖 bookmark this article then you do not need to write a command every time. ( windows cmd can’t ❌ save the history of commands ) Let’s start today topic “React Native commands you need almost every day”...

February 4, 2021 Âˇ 3 min Âˇ Infinitbility

How to deploy nodejs application subdirectory level in apache ubuntu

Hello Friends, Welcome To Ininfinitbility.github.io In this Article, we deploy nodejs application subdirectory level in apache ubuntu server. here you get complete tutorial to deploy, setup, and run node js project in apache server. let’s start with subdirectory. what is Subdirectory url level? Some people also say sub url or custom url. subdirectory come after core domain.infinitbility.github.io Take below example. here https://infinitbility.github.io is core domain & category is a subdirectory url....

February 1, 2021 Âˇ 3 min Âˇ Infinitbility

React Native Share

Hello Friends, Welcome To Infinitbility! In this tutorial, we create react native app with share funtionallity of image, file, and text using react native share example. This Article Part of React Native Tutorial Series want to start from scrach follow below link https://infinitbility.github.io/react-native/table-of-contentsinfinitbility.github.io Installing Install react native share package. for npm users npm install react-native-share --save for yarn users yarn add react-native-share *** Install dependencies ( only for iOS )***...

January 30, 2021 Âˇ 9 min Âˇ Infinitbility

Image not showing in ios 14 react native

Hello Friends, Welcome To Infinitbility! You react native image component not rendering images in iOS 14 then you have to change react-native nodeinfinitbility.github.ioatch packages. Here, I don’t recommend changing your node_modules because you may forget to change when setup another machine or in deployment. patch packages solution get from GitHub after hours of scrolling & researching. In this article, I am sharing solutions to solve the image rendering issue using patch packages....

January 22, 2021 Âˇ 3 min Âˇ Infinitbility

Laravel Model

Hello Friends, Welcome To Infinitbility! In this article, we can create a model in laravel and use it in the controller with an example. This article only explains the required things to learn and use laravel model.infinitbility.github.io Model Eloquent models allow you to insert, update, and delete records from the table as well. Eloquent Laravel use Eloquent, When using Eloquent, you have to create a separate model for each table....

January 20, 2021 Âˇ 2 min Âˇ Infinitbility

CSS Combinators

Hello Friends, Welcome To Notebility! A combinator is something that explains the relationship between the selectors.infinitbility.github.io There are four different combinators in CSS: descendant selector (space) child selector (>) adjacent sibling selector (+) general sibling selector (~) To understand the all >,+,~ sign in css to what is the meaning and how to use it in css.let us take a sample code to understand the signs. <div class="container"> <p>Parent element</p> <div> <p>Child element</p> </div> <p>Parent element</p> <p>Parent element</p> <p>Parent element</p> </div> 1) Descendant selector (space) ....

January 15, 2021 Âˇ 2 min Âˇ Notebility

What is Brute force Attack & How to prevent Brute force Attack?

Hello Friends, Welcome To Notebility!infinitbility.github.io What are Brute Force Attacks? A brute force attack is a trial and error method to get a login to the system or account. In this method, hackers try to guess the password. They try to guess passwords and try every combination hoping to guess correctly. The word ‘brute force’ means they try excessive forceful attempts they try every attempt to enter your private accounts. A common threat web developers face is a password-guessing the attack is known as a brute force attack....

January 14, 2021 Âˇ 7 min Âˇ Notebility

how to disable drawer on the drawer navigation screen?

Hello Friends, Welcome To Infinitbility! Many people want to disable or block the drawer on a specific drawer navigation screen and you are also one of those then follow the below example to save your hour. React Navigation blocked drawer when use drawerLockMode you can’t access the drawer anymoreinfinitbility.github.io Note: you can’t use openDrawer() and closeDrawer() also example : { screen : ExampleScreen, navigationOptions: ({navigation}) => ( { drawerLockMode: 'locked-closed' } ) }, React Navigation disable gesture disable gesture only affect gestures only like swipe left and many more....

January 12, 2021 Âˇ 2 min Âˇ Infinitbility

Crontab Documentation

Hello Friends, Welcome To Infinitbility!infinitbility.github.io Today, we are going to learn how to setup crontab on windows, mac, ubuntu. cronjob types ( Command, and url ) cron schedule expression examples. what is cron? Cron is a time-based job scheduling daemon found in Unix-like operating systems, including Linux distributions. Cron runs in the background and tasks scheduled with cron, referred to as “cron jobs,” are executed automatically, making cron useful for automating maintenance-related tasks....

January 9, 2021 Âˇ 9 min Âˇ Infinitbility

React native material dropdown twice click issue

Hello Friends, Welcome To Infinitbility! Many times we use react native material dropdown to show picker but when we use multiple dropdowns on the same screen getting the issue of click. click issues arise due to some time scrollview or sometimes textinput. Solution 1 when you have multiple dropdowns and facing twice click issueinfinitbility.github.io add below attribute on your dropdown element. <Dropdown ... keyboardShouldPersistTaps={'always'} /> Solution 2 when you have getting issue after come from textinput....

January 4, 2021 Âˇ 2 min Âˇ Infinitbility