My apologies - this was caused by a fix that went in while ago getting lost in a merge into v1.4.37: I've pushed v1.4.40 which addresses that!
trigger.io: tabs.openWithOptions causes application to crash in Android
-
02-04-2022 - |
Question
we are using tabs in calling some authentication for our mobile Application. It seems working before but now, after the toolkit updated, it is now causing to crash our application.
You can see my code if it is the problem:
$(".share_now").live('click' , function(){
authorize_twitter();
})
function authorize_twitter(){
var url_encode="http://server.com/twitteroauth/login.php";
forge.tabs.openWithOptions({
tint:[217, 0, 0, 87],
url: url_encode,
pattern: "http://server.com/twitteroauth/complete/*",
title: 'Login with Twitter'
},
function (data) {
forge.logging.log(data);
});
}
This is the error of the crash:
I hope someone from trigger.io can help this issue. Thanks.
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow