Skip to content

Commit fa315b5

Browse files
Increase initOrder of content provider (oblador#57)
`android:initOrder` provides the order in which the content provider should be instantiated, relative to other content providers hosted by the same process. When there are dependencies among content providers, setting this attribute for each of them ensures that they are created in the order required by those dependencies. The value is a simple integer, with higher numbers being initialized first. Source https://developer.android.com/guide/topics/manifest/provider-element With Firebase setting [100 as `initOrder`](https://github.com/firebase/firebase-android-sdk/blob/c56a9769b723bb96551ed2aa9fd3731e541ca018/firebase-common/src/main/AndroidManifest.xml#L28), we can use 200 here to run earlier in the process.
1 parent d056790 commit fa315b5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/react-native-performance/android/src/main/AndroidManifest.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
<provider
77
android:name=".StartTimeProvider"
88
android:authorities="${applicationId}.start.time.provider"
9-
android:exported="false" />
9+
android:exported="false"
10+
android:initOrder="200" />
1011

1112
</application>
1213

13-
</manifest>
14+
</manifest>

0 commit comments

Comments
 (0)