Answer:
She wants to gain the trust of the soldiers.
Step-by-step explanation:
In order to get the trust of the soldiers and eventually be able to steal the plans for the bridge, Granny starts selling food to the army without getting paid for her time and by giving her work she is able to earn the gain the trusts of the soldiers.