Enabling flash on Motorola g6

How to I get the Particle IoT app to support flashing tinker on the Motorola g6?