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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <libsecret/secret.h> | |
#define SERVICE_NAME "eu.rekisoft.flutter.autologin.example" | |
#define AUTOLOGIN_SCHEMA getAutologinSchema() | |
const SecretSchema* getAutologinSchema (void){ | |
static const SecretSchema autologinSchema = { |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <libsecret/secret.h> | |
#define SERVICE_NAME "your.service.name" | |
#define MY_SCHEMA getMySchema() | |
const SecretSchema* getMySchema (void){ | |
static const SecretSchema mySchema = { |
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
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatefulWidget { | |
const MyApp({super.key}); | |
@override |
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
\{\s+super\.[^)]+\);\s+} |
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
static int findEnd(String string, int start) { | |
int index = string.indexOf(">", start); | |
if (index == -1) { | |
return string.length -1; | |
} else { | |
return index; | |
} | |
} | |
static List<TextSpan> parseHtml(String html) { |
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
/** | |
* @copyright | |
* This code is licensed under the Rekisoft Public License. | |
* See http://www.rekisoft.eu/licenses/rkspl.html for more informations. | |
*/ | |
package eu.rekisoft.android.util; | |
import java.net.IDN; | |
import java.util.Arrays; |
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
{ | |
"originalRequest": { | |
"data": { | |
"isInSandbox": true, | |
"surface": { | |
"capabilities": [ // Wear OS (former Android Wear) | |
{ | |
"name": "actions.capability.SCREEN_OUTPUT" | |
} | |
], |
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
package com.google.firebase.analytics; | |
import android.content.Context; | |
import android.os.Bundle; | |
import android.util.Log; | |
/** | |
* Created by René Kilczan on 12.02.17. | |
*/ | |
public class FirebaseAnalytics { |
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
public class MeasureCallbackLayout extends FrameLayout { | |
private final List<MeasureCallback> listeners = new ArrayList<>(); | |
private int width = -1; | |
private int height = -1; | |
public MeasureCallbackLayout(Context context) { | |
super(context); | |
} | |
public MeasureCallbackLayout(Context context, AttributeSet attrs) { |
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
/** | |
* @copyright | |
* This code is licensed under the Rekisoft Public License. | |
* See http://www.rekisoft.eu/licenses/rkspl.html for more informations. | |
*/ | |
/** | |
* @package eu.rekisoft.android.util | |
* This package contains utils provided by [rekisoft.eu](http://rekisoft.eu/). | |
*/ | |
package eu.rekisoft.android.util; |
NewerOlder