Commit 7cb2c16a authored by Prakhar Agrawal's avatar Prakhar Agrawal
Browse files

Update readme.md

parent 3ab3ecb9
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -13,7 +13,20 @@ Pass signing URL in url key.
	//REQUEST_CODE is your constant, which is used to identify particular activity.
	```

#### Note: It is recommended to start signing process by using startActivityForResult instead of startActivity to receive the response/error. 
### Note: 

1. It is recommended to start signing process by using startActivityForResult instead of startActivity to receive the response/error. 
2. If you are using captureLocation, capturePhoto parameter in API. You have to take following permission from the user. These are runtime permissions if you dont take following permission Leegality will not be able to capture Location & Photo of user.
    ```
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    ```
3. If you are using captureLocation, capturePhoto parameter in API. Your android application should be atleast at version 21.
4. If you want to autofill Leegality OTP and NSDL/CDAC OTP at the signing page. You have to take following permission from the user. These are runtime permission if you dont take following permission user have to fill all OTP's manually.
    ```
    <uses-permission android:name="android.permission.READ_SMS" />
    <uses-permission android:name="android.permission.RECEIVE_SMS" />
    ```

### Result: ###