Now that states are free to craft laws legalizing sports gambling, the latest question is whether to enter the potential $9 billion mobile-betting market.

Americans legally gambling on this weekend’s World Cup final and other athletic competitions primarily are doing so in person at a limited number of casinos. Increasingly, though, gamblers in other countries are placing wagers from their smartphones.