Git Product home page Git Product logo

Comments (11)

kopiro avatar kopiro commented on May 25, 2024

Hi!

Could you try this latest fix-build (1.1.1):

ti.goosh-android-1.1.1.zip

from ti.goosh.

jonasfunk avatar jonasfunk commented on May 25, 2024

Thanks for reaching out @kopiro! I've just tried 1.1.1 but it doesn't seem to fix it. Still getting the same error. Are you not experiencing this issue?

from ti.goosh.

mbilwar avatar mbilwar commented on May 25, 2024

I am facing the same issue from last 2 days on local push notification. Did anyone found the solution for this issue?

Activity: App is closed. When Clicked on Local Notification it will open the app but unfortunately it will crash the app by showing above error message and when i click on kill it will load app again without any error message.

from ti.goosh.

kopiro avatar kopiro commented on May 25, 2024

Could you try to wrap your callback in a setTimeout?

TiGoosh.registerForPushNotifications({
   callback: function() {
      setTimeout(function() {
         // Alloy...
      }, 0);
   }
});

from ti.goosh.

progress44 avatar progress44 commented on May 25, 2024

Could you try this build?

ti.goosh-android-1.1.3.zip

from ti.goosh.

jonasfunk avatar jonasfunk commented on May 25, 2024

Thank you @kopiro and @progress44. Have tested your suggestions with the timeout and 1.1.3 build. None of the solutions seems to work. But I think that it is some kind of a random timing issue, as approx. 1 out of 10 times the app does not show the error, and starts up as it should.

from ti.goosh.

progress44 avatar progress44 commented on May 25, 2024

@jonasfunk does it give you the same error with the new build?

from ti.goosh.

jonasfunk avatar jonasfunk commented on May 25, 2024

Yes it does. Still Alloy that is undefined.

from ti.goosh.

jknightsbm avatar jknightsbm commented on May 25, 2024

We are having this problem as well. Same symptoms.
Using v1.5.0, commit 2411339.

from ti.goosh.

boudellaredouane avatar boudellaredouane commented on May 25, 2024

On a side note, i do have a probleme with Alloy note being defined when coming from a push notification, this problem happens on any lib commonjs that i'm using.

The work around was to force require alloy on every lib js :
var Alloy = require("alloy");
// from now on, Alloy is defined correctly.

from ti.goosh.

kopiro avatar kopiro commented on May 25, 2024

Ok, so could be an Alloy/Ti problem?

from ti.goosh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.