breastfeeding and nipple shields ?! help

Aryana • Due November 11th , 2016 ♡♡
My baby will only nurse with a nipple shield! I began using one because I learned I have flat nipples and they weren't allowing me to feed my baby properly and she lost 10 ounces ( the nipple shield helped to pull my nipples out and allow my baby to feed)... ever since i started using it, she nursed good ! But the doctor told me they are only for temporary use and to start taking her off of it by letting her nurse with it on for 1-2 min then taking it off and letting her feed from my breast. I tried this and she just won't latch on and it frustrates her so much that I end up just putting it back on.. my question is, is it okay to use The nipple shield for an extended time period? I just recently stated pumping but haven't fed my baby with a bottle yet... I really want to keep breast feeding but I feel like if I can't use the nipple shield then it'll just end up frustrating us both and I'll give up and only feed her thru bottles from pumping.