Cocos2D-x 3.x Application Name and Version

To get the name and version, I used the following:

CCApplication::sharedApplication()->getApplicationName();
CCApplication::sharedApplication()->getVersion();

I’m getting an error, “No member named getApplicationName().” The same for getVersion().

Is there a way to pull the current app version and name?