Question: This only allows to get image but i want users to be able to pick documents too.

```
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent, "Select Picture"),PICK_IMAGE); 

```

Answer: 
I faced the same problem. For me, as I installed a local module using 

```
yarn add ../somemodule --force

```

Seems this command will copy the whole module directory include the node\_modules sub-directory. That causes the duplication of the same version of "vue" module. And in the browser devtool I can see multiple sources of the module.

For me, the solution is manually to delete the node\_modules every time after install the local module.
In my case, this error arose after module federating my components.
I solved it by sharing vue in the component receiver to the component supplier.
e.g

```
webpack.config.js 
module.exports = { 
   plugins: [

    new ModuleFederationPlugin({
      name: "dashboard",
      remotes: {
        web_common: "web_common@http://localhost:8081/remoteEntry.js"
      },
      shared: {
        vue: { // this solved my issue.
          eager: true,
          singleton: true,
          requiredVersion: deps.vue
        },
      }
    }),
   ]

}

```