“On May 28, 1898, days after the return of General Emilio Aguinaldo from exile in Hong Kong, Filipino troops were once again engaged in a battle against Spanish forces in Alapan, Cavite. It was in this skirmish that the Philippine flag was first unfurled as the revolutionary standard. Sewn in Hong Kong by Filipino expatriates and brought to the country by Aguinaldo, the flag was a tri-color featuring red and blue with a white triangle framing three yellow stars and an anthropomorphic eight-rayed sun. Half a month later, on June 12, 1898, following the proclamation of independence from Spain, the same flag was waved at Aguinaldo’s residence in Kawit, Cavite, as the Marcha Nacional Filipina played.”
Source: malacanang.gov.ph/history-of-the-philippine-flag/