The problem is here:
if(info.activityInfo.packageName.contains("pocket")) {
intent.putExtra(Intent.EXTRA_TEXT, link);
}
You are checking to see if the package name for your current activity contains the word "pocket". If it doesn't, your intent will not contain EXTRA_TEXT which the Pocket app needs.
Why not always provide EXTRA_TEXT?
If you truly only want to populate EXTRA_TEXT if the Pocket app is installed, you could do something like:
PackageManager pm = getPackageManager();
try {
pm.getPackageInfo("com.ideashower.readitlater.pro", PackageManager.GET_ACTIVITIES);
intent.putExtra(Intent.EXTRA_TEXT, link);
} catch (PackageManager.NameNotFoundException e) {
// Pocket app not installed
}