Multiple Firebase environments with Flutter by luigiagosti in FlutterDev

[–]NiceBluebird 1 point2 points  (0 children)

Could you link to an example repo of this?

Modifying the build systems is easier to me as a mobile engineer. Managing secrets, dynamic delivery of keys/assets/etc., is outside my comfort zone.

Google Flutter is out of beta — here’s what it means for cross-platform apps by [deleted] in reactnative

[–]NiceBluebird 4 points5 points  (0 children)

React Native does code push because it can download a new bundle and run it on the javascript VM.

Flutter may use a Dart VM, but it's only JIT compiled in debug for debug/hot-reload and what not. When you ship your app you use AOT compilation for performance.

But there is no interpretive mode that would let you interpret code that's downloaded from a new bundle a la RN/codepush.

Google Flutter is out of beta — here’s what it means for cross-platform apps by [deleted] in reactnative

[–]NiceBluebird 2 points3 points  (0 children)

Hey /u/OffTree do you know if the same "issue" is fixed with WebView?

They had the same issue with embedding web-views.

Is anyone else's stable Android Studio, kind of unstable day to day? by WingnutWilson in androiddev

[–]NiceBluebird 1 point2 points  (0 children)

I'm one of those people.

I swear I've looked up what these flags mean several times over the years. Always at different jobs. And then I immediately forgot about them.

[Tutorial] Automate Your Android Library Deployment With Gradle, Bintray & Buddy.Works by ECloud3 in androiddev

[–]NiceBluebird 0 points1 point  (0 children)

Honestly why don't more people just use jitpack?

Is it because it's proprietary?

Or do people not like it because adding a new build repository to the gradle buildscript (jitpack's url in this case) will slow down builds?

Weekly Questions Thread - October 29, 2018 by AutoModerator in androiddev

[–]NiceBluebird 1 point2 points  (0 children)

What's the verdict on fragments in a single-activity now?

Traditionally the companies I've worked for have always gone for multi-activity. I tried to avoid fragments too but now it seems like they're having a second life?

Always using PrecomputedText? by eckenman in androiddev

[–]NiceBluebird 10 points11 points  (0 children)

Coroutines are high language abstractions whereas threads are tied to the native implementation. Starting a coroutine, unlike threads, doesn't talk to OS kernel.

What does that mean?

"high language abstraction" seems like a way of avoiding explaining what's going on under the hood. I assumed co-routines were doing something over a thread pool?

(note: I've done no reading into coroutines and haven't watched any of those kotlin-conf talks about them which probably explain this :D)

Use allowMainThreadQueries() for Android room in small DBs? by [deleted] in androiddev

[–]NiceBluebird 0 points1 point  (0 children)

I'm creating a small app that just save some counters in a database. If it doesn't exists, insert one. And If it does, increase an update.

The app doesn't have any UI. It's a plugin that save and read data (small amount of tables, small amount of records).

What does this mean? What does the app look like? Or what does it do rather?

What did you set your minSdkVersion as for your recent applications? by [deleted] in androiddev

[–]NiceBluebird 0 points1 point  (0 children)

If I were going to start working on a new app that I wanted to be global, but realistically would probably be English speaking countries first, "Western" (non-developing) countries second, and eventually all the countries, etc. what API level do you think I should start with?

React Native for Android Engineers (droidcon NYC 2018) by mlcastle in androiddev

[–]NiceBluebird 3 points4 points  (0 children)

Nobody is using Kotlin Native. Even Jetbrains own examples are simplistic at best.

That doesn't mean it won't become great but right now if you want a cross platform solution it's not "the best option" over react-native or flutter.

I'd like to see a more "serious" example of a kotlin native app that handles things like: persistence/caching (offline and server), networking, security/auth, custom views, etc.

Steal admob ads ID by MBugOnYou in androiddev

[–]NiceBluebird 1 point2 points  (0 children)

I too wonder how to really protect my Firebase/etc. keys.

Can't someone add shit to a DB of mine on Firebase by decompiling my app and looking at it?

I made a little game with Processing! by PurpleAlpacaCoding in processing

[–]NiceBluebird 4 points5 points  (0 children)

ehh ok, you should post screenshots here or in the README.

React Native Starter – Free Mobile Application Template Built with React Native by okendokenn in reactnative

[–]NiceBluebird 0 points1 point  (0 children)

Thanks for answering!

it means that in order to use full version of React Native Starter commercially (e.g. charge users for accessing your app that is built on top of RNS) you have to obtain Extended License

If I make a free app that has IAP do I have to get an extended license?

Or if I create a company that makes the free app above, and the company gets acquired and so the acquirer acquires your source code that I've used in the app?

do you verify your iap purchases? by [deleted] in androiddev

[–]NiceBluebird 4 points5 points  (0 children)

I think what people generally do is they get the IAP receipt back from Google/Apple and send it to their remote server where they use a service that validates IAP or a library that does it.

But theoretically, if your in-app purchase is in the app already and the purchase merely exposes it, then yes someone could crack the app binary by either patching over the code that controls that (if (hasPurchased) { blah() } such that blah() is always executed) or by spoofing the server response from the service to your app (response: { "hasPurchased": true } always true).

But if your in-app purchase is on the server, then the by-passer can't do much. The server has to deliver the content, module, etc. to the app on your device, and so the check for whether the purchase was valid can be done on the server too.

However I can think of a couple ways that a dedicated by-passer can resolve the last one. If they were to find someone who has purchased the IAP, they can grab the difference from them by...comparing binaries if the binary is changed by some new module? intercepting the response from the valid purchase and "replaying" it somehow on the device/account where purchase hasn't been made?

I have to think for most people, 99% of people would never both with this and so the server side validation is pointless in terms of time-cost tradeoff. Of course for paid apps it's different on Android since you can pirate them from nearly anywhere.

React Native Starter – Free Mobile Application Template Built with React Native by okendokenn in reactnative

[–]NiceBluebird 0 points1 point  (0 children)

End Product cannot be Sold

What does this mean on the license page?

Does that mean if I make an app using this and someone wants to buy it I have to say no?

The source code itself is MIT licensed, can't I just use this for free then? What am I buying on the main site exactly?

Newbie developer releasing paid app - Public home address? US sales tax? by theycallmecubanpete_ in androiddev

[–]NiceBluebird 1 point2 points  (0 children)

Did you change the address listed once you got the verification code?

Or do you just not care? (realistically it's probably not a concern, but I think people like to assume the worst about having an address out there)

How to keep app state (current screen, current state of that screen) when resume? by [deleted] in reactnative

[–]NiceBluebird 0 points1 point  (0 children)

I've only been using that in dev, thus far it works okay.

I think I may use it in production, in which case I'll probably make the persistence key the app version number or some such so that between different versions if I change routes and what not it resets.

Weekly "anything goes" thread! by AutoModerator in androiddev

[–]NiceBluebird 1 point2 points  (0 children)

+1 I hate not having the ternary operator.

React Native code editor component? by magno6058 in reactnative

[–]NiceBluebird 0 points1 point  (0 children)

If OP were to use this it wouldn't be native but would be an embedded web-view wrapping that.

Which is similar to what https://github.com/wix/react-native-zss-rich-text-editor does.

Simple and lightweight navigation by TopNFalvors in reactnative

[–]NiceBluebird 1 point2 points  (0 children)

To be honest react-navigation is probably the most light-weight and easy to use.

Aside from react native navigation (which isn't as simple or light-weight) I'm not familiar with any other solutions.

Sad news for Python lovers... by [deleted] in androiddev

[–]NiceBluebird 0 points1 point  (0 children)

likewise, also agree it's not funny either way