Once you’ve collected 100 points by scanning 10 QR codes, you’ll be able to activate the Island Scan.
Not only will you be able to see where that Pokemon spawns in Alola, but you’ll also get 10 points, which build toward the Island Scan. With the QR Scanner, you can scan QR codes of any Pokemon in the game to add them to your Pokedex. A few hours into Sun and Moon, you’ll gain access to a QR Scanner in your Rotom Dex.