Hello and welcome to healthcare forum.
As you mentioned that there is family history of allergy
and asthama both, your niece is suffering form allergic asthama. Take her to chest physician who will do patch test
to detect from which substance your niece is having allergy. Avoidance of that substance will cure her condition.
Best of luck.