This demo is for folks who want to use Helpshift plugin in a unreal engine project which is written in C++. This contains the core Messaging module for the Helpshift plugin which is created in the Helpshift runtime environment/ Project Runtime.
-
Clone the project
-
Open Unreal Engine (> version 4)
-
Download Helpshift Demo Plugin
-
Update this in the Plugins folder
-
Please add the google-services.json to the project (if you're using notifications)
-
Compile the project
-
Run it on a Mobile(IOS/Android) Device
-
Open new project in unreal engine
-
Select C++ in project setting
-
Download Helpshift plugin
-
Add Helpshift to your unreal project
Unzip the Helpshift Unreal SDK package. Copy the plugin (helpshift-sdk-ue4) directory into [YOUR_PROJECT]/Plugins directory After that, once you reopen your project, the plugin should appear in the Plugins section
-
Create any component( example character, pawn etc) in the Helpshift runtime environment/ Project Runtime.
-
Add the config Tmap
TMap<FString, FHelpshiftConfigParameter> Parameters;
-
Initialise the Helpshift library
UHelpshiftLibrary::Init(Parameters);
-
Now you can use any functions from the Helpshift library in Helpshift runtime. for example:
UHelpshiftLibrary::ShowFrequentlyAskedQuestions(Parameters);