I already purchase both the PS4 version and the PC version (so I can play on both systems)

My question is with the release of Heavensward do i need to buy the expansion for just PC and it will work on PS4 or do I need to buy both?