private static bool EditManifest(AndroidManifest androidManifest)
    {
        var changed = false;

        changed |= androidManifest.AddActivity("com.kuan.sharekit16.GalleryActivity",
                                               attributes: new Dictionary <string, string>());
        changed |= androidManifest.AddUsesPermission("android.permission.WRITE_EXTERNAL_STORAGE");

        var providerName = "androidx.core.content.FileProvider";

        changed |= androidManifest.AddProvider(providerName, attributes: new Dictionary <string, string>
        {
            { "authorities", Application.identifier + ".fileprovider" },
            { "exported", "false" },
            { "grantUriPermissions", "true" },
        });
        changed |= androidManifest.AddMetaData("provider", providerName, "android.support.FILE_PROVIDER_PATHS",
                                               attributes: new Dictionary <string, string>
        {
            { "resource", "@xml/filepaths" },
        });

        return(changed);
    }