@ionic-native/photo-library: Getting video reference from the library on Android

I’m saving a video with the help of @ionic-native/file and @ionic-native/photo-library into a album inside the library of the device. It works pretty fine. Now I get the latest one by using getLibrary() by using @ionic-native/photo-library and passing the id to shareAsset(assetLocalIdentifier) @ionic-native/instagram. It works perfectly on iOS.

On Android I didn’t get the video back. Did I miss something? What can I do on Android to passing the video to Instagram?

My call works on iOS fine but on Android I get just an image not the video:

let observable = this.photoLibrary.getLibrary({itemsInChunk: 5, includeAlbumData: true}).take(10);

I’m not so familiar with Android. I have three albums inside the library. I see that getAlbums() by photoLibrary only response the default Download album but there are two additional albums. I guess there is a connection between missing videos and missing albums inside responses.

Android OS version: 6.0.1
@ionic-native/photo-library: 3.12.1

global packages:

    @ionic/cli-utils : 1.3.0
    Cordova CLI      : 7.0.1 
    Ionic CLI        : 3.3.0

local packages:

    @ionic/app-scripts              : 1.3.7
    @ionic/cli-plugin-cordova       : 1.3.0
    @ionic/cli-plugin-ionic-angular : 1.3.0
    Cordova Platforms               : android 6.2.3 ios 4.4.0
    Ionic Framework                 : ionic-angular 3.3.0


    Node       : v7.10.0
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.3 Build version 8E3004b 
    ios-deploy : 1.9.1 
    ios-sim    : 5.0.13

Thank you for help into this one

BTW: I changed the category of my post from ionic-native to ionic because I got zero response.

Hi, have you find any solutions for the problem? I’m dealing with the same. Thanks