Coder Social home page Coder Social logo

Comments (30)

dhei avatar dhei commented on May 12, 2024

Hey @Msspl-PrashenjeetRoy,

Have you tried the latest version (v0.9.0) of mobile center react native SDK? Is there any specific issue you saw with [email protected]?

Thanks.

from appcenter-sdk-react-native.

guperrot avatar guperrot commented on May 12, 2024

Closing as no response from customer and there is no specific version of Mobile Center to use for any react native version.

Using the latest version of our SDK is always recommended.

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

My dependencies are these:
"dependencies": {
"mobile-center": "^0.9.0",
"mobile-center-analytics": "^0.9.0",
"mobile-center-crashes": "^0.9.0",
"react": "16.0.0-alpha.6",
"react-native": "^0.44.0",
"react-native-animatable": "^1.2.3",
"react-native-app-link": "^0.4.0",
"react-native-carousel": "^0.10.0",
"react-native-check-app-install": "0.0.3",
"react-native-communications": "^2.2.1",
"react-native-device-info": "^0.10.2",
"react-native-drawer": "^2.3.0",
"react-native-elements": "^0.15.0",
"react-native-google-places-autocomplete": "^1.2.12",
"react-native-image-picker": "^0.26.3",
"react-native-lock": "^0.6.0",
"react-native-looped-carousel": "^0.1.7",
"react-native-maps": "^0.15.3",
"react-native-vector-icons": "^4.2.0",
"react-native-video": "^1.0.0",
"react-native-video-player": "^0.8.1",
"react-navigation": "^1.0.0-beta.12"
},

getting error while pod install
pod install
Analyzing dependencies
[!] Unable to satisfy the following requirements:

  • MobileCenter required by Podfile
  • MobileCenter (~> 0.3.0) required by RNMobileCenter (0.1.0)

Specs satisfying the MobileCenter, MobileCenter (~> 0.3.0) dependency were found, but they required a higher minimum deployment target.

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

Also getting this error while pod install
/usr/local/bin/curl -f -L -o /var/folders/ry/_wdm2w4n0510lfgsz9v14qjw0000gp/T/d20170912-19154-17eirap/file.zip https://github.com/microsoft/mobile-center-sdk-ios/releases/download/0.12.1/MobileCenter-SDK-Apple-0.12.1.zip --create-dirs --netrc-optional

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (60) SSL certificate problem: Untrusted root certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

Now getting
screen shot 2017-09-12 at 7 20 30 pm

Please tell me what will be the header search path? I have this one:
screen shot 2017-09-12 at 7 19 49 pm

from appcenter-sdk-react-native.

dhei avatar dhei commented on May 12, 2024

@Msspl-PrashenjeetRoy, have you tried react-native link mobile center packages? Looks like you're trying to install mobile center dependencies from pod install instead of react-native link. Unfortunately pod install of mobile center packages is not supported at this moment (same issue as #94). So could you follow our documentation (https://docs.microsoft.com/en-us/mobile-center/sdk/getting-started/react-native#3-add-the-mobile-center-sdk-modules) to properly link mobile center packages. Basically you have two options, either using react-native link or linking manually. Let me know if you have any more questions or difficulties on linking iOS.

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

from appcenter-sdk-react-native.

guperrot avatar guperrot commented on May 12, 2024

We replied same day to the original issue then we closed after 5 days without response.
If you need further assistance we will reopen.

from appcenter-sdk-react-native.

dhei avatar dhei commented on May 12, 2024

Hey @Msspl-PrashenjeetRoy, sorry for the inconvenience. I appreciate your feedback and we will keep making our product better, and improving documentation as well. Thanks.

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

screen shot 2017-09-13 at 1 16 48 pm

I am getting this error when building from mobile center.

from appcenter-sdk-react-native.

dhei avatar dhei commented on May 12, 2024

@Msspl-PrashenjeetRoy, could you tell me more about this issue and how to repro this? What's the version of node/npm/react-native? Which mobile center npm packages did you use? Any issue with react-native link? Thanks.

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

This was due to not finding the header files whi h actually located in pod/header/public/. Here all the folder including with mobile center and crash header files... I dont know where to copy those files to this location. Have anywhere mentioned in the doc?

from appcenter-sdk-react-native.

dhei avatar dhei commented on May 12, 2024

@Msspl-PrashenjeetRoy Did you run react-native link before building mobile center in Xcode?Could you tell me more about how did you get this error and the repro steps. I need more info to understand your problem.

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

Yes i have run the link command and it works.
But what will be the step first should i set header and framework path and then run the react native link?

