File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,28 +70,7 @@ npm install react-native-nitro-share-intent react-native-nitro-modules
7070 ```
7171
7272### Android Setup
73-
74- 1 . ** Add to MainActivity.java/kt** :
75-
76- ``` kotlin
77- import com.margelo.nitro.nitroshareintent.NitroShareIntent
78-
79- override fun onCreate (savedInstanceState : Bundle ? ) {
80- super .onCreate(savedInstanceState)
81- // Your existing code...
82-
83- // Handle initial share intent
84- NitroShareIntent .instance.handleIntent(intent)
85- }
86-
87- override fun onNewIntent (intent : Intent ) {
88- super .onNewIntent(intent)
89- // Handle new share intents
90- NitroShareIntent .instance.handleIntent(intent)
91- }
92- ```
93-
94- 2 . ** Configure Intent Filters in AndroidManifest.xml** :
73+ ** Configure Intent Filters in AndroidManifest.xml** :
9574
9675 ``` xml
9776 <activity
You can’t perform that action at this time.
0 commit comments