branch.io

Branch io: fallback to AppGallery on Huawei devices

 ̄綄美尐妖づ 提交于 2021-02-11 12:50:44
问题 Tell me if branch io supports fallback to AppGallery on Huawei devices without Google Play services? Now on such a device, a browser opens for me, and redirects to Google Play page of my app. Device - Huawei P40 Lite E Android 10. By documentation branch io supports such market: https://help.branch.io/using-branch/docs/creating-a-deep-link#default-link-behavior But there isn't any property to configure such function on branch io dashboard. How can I check fallbacks on Huawei devices? How do I

Use variables in manifest

亡梦爱人 提交于 2020-06-23 08:51:41
问题 Integrating some libraries like Branch-io in Android need to define meta-data in project manifest. some of this variable is like TestMode <meta-data android:name="io.branch.sdk.TestMode" android:value="true" /> So, when we want to publish the application we should change it to False. Is there any way to define a variable somewhere according to BuildType and assign it to the Meta-data to that? 回答1: Yes you can inject build variables from gradle to manifest, it is done by adding variable to the

What stops malicious users from getting my BRANCH_KEY in my javascript source code

自闭症网瘾萝莉.ら 提交于 2020-06-17 09:36:45
问题 I might be missing something here, but since Branch.IO's Web SDK must run in a browser it exposes my BRANCH_KEY to the user. So what is stopping the user from opening up the source, finding the key and then initializing their own branch and abusing my account by sending SMS messages? Normally if I were worried about exposing an api key I would just handle the api request server side - but Branch.IO doesn't seem to have a Node/Server side SDK to use EDIT: This is even worse than a malicious

What stops malicious users from getting my BRANCH_KEY in my javascript source code

别说谁变了你拦得住时间么 提交于 2020-06-17 09:36:03
问题 I might be missing something here, but since Branch.IO's Web SDK must run in a browser it exposes my BRANCH_KEY to the user. So what is stopping the user from opening up the source, finding the key and then initializing their own branch and abusing my account by sending SMS messages? Normally if I were worried about exposing an api key I would just handle the api request server side - but Branch.IO doesn't seem to have a Node/Server side SDK to use EDIT: This is even worse than a malicious

Pass query params to redirect url from Branch

雨燕双飞 提交于 2020-02-23 04:05:31
问题 Consider an URL - example.com/page which is generated from marketing tab in Branch dashboard. Now I use this URL to open my iOS application and also have redirect urls for desktop and Android. I append query params to my deep linked URL as below. example.com/page?currentPage="myPage" In my application, in branch init session I am able to get the parameters which I added manually. Now, how can I achieve the same for redirect URL? If I add query params to Branch link then it should be passed on

How can I get my Android app with use Branch.io Deeplinking AND support minimize/resume the app?

无人久伴 提交于 2020-01-07 03:38:16
问题 I am using Branch.io deeplinking in my Android app, and for the most part, it works well under most scenarios. However, I have a scenario where I register a user (to my service); and in that flow, the user requests an SMS verification code, and thus has to leave the app (minimize) to read it, then re-enter the app (restore) to validate to code. I had this behavior working perfectly before implementing branch.io, and the reason has to do with Branch.io requiring android:launchMode="singleTask"

How do I access metadata when branch link was clicked and opened my app…?

﹥>﹥吖頭↗ 提交于 2020-01-06 16:23:57
问题 This is how I prepare and share branch link to the users: let branch = BranchUniversalObject(canonicalIdentifier: UUID().uuidString) branch.title = self.territory.name branch.metadata = self.territory.dictionary let properties = BranchLinkProperties() properties.controlParams = self.territory.dictionary branch.getShortUrl(with: properties) { string, error in if let string = string, let url = URL(string: string) { let controller = UIActivityViewController.controller(activityItem: url, from:

How do I access metadata when branch link was clicked and opened my app…?

↘锁芯ラ 提交于 2020-01-06 16:23:43
问题 This is how I prepare and share branch link to the users: let branch = BranchUniversalObject(canonicalIdentifier: UUID().uuidString) branch.title = self.territory.name branch.metadata = self.territory.dictionary let properties = BranchLinkProperties() properties.controlParams = self.territory.dictionary branch.getShortUrl(with: properties) { string, error in if let string = string, let url = URL(string: string) { let controller = UIActivityViewController.controller(activityItem: url, from:

Transforming Classes With Jar, Merging For Debug duplicate entry

对着背影说爱祢 提交于 2020-01-04 02:43:09
问题 This is a screenshot from the duplicated classesWhen I started integrating Digits I had to upgrade Crashlytics after upgrading every time I build the app on pre-Marshmallow Devices I got build Error This one Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/crashlytics/android/answers/shim/AnswersKitEventLogger.class After searching for a while I already tried to .

Branch.io parameters missing when appended to an existing link

拈花ヽ惹草 提交于 2020-01-03 14:09:27
问题 I am trying to make it so a user clicks a Branch.io link in the form https://a.test-app.link/identifier?foo=bar and then be redirected to the AppStore to download the app. The app should then be able to grab the foo parameter during launch. To debug this I have followed this procedure: Create the link under the test environment. Tap the link on the device. Install app with Xcode. Launch the app and read the parameters during launch with let branch = Branch.getTestInstance() branch.setDebug()