The flag emblem on the soldiers uniform is not that of Ecuador, is from Bolivia.
During the shooting on Front Street it started with daylight and the scene ended at night time.
Esmeraldas in Ecuador is located by the seaside and not in the jungle hills as shown in the movie.