Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 07 2015 12:10

    yuchi on master

    Updates (compare)

  • May 07 2015 12:09

    yuchi on development

    Typos and wording (compare)

  • May 07 2015 12:06

    yuchi on master

    Updates (compare)

  • May 07 2015 12:06

    yuchi on development

    Add the long overdue recap (compare)

  • May 07 2015 11:33

    yuchi on master

    Updates (compare)

  • Apr 21 2015 21:55

    TheBrousse on development

    Update 2015-04-09-the-journal.f… (compare)

  • Apr 20 2015 00:12

    yuchi on master

    Updates (compare)

  • Apr 20 2015 00:12

    yuchi on development

    Second sunday recap Add separators for better reada… (compare)

  • Apr 17 2015 15:45

    yuchi on master

    Updates (compare)

  • Apr 17 2015 15:44

    yuchi on development

    Cache busting (compare)

  • Apr 17 2015 15:44

    yuchi on master

    Updates (compare)

  • Apr 17 2015 15:43

    yuchi on development

    Add Discussions badge (compare)

  • Apr 17 2015 15:27

    yuchi on master

    Updates (compare)

  • Apr 17 2015 15:26

    yuchi on development

    Add Google Analytics Add stargazers count (compare)

  • Apr 14 2015 15:24

    yuchi on master

    Updates (compare)

  • Apr 14 2015 12:16
    yuchi commented #3
  • Apr 14 2015 12:14
    Goghvan commented #3
  • Apr 14 2015 12:13
    yuchi commented #3
  • Apr 14 2015 12:12

    yuchi on development

    Update Goghvan’s bio It’s Fran… (compare)

  • Apr 14 2015 12:11
    yuchi closed #3
Michael Limb
@mlimb
i don't think proguard would help, not quite sure though
Andrew McElroy
@Sophrinix
because there is a build.android.proguard step
Michael Limb
@mlimb
proguard would help the multidex
unfortunately i have no experience with cli plugin hooks
Andrew McElroy
@Sophrinix

well, I don’t mean to be too forward with the marketing, but I did create two episodes on codexcasts that talk about doing CLI plugins.
https://codexcasts.com/episodes/ti-cli-plugins-hooks
https://codexcasts.com/episodes/ti-cli-plugins-commands

The source code to those episodes (all episodes) are open source

I plan on talking more about the CLI plugin system more at a later time
Michael Limb
@mlimb
alright, thanks! I'll take a look if we can't figure it out
thank you!
Brian McBride
@Brian-McBride

@Sophrinix Thanks Andrew! We ended up cheating a bit. We compiled our test native app and ripped the generated R classes out of it and put them into our module. It's not ideal, but it worked for all our various dependencies. We did have to put the actual resources into a combine res directory though. Not the end of the world.

I'm wondering with the cli-plugins (which I need to watch your episodes today) is it possible to also try to update some of the google libs? For instance, Ti is currently using an older support-v4 lib missing the recyclerview and some viewpager methods. Updating this lib has had no ill effects on our native Android apps, and if it isn

And id love to try updating that dependency in titanium.
Andrew McElroy
@Sophrinix
you should be able to do any arbitrary transformation via the hook system.
im not sure why those changes wouldn’t be possible. Finding the correct hook, however can be annoying, but it should work
Brian McBride
@Brian-McBride
@Sophrinix Thanks again Andrew. What's the best repo or place to go digging for what hooks exist?
Andrew McElroy
@Sophrinix
I documented all of them with https://github.com/CodexLabs/TiCLIPluginSkeleton
I need to go back through the titanium npm package and see if any new hooks have been added since 3.2.0.GA
I have not documented the windows hooks yet
Brian McBride
@Brian-McBride
Since I'm really just looking to replace the dependency module for the android support lib to a slightly newer version...
Andrew McElroy
@Sophrinix
keep in mind that the actual build command gets packaged with the ti sdk itself
i should have the relevant hooks already documented.
Brian McBride
@Brian-McBride
Somewhere, before running dexter, there has to be some lines that select what android sdk versions are being hit up
Andrew McElroy
@Sophrinix
you can set the sdk version with an android manifest.
Brian McBride
@Brian-McBride

It's not really the sdk. In a Gradle build, it would be these two lines:
compile 'com.android.support:support-v4:22.2.1'
compile 'com.android.support:recyclerview-v7:22.2.1'
And probably bumping this too:
compile 'com.android.support:appcompat-v7:22.2.1'

So far, moving to the later versions hasn't caused any issues with apps already using these. However, I can't even find where Titanium is pulling in these support libs on build. The Dexter output shows that the latest Ti.SDK is using the older (and more buggy) versions of appcompat and support...

Brian McBride
@Brian-McBride
@Sophrinix Do you know if Ti compiles using java 1.6? I've been using 7 on android builds. Dunno if there is a way to switch for module development. Seems you might have an idea
Andrew McElroy
@Sophrinix
IIRC, it use to work with 1.6. I haven’t tried it.
Brian McBride
@Brian-McBride
Any idea on this error:
[ERROR] : Module com.mymodule.name version 1.0.0 is missing bindings json file
Michael Limb
@mlimb
hey, is there an easy way for me to increase the memory allocation step when doing the "Running dexer" step?
@Sophrinix i know you were talking about hooks or the like, and i thought maybe taht's something a hook could do
something like -Xmx2048M instead of -Xmx1024M
the step keeps failing and i want to try giving it a bit more memory
Andrew McElroy
@Sophrinix
that seems reasonable.
what’s the error message you keep getting?
Michael Limb
@mlimb
[ERROR] Failed to rundexer
one sec
oops
[ERROR] Failed to run dexer:
[ERROR]
[ERROR]
and that's only after i cancel it
otherwise it never finishes
like after i Ctrl-C it
@Sophrinix ^
Andrew McElroy
@Sophrinix
but 1024 works?
Michael Limb
@mlimb
nope, that's why i'm trying to bump it
Andrew McElroy
@Sophrinix
does any value aka 512 work?
Michael Limb
@mlimb
@Sophrinix i was able to bring the method count down by half
so it's no longer an issue!
Andrew McElroy
@Sophrinix
how so
Michael Limb
@mlimb
well my module uses google play services
so i found the itemized version and didn't include what i didnt need
Nazır Doğan
@nazrdogan
hi guys ,is there anyone integrating firebase and titanium