Skip to content
Snippets Groups Projects
Commit c3de705b authored by Drahomír Karchňák's avatar Drahomír Karchňák
Browse files

#421 Added Flurry for IOS

parent 186ce8b1
No related merge requests found
......@@ -36,6 +36,7 @@ def updateRoboVMProperties(String buildType, String applicationId, String iconNa
// Extracts native libs (*.a) from the native-ios.jar and places them
// under build/libs/ios/.
// also copies all '*.a' libraries from libs/ to build/libs/ios
task copyNatives << {
file("build/libs/ios/").mkdirs();
configurations.natives.files.each { jar ->
......@@ -49,6 +50,12 @@ task copyNatives << {
}
}
}
copy {
from 'libs/'
into 'build/libs/ios'
include '*.a'
}
}
// Updates a robovm.xml file.
......
......@@ -34,7 +34,7 @@
<pattern>java.util.logging.SimpleFormatter</pattern>
<pattern>SQLite.**</pattern>
</forceLinkClasses>
<libs/>
<libs></libs>
<frameworks>
<framework>UIKit</framework>
<framework>OpenGLES</framework>
......
......@@ -63,9 +63,12 @@ public class IOSLauncher extends IOSApplication.Delegate {
if(TablexiaSettings.getInstance().getBuildType().isAnalytics()) {
Flurry.start(TablexiaBuildConfig.FLURRY_KEY);
Flurry.setAppVersion(TablexiaBuildConfig.VERSION_NAME);
Flurry.setBackgroundSessionEnabled(true);
if(TablexiaSettings.getInstance().getBuildType().isBugReport()) Flurry.setCrashReportingEnabled(true);
//Flurry.setShowErrorInLogEnabled(true);
//Flurry.setDebugLogEnabled(true);
if(TablexiaSettings.getInstance().getBuildType().isBugReport())
Flurry.setCrashReportingEnabled(true);
}
boolean result = super.didFinishLaunching(application, launchOptions);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment