iPhone 7+ charging in wall but not computer
My iPhone 7+ charges in the wall perfectly, but when using the same cord in my MacBook Air it doesn't. When plugged into my computer (again, with the same cord that works just fine in my wall) my phone charges, then uncharges, then charges, then uncharges, and so on. It just continuously shifts between being charged and not. I looked into it and attempted restarting my PRAM/NVRAM. Same problem continues.
iPhone 7 Plus, iOS 10.3.3