...
Bloco de código | ||||||
---|---|---|---|---|---|---|
| ||||||
allprojects { repositories { maven { url "https://dl.bintray.com/fluig/maven" } } } |
...
Bloco de código | ||||||
---|---|---|---|---|---|---|
| ||||||
dependencies { implementation 'sdk.fluig.com:<nome_do_modulo>:<versao_do_sdk>' } |
...
Bloco de código | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.myapp.package"> <!-- permissões padrão --> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> ... <application> ... </application> </manifest> |
...
Bloco de código | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "Authentication": { "Protocol": "OAuth1", "ConsumerKey": "<my_consumer_key>", "ConsumerSecret": "<my_consumer_secret>" } } |
...
Bloco de código | ||||||
---|---|---|---|---|---|---|
| ||||||
import sdk.fluig.com.bll.core.base.view.application; public class Application extends FluigSdkApplication { @Override public void onCreate() { super.onCreate(); ... } } |
...
Bloco de código | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.myapp.package"> <application android:name=".application.Application" android:label="@string/app_name" ... > ... </application> </manifest> |
...