当前位置:网站首页>flutter jpush

flutter jpush

2022-06-21 06:56:00 qq2276031

Android:

stay /android/app/build.gradle Add the following code to :

android: {
  ....
  defaultConfig {
    applicationId " Replace with your own application  ID"
    ...
    ndk {
	// Select the corresponding to add  cpu  Type of  .so  library .
	abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'x86_64', 'mips', 'mips64', 'arm64-v8a',        
    }

    manifestPlaceholders = [
        JPUSH_PKGNAME : applicationId,
        JPUSH_APPKEY : "appkey", // NOTE: JPush  The package name registered on corresponds to  Appkey.
        JPUSH_CHANNEL : "developer-default", // Fill in the default value temporarily .
    ]
  }    
}

iOS:

  • stay xcode8 Then you need to click the push option : TARGETS -> Capabilities -> Push Notification Set to on state

 

jpush Apply for a certificate  

Sign in apple development 

1.Certificates, Identifiers & Profiles

2. increase

 3. choice bundleId

4.choose file (CertificateSigningRequest.certSigningRequest  Personal computer qualification (CSR) file )

5. download cer Format , Double heater installation

sLNs3t.png

  export p12 Certificate in format , Enter the password for the certificate

6. Upload the certificate to jpush

原网站

版权声明
本文为[qq2276031]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206210642050147.html