android mediaRecorder.setAudioSource failed

Add this two permission on manifest  [java] <uses-permission android:name="android.permission.RECORD_AUDIO" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> [/java] And make sure that permissions are granted. For marshmallow and later…

Android runtime permission – Read Phone State

Step 1 :  Add this uses permission in manifest [java] <uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission>[/java] As like this [java]</pre> <pre><?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.arifhasnat.automaticcallrecorder"> <uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission> <application…

React Native installation on Mac

Step one : First Visit this one http://arifhasnat.com/2018/08/10/react-native-1-installation-and-project-create/ Step two : Then open terminal and run this command to get react native command line [java] sudo…