mobile-application

Creating an API for mobile applications - Authentication and Authorization

坚强是说给别人听的谎言 提交于 2019-11-27 09:55:37
Overview I'm looking to create a (REST) API for my application. The initial/primary purpose will be for consumption by mobile apps (iPhone, Android, Symbian, etc). I've been looking into different mechanisms for authentication and authorization for web-based APIs (by studying other implementations). I've got my head wrapped around most of the fundamental concepts but am still looking for guidance in a few areas. The last thing I want to do is reinvent the wheel, but I'm not finding any standard solutions that fits my criteria (however my criteria my be misguided so feel free to critique that

Cause: buildOutput.apkData must not be null

我是研究僧i 提交于 2019-11-27 00:15:37
问题 My android application using Kotlin is throwing this exception when I try to Run 'app' in the emulator o in my cellphone. When I build my project it runs well, with no errors. I am using: SDK 28 (Android 9.0 (Pie)) Gradle 5.1.1 Gradle Plugin 3.5.0-alpha03 Kotlin 1.3.10 Java 1.8.0_151 OSX 10.13.2 org.gradle.internal.exceptions.LocationAwareException: buildOutput.apkData must not be null at org.gradle.initialization.exception.DefaultExceptionAnalyser.transform(DefaultExceptionAnalyser.java:99)

How can I generate an apk that can run without server with react-native?

可紊 提交于 2019-11-26 21:14:06
I've built my app, I can run it on my local simulator (and also on my android device within the same network by changing debug server). However, I want to build an apk that I can send to someone without access to development server and I want them to be able to test application. I see there is a section Using offline bundle on iOS section of the documentation. But I couldn't figure out how to accomplish same for android. Is this possible? If so, how? UPDATE: On the answer to this question ( react native android failed to load JS bundle ) it is said that offline bundle can be downloaded from

how to build an APK and separate libraries that the app loads dynamically

喜欢而已 提交于 2019-11-26 15:35:30
问题 The short summary is: How do I build an APK and separate libraries (by which I mean sets of classes (and ideally, resources too) in some form, such as JAR, AAR or DEX files), but not include those libraries in the APK; instead, the app loads them at run time? Detail So my main question is how to build such an app (e.g. Gradle configuration). How do I specify which classes go into which JAR or DEX files? Do I create an Android Studio module for each DEX file I want to end up with? A closely

Creating an API for mobile applications - Authentication and Authorization

两盒软妹~` 提交于 2019-11-26 14:57:22
问题 Overview I'm looking to create a (REST) API for my application. The initial/primary purpose will be for consumption by mobile apps (iPhone, Android, Symbian, etc). I've been looking into different mechanisms for authentication and authorization for web-based APIs (by studying other implementations). I've got my head wrapped around most of the fundamental concepts but am still looking for guidance in a few areas. The last thing I want to do is reinvent the wheel, but I'm not finding any

How can I generate an apk that can run without server with react-native?

情到浓时终转凉″ 提交于 2019-11-26 08:57:32
问题 I\'ve built my app, I can run it on my local simulator (and also on my android device within the same network by changing debug server). However, I want to build an apk that I can send to someone without access to development server and I want them to be able to test application. I see there is a section Using offline bundle on iOS section of the documentation. But I couldn\'t figure out how to accomplish same for android. Is this possible? If so, how? UPDATE: On the answer to this question