This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get | |
auto request = FHttpModule::Get().CreateRequest(); | |
request->SetURL(FString("http://localhost:3000/api")); | |
request->ProcessRequest(); | |
request->OnProcessRequestComplete().BindLambda([](FHttpRequestPtr request, FHttpResponsePtr response, bool success) { | |
try { | |
if (success) { | |
// Deserialize the JSON | |
TSharedPtr<FJsonObject> JsonObject = MakeShareable(new FJsonObject); | |
TSharedRef<TJsonReader<>> Reader = TJsonReaderFactory<>::Create(response->GetContentAsString()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This fix would need you to modify Unreal Engine source code | |
// Go into your Unreal Engine source code | |
// Navigate to this path UESourcePath\Engine\Build\Android\Java\gradle\app | |
// Then find dependencies | |
// Fix Android 12 Crash Permanently - YeXiuPH | |
implementation 'androidx.work:work-runtime-ktx:2.7.0' | |
// After that you can test building now with 31 and higher as your target. |