Recent searches
No recent searches

Durval Peripato Neto
Joined Jan 24, 2024
·
Last activity Jan 24, 2024
Following
0
Followers
0
Total activity
4
Votes
0
Subscriptions
2
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Durval Peripato Neto
Durval Peripato Neto commented,
Community comment Q&A - Apps and integrations
override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
super.configureFlutterEngine(flutterEngine)
MethodChannel(flutterEngine.dartExecutor.binaryMessenger, "br.com.flowing/channels").setMethodCallHandler {
call, result ->
if (call.method == "openZenDeskSupport") {
openZenDeskSupport()
result.success(null)
} else{
result.notImplemented()
}
}}
private fun initZenDesk() {
Zendesk.INSTANCE.init(this, {URL},
{ID},
{CLIENT_ID})
//if you need to share the user and email you will need to change this line below
val identity: Identity = AnonymousIdentity()
Zendesk.INSTANCE.setIdentity(identity)
Support.INSTANCE.init(Zendesk.INSTANCE)
}
private fun openZenDeskSupport() {
try {
RequestActivity.builder().show(context)
}catch (e: Exception){
Log.e("Erro",e.toString())
}
}
android:name=".{nameApp}.MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
View comment · Posted Jan 24, 2024 · Durval Peripato Neto
0
Followers
1
Vote
0
Comments
Durval Peripato Neto commented,
Community comment Developer - Zendesk SDKs
android:name=".{nameApp}.MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
`
View comment · Posted Jan 24, 2024 · Durval Peripato Neto
0
Followers
0
Votes
0
Comments