문제

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:

Error Crash Android 2.2 http://content.screencast.com/users/junnel1001/folders/Jing/media/27304ddc-7094-4006-b457-f9de09398026/sample.png

I hope someone from trigger.io can help this issue. Thanks.

도움이 되었습니까?

해결책

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!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top