Skip to content

Android X support#364

Closed
mathiasscheffe wants to merge 4 commits into
katzer:masterfrom
mathiasscheffe:master
Closed

Android X support#364
mathiasscheffe wants to merge 4 commits into
katzer:masterfrom
mathiasscheffe:master

Conversation

@mathiasscheffe

Copy link
Copy Markdown

Moved to android X support libraries in order to enable use of this plugin under cordova-android@10.0.0

sanketngoenka and others added 4 commits September 30, 2021 17:14
Use AndroidX library for FileProvider
With Android11, queryintentactivities api doesn't return a list of email client unless the intent is set in AndroidManifest. This is because of Android 11 package visibility feature. reference - https://devblogs.microsoft.com/xamarin/android-11-package-visibility/
Add action:sento intent to plugin.xml
@jfoclpf

jfoclpf commented Nov 21, 2021

Copy link
Copy Markdown
Collaborator

Hi @mathiasscheffe it seems in this PR you propose 2 changes, but the change you propose for plugins.xml was already merged with PR #368

Does the change in src/android/Provider.java is still valid?

import androidx.core.content.FileProvider

If so, could you redo the PR to ignore the first part?

Thanks

Comment thread plugin.xml
</provider>
</config-file>

<config-file target="AndroidManifest.xml" parent="/*">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was already done with PR #368 , so you should ignore

Comment thread src/android/Provider.java
package de.appplant.cordova.emailcomposer;

import android.support.v4.content.FileProvider;
import androidx.core.content.FileProvider;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to what I read, this is still valid
https://stackoverflow.com/questions/48534293/android-support-v4-content-fileprovider-not-found
But I would like to be sure. Do you confirm?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is indeed already a duplicate of PR #362

@jfoclpf

jfoclpf commented Nov 22, 2021

Copy link
Copy Markdown
Collaborator

duplicate of #362 and #368

@jfoclpf jfoclpf closed this Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants