However, just like the base Diablo 4 game itself, you will not be able to play the new content which hasn’t unlocked yet (the new class, new zones, new dungeons etc) on a different platform until you purchase the expansion for that platform. You need the digital software license, per platform, per account. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.