Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated README.md for runtime error unable to get provider androidx.s… #3140

Open
wants to merge 2 commits into
base: development
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

<p float="left">
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_1.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_2.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_2.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_3.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_4.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_5.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_5.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_6.png" width="288" />
</p>

Expand Down Expand Up @@ -120,6 +120,21 @@ Before you begin, you should have already downloaded the Android Studio SDK and

9. If the app was built successfully, you can test it by running it on either a real device or an emulated one by going to *Run > Run 'app'* or pressing the Run icon in the toolbar.

- *Note:* Disable automatic initialization for all components in case of runtime error `Unable to get provider androidx.startup.InitializationProvider` on running app on device or emulator.

- add dependency
`implementation "androidx.startup:startup-runtime:1.0.0"`

- include in manifest
```<merge>
<application>
<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
tools:node="remove" />
</application>
</merge>

10. **To enable the sharing features to a different account, add API_KEY/ APP_ID associated with accounts**. Add the Keys in `constant.java` and `strings.xml`. Following are the links to developer pages of account. Go there to create apps and get keys.
* Nextcloud: https://docs.nextcloud.com/server/stable/developer_manual/
* Twitter: https://dev.twitter.com
Expand Down