Skip to content

Instantly share code, notes, and snippets.

View AppWerft's full-sized avatar

Rainer Schleevoigt AppWerft

View GitHub Profile
package de.appwerft.disto;
import org.appcelerator.kroll.KrollDict;
import org.appcelerator.kroll.KrollFunction;
import org.appcelerator.kroll.KrollProxy;
import org.appcelerator.kroll.annotations.Kroll;
import android.os.AsyncTask;
@Kroll.proxy(creatableInModule = TidistoModule.class, propertyAccessors = {
package firebase.auth;
import java.util.ArrayList;
import java.util.concurrent.TimeUnit;
import org.appcelerator.kroll.KrollDict;
import org.appcelerator.kroll.KrollFunction;
import org.appcelerator.kroll.annotations.Kroll;
import org.appcelerator.kroll.common.Log;
import org.appcelerator.titanium.TiApplication;
package firebase.auth;
import java.util.ArrayList;
import java.util.concurrent.TimeUnit;
import org.appcelerator.kroll.KrollDict;
import org.appcelerator.kroll.KrollFunction;
import org.appcelerator.kroll.annotations.Kroll;
import org.appcelerator.kroll.common.Log;
import org.appcelerator.titanium.TiApplication;
[DEBUG] : OpenGLRenderer: Swap behavior 2
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.LeicaSdk.init - Leica Sdk Version: 1.0.0.2
[DEBUG] : TiDisto: (main) [644,644] commands.json
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.BaseConnectionManager.setState - connection state: disconnected
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.BaseConnectionManager.setState - listener is null
[DEBUG] : D/SDK - Verbose : : ch.leica.sdk.connection.ble.BleCharacteristic.<init> - Service: 3ab10100-f831-4395-b29d-570977d5bf94 Characteristic: 00002a1c-0000-1000-8000-00805f9b34fb
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleConnectionManager.setBroadcastReceivers - receivers set
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleConnectionManager.setLatchesTimeAccordingToVersion - DISTO Version: 21Phone Version: 27M Version: 23
[DEBUG] : D/SDK - Verbose : : ch.leica.sdk.connection.ble.BleConnectionManager.setBroadcastReceivers - bondStatChangedReceivers already existing
[DEBUG] : D/SDK
[DEBUG] : OpenGLRenderer: Swap behavior 2
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.LeicaSdk.init - Leica Sdk Version: 1.0.0.2
[DEBUG] : TiDisto: (main) [644,644] commands.json
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.BaseConnectionManager.setState - connection state: disconnected
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.BaseConnectionManager.setState - listener is null
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.BaseConnectionManager.setState - connection state: disconnected
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.BaseConnectionManager.setState - listener is null
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.BaseConnectionManager.setState - connection state: disconnected
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.BaseConnectionManager.setState - listener is null
[DEBUG] : D/SDK - Verbose : : ch.leica.sdk.connection.ble.BleCharacteristic.<init> - Service: 3ab10100-f831-4395-b29d-570977d5bf94 Characteristic: 3ab1010d-f831-4395-b29d-570977d5bf94
module.exports = function(_win, _onOK, _onDenied) {
function setGPSprecision() {
Ti.Geolocation.preferredProvider = Ti.Geolocation.PROVIDER_GPS;
Ti.Geolocation.accuracy = Ti.Geolocation.ACCURACY_BEST;
Ti.Geolocation.distanceFilter = 10;
_onOK();
}
// https://github.com/appcelerator-developer-relations/appc-sample-ti510/blob/master/app/controllers/permissions.js#L188
[INFO] : TiFirebaseCore: (main) [0,53] configure parameter was empty, use google-services.json
[DEBUG] : TiFirebaseCore: (main) [0,53] filenameOfJSON is google-services.json, try to open and parse:
[DEBUG] : TiFirebaseCore: (main) [0,53] JSON Path: file:///android_asset/Resources/google-services.json
[DEBUG] : TiFirebaseCore: (main) [1,54] json contains 3 clients. Looking for our client with name de.appwerft.firebauseauth
[DEBUG] : TiFirebaseCore: (main) [0,54] packagename=de.appwerft.firebauseauth
[DEBUG] : TiFirebaseCore: (main) [0,54] packagename=de.appwerft.hafenradler
[DEBUG] : TiFirebaseCore: (main) [0,54] packagename=de.christianfranke.hvvelevators
[WARN] : DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
[WARN] : DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
[ERROR] : FirebaseInstanceId: Failed to resolve target intent service, skipping classname enforcement
10-16 22:44:41.703 22898 22925 W DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
10-16 22:44:41.705 22898 22898 E FirebaseInstanceId: Failed to resolve target intent service, skipping classname enforcement
10-16 22:44:41.706 1330 3473 W ActivityManager: Unable to start service Intent { act=com.google.firebase.INSTANCE_ID_EVENT pkg=de.appwerft.firebauseauth } U=0: not found
10-16 22:44:41.706 22898 22925 W zygote64: Unsupported class loader
10-16 22:44:41.706 22898 22898 D FirebaseInstanceId: Missing wake lock permission, service start may be delayed
10-16 22:44:41.706 22898 22898 E FirebaseInstanceId: Error while delivering the message: ServiceIntent not found.
10-16 22:44:41.706 22898 22898 D FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
10-16 22:44:41.706 22898 22898 D FirebaseApp: com.google.android.gms.measurement.AppMeasurement is not linked. Skipping initialization.
10-16 22:44:41.707 22898 22925 W zygote64: Skipping
/**
* Titanium Firebase Auth
* Appcelerator Titanium Mobile
* Copyright (c) 2018-present by Hans Knöchel. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
*/
package firebase.auth;
### require('ti.vrview')
[DEBUG] : [object TiVrviewModule] loaded
### VRView.createView(…)
[DEBUG] : create Proxy createView args: (
[DEBUG] : {
[DEBUG] : height = 100;
[DEBUG] : offset = 0;
[DEBUG] : rotationtype = 1;
[DEBUG] : width = 100;