I was using this library and kept noticing that the Android app chooser kept popping up when the shareToInstagramFeed function was being called, rather than directly opening the Instagram Feed page.
Turns out there is a typo in the utils class:
private final String INSTAGRAM_PACKAGE = "com.instagram.android";
private final String INSTAGRAM_FEED_PACKAGE = "com.instagram.share.ADD_TO_FEED";
I was using this library and kept noticing that the Android app chooser kept popping up when the
shareToInstagramFeed
function was being called, rather than directly opening the Instagram Feed page.Turns out there is a typo in the utils class:
private final String INSTAGRAM_PACKAGE = "com.instagram.android";
private final String INSTAGRAM_FEED_PACKAGE = "com.instagram.share.ADD_TO_FEED";
I assume the second function should use
INSTAGRAM_FEED_PACKAGE
and notINSTAGRAM_PACKAGE
.