from appcenter-sdk-react-native.

dhei avatar dhei commented on May 12, 2024

I don't think you need to do anything like that. Running react-native link should done everything for you, so you should be able to build and run your iOS /ios/<your-app-name>.xcworkspace in Xcode without any issue. Note that it's recommended to use /ios/<your-app-name>.xcworkspace instead of /ios/<your-app-name>.xcodeproj in this case.

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

Yes i have already installed and working with mobile center... I am now upgraded to new rn 0.44 thats why upgrading the whole app. But this time getting all these errors... May be linking is not done... However i fixed it with copy pasting files fro. Demoapp header public folder .. it fixes the issue on mobile center online build...

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

screen shot 2017-09-14 at 11 01 30 am

I am facing android mobile center issue today. It's showing this error.
my project info:

distributionUrl=https://services.gradle.org/distributions/gradle-3.3-all.zip

dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
}

android studio version:
2.3.3

"mobile-center": "^0.9.0",
"mobile-center-analytics": "^0.9.0",
"mobile-center-crashes": "^0.9.0",

I have updated all buildtoolversion to 25.0.0 still it's not updating. it's showing the same issue.

from appcenter-sdk-react-native.

dhei avatar dhei commented on May 12, 2024

@Msspl-PrashenjeetRoy, this looks like Mobile Center Build related. Could you create a ticket on Intercom (from blue button on the portal) so that we can have the Mobile Center Build team to help you on this. Thanks

from appcenter-sdk-react-native.

dhei avatar dhei commented on May 12, 2024

@Msspl-PrashenjeetRoy, I looked into this issue and identified this is an issue with mobile center RN SDK itself. Basically mobile-center, mobile-center-analytics and mobile-center-crashes are using buildToolsVersion '23.0.1' which is lower than 25.0.0. I think there are two workarounds that you can try:
(1) Try to upgrade buildToolsVersion '23.0.1' to buildToolsVersion '25.0.0' in the build.gradle files at /node_modules/mobile-center-analytics/android/build.gradle. This is a temporary solution that doesn't persist as it's inside node_module.
(2) A better workaround here is to override buildToolsVersion in your root build.gradle.

We will fix this issue in our next release. Thanks for reporting this issue to us.

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

Setup successfully with mobile center build after @dhei Your suggestions, the second solution. But now getting error in codepush android setup. I have set it up with ios and it's working but when building android react-native run-android its giving error.

I am using :
"react-native": "^0.44.0",
"react-native-code-push": "^5.0.0-beta",

I am seing that there are compatible table. https://github.com/Microsoft/react-native-code-push#supported-react-native-platforms. Is that the reason? Because of the compatibility this following issue coming???

`5 errors
:react-native-code-push:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-code-push:compileReleaseJavaWithJavac'.

Compilation failed; see the compiler error output for details.`

from appcenter-sdk-react-native.

dhei avatar dhei commented on May 12, 2024

Hey @Msspl-PrashenjeetRoy, looks like you're experiencing the same issue as microsoft/react-native-code-push#955. In this case, you can try this solution. You might want to consider upgrade react-native from 0.44 to 0.47.

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

from appcenter-sdk-react-native.

guperrot avatar guperrot commented on May 12, 2024

Hi, we don't yet document what react-native link does to your project because it was assumed to do everything automatically. In your case it seems like it failed and you had to manually edit your project and that's the first time we have to help someone do that.

We will probably update our docs for manual linking in the future but we really want to improve the script to work around corner cases and keep doing everything automatically.

From this thread it is still unclear what caused the original linking issue and we would like to investigate that in order to fix the script rather than providing a very complex manual documentation to follow.

Any chance you can share sources in the state before Mobile Center integration?

from appcenter-sdk-react-native.

joemellin avatar joemellin commented on May 12, 2024

@Msspl-PrashenjeetRoy Hey, we want to make sure you get your issue resolved and would love some help to figure out how our support system broke down. Can you send me an email at [email protected] ?

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

@joemellin I will make a descriptive info what I actually faced and how I was trying to solve. I will mail you soon with it. Thanks.

from appcenter-sdk-react-native.

Msspl-PrashenjeetRoy avatar Msspl-PrashenjeetRoy commented on May 12, 2024

@joemellin I have mailed you.

from appcenter-sdk-react-native.

guperrot avatar guperrot commented on May 12, 2024

Looks like the support ticket is tracked outside of github now and no update in 7 days here. Closing until new comments.

from appcenter-sdk-react-native.

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.