Skip to content

Commit

Permalink
Merge pull request #85 from paulisidore/PrecisionInReadMe
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
carsten-klaffke authored Oct 25, 2023
2 parents eda04ea + f671eef commit 47b200b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,25 @@ SendIntent.checkSendIntentReceived().then((result: any) => {
Configure a new activity in AndroidManifest.xml!

```xml
<!-- Your actual activity declaration -->
<activity
android:name="de.mindlib.sendIntent.SendIntentActivity"
android:name=".MainActivity"
...
...
...>
</activity>

<!-- Add new One Activity for handle Intent here -->
<activity
android:name="de.mindlib.sendIntent.SendIntentActivity" <!-- Do not change this name, otherwise your application will crash -->
android:label="@string/app_name"
android:exported="true"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />

<!-- Depending on your project, you can add here the type of data you wish to receive -->
<data android:mimeType="text/plain" />
<data android:mimeType="image/*" />
<data android:mimeType="application/*" />
Expand Down

0 comments on commit 47b200b

Please sign in to comment.