The problem seems to be in FMX.TMSCloudCustomFlickr.pas I would
only send Embarcadero that file, files in the "uses" section, or
otherwise needed to support the c++ source code:
TMSFMXCloudFlickr1->App->Key = FlickrAppkey;
TMSFMXCloudFlickr1->App->Secret = FlickrAppSecret;
#if defined(TARGET_OS_MAC) || defined(_Windows)
// windows and mac use a shared documents folder requiring a subfolder
UnicodeString us = IncludeTrailingPathDelimiter(System::Ioutils::TPath::GetDocumentsPath());
#else
// ios and android setup special document folders for each app
UnicodeString us = IncludeTrailingPathDelimiter(System::Ioutils::TPath::GetDocumentsPath());
#endif
us += "flickr.ini";
TMSFMXCloudFlickr1->PersistTokens->Key = us;
TMSFMXCloudFlickr1->PersistTokens->Section = "tokens";
TMSFMXCloudFlickr1->LoadTokens();
int acc = TMSFMXCloudFlickr1->TestTokens();
if (!acc)
{
TMSFMXCloudFlickr1->RefreshAccess();
TMSFMXCloudFlickr1->DoAuth();
}
TMSFMXCloudFlickr1->App->Secret = FlickrAppSecret;
#if defined(TARGET_OS_MAC) || defined(_Windows)
// windows and mac use a shared documents folder requiring a subfolder
UnicodeString us = IncludeTrailingPathDelimiter(System::Ioutils::TPath::GetDocumentsPath());
#else
// ios and android setup special document folders for each app
UnicodeString us = IncludeTrailingPathDelimiter(System::Ioutils::TPath::GetDocumentsPath());
#endif
us += "flickr.ini";
TMSFMXCloudFlickr1->PersistTokens->Key = us;
TMSFMXCloudFlickr1->PersistTokens->Section = "tokens";
TMSFMXCloudFlickr1->LoadTokens();
int acc = TMSFMXCloudFlickr1->TestTokens();
if (!acc)
{
TMSFMXCloudFlickr1->RefreshAccess();
TMSFMXCloudFlickr1->DoAuth();
}
I don't have a complete list yet.