Fenix 5 Plus UserProfile.getUserActivityHistory returns nothing on actual device (works in sim)

For Fenix 5 Plus series I can use UserProfile.getUserActivityHistory() fine in the simulator.  But on a real device it returns no data records. 

What am I doing wrong???

        var historyIter = UserProfile.getUserActivityHistory();
        var sample = historyIter.next();

        while (sample != null) {
            if (sample.type != null) {                
                    ...
            }
            sample = historyIter.next();
        }