Picking out a new phone

I am having difficulty finding a phone that will work for me. I need to run xdrip, dexcom g6 app, work with Total wireless, and around 120$ is the Samsung J7 combatiable with both xdrip and dexcom app, or Motorola g7